Category : local-storage

Hi everyone I have this problem where I am not able to display the images that I have in the storage folder. I already connected the storage folder to the public one with the symlink (php artisan storage:link) but every time I try to visualize it I get this error from the console: "Failed to ..

Read more

I currently working on a MIS using nextjs for frontend ,Laravel for backend and laravel passport for authentication. I have problem implementing remember me and login with api. I want a to write a code that if a user does’nt check remember me while logging in the info of the user is deleted when browser ..

Read more

in laravel we can use storage Facade in order to save and read files, but in lumen 7.0 there is no filesystem config available at start. what I did so far: composer require league/flysystem in composer.json file, I added the following in autoload section: “files”: [ “app/helpers.php” ], then in app directory, I’ve created helpers.php ..

Read more

I want to get a copy of the logs file using programmability, I just tried to copy the files using this command $co= Storage::copy(‘logs/laravel-‘.$start.’.log’,$filename); dd($co); but I have an error which says the file does not exist, I believe that is because storage looking in the default driver of the config file, how can I ..

Read more