Category: Laravel, PHP

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.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners