In Laravel, you can configure your disk storage in which you can configure all of your disk where each disk represents a particular storage/disk location. By default, the public disk uses the local driver and stores these files in storage/app/public.
The folder where you want to upload. In the store method below, the first parameter we are passing is the folder name and second parameter we are passing the disk storage we want to use. We are using disk type ‘public’ because we want to make it publicly accessible.If you will leave the second parameter blank the defaultdisk storage will be taken.