Question and answer is powered by AnsPress.io
I want upload some file to storage folder in laravel.But how can access the storage path in laravel?
Laravel has a Storage class to access the storage path.
If you want to put a file to storage path then use
Storage::put();
Now if you want to access the file then use the get method.
Storage::get();
If you want to access storage folder then use Storage class for that.
To put a file use
Storage::put();
To get a file use
Storage::get();