Nope , all available functionalities are listed at : http://lumen.laravel.com/docs
Lumen Storage
Hey guys, Storage is available on Lumen?
@johnf if you mean the filesystem then yes it does.
Oh Great! So, in Laravel we have the config folder, instead in Lumen all configuration are in ENV file.
How I have to conf the .env file? For example, atm I just comment out the FILESYSTEM_DRIVER=local
Is it correct?
Addendum: my code is
Log::info( 'before get storage' );
// Get disk
$disk = Storage::disk( 'local' );
Log::info( 'after get storage' );
I found only the first log on lumen.log...
I could swear that the Lumen documentation used to have instructions for setting up local and cloud file storage, sometime after 5.1 released it just disappeared. I set up S3 on my 5.0 app and I know I did not do it without reading docs. What's the deal?
@opheliadesign: ok but the deal is that doesn't work for me the FILESYSTEM_DRIVER=local and on the currently Lumen documentation I cannot found any Storage information. Do I miss something?
@johnf first, if you want to use facades then enable it in bootstrap/app.php.
I believe the keys for Lumen for the configu are exactly the same for Laravel. Check Lumen's src/config directory to see all config files.
I found this comment extremely useful :) thanks
I'm just wondering what happened to the documentation. Was storage in Lumen deprecated or something? Maybe just overlooked?
@kfirba Yep, my facade is comment out $app->withFacades(); and in src/config I have:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
exactly as my other Laravel app... but something goes wrong... :(
@johnf Okay, I just took a look at that and it seems like Lumen doesn't require the flysystem package so we have to manually pull it:
composer require "league/flysystem: ~1.0"
Done.
@kfirba Wow!! Awesome!! Seems works now!! Thank you so much!! :+1:
This is helpful documentation about using Storage with Lumen: http://lumen.golaravel.com/docs/filesystem/
Just stumble upon this one... Good instructions here.
https://nicksilvestro.net/2016/05/28/adding-laravels-storage-facade-into-lumen/
For me, this solution works with Lumen 5.4:
=> How To Integrate Flysystem With Lumen Framework
http://www.sibenye.com/2017/02/16/how-to-integrate-flysystem-with-lumen-framework/
Discussion topics that have part of the series to get data among the podcast to take data with the replies to make. I need to take data more on this so I read ukwritings.com review share by the other member of the blog or they have more information among the ports.
Please or to participate in this conversation.