-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working example #6
Comments
I've posted a example config in #5, any specific questions you might have? In a nutshell this plugin is a config wrapper around flysystem |
already had the things working but i was having bad time in the begin. But i like to leave my example, how i let the things working...to help other users maybe you can put this in the initial page in config/app.php CONTROLLER $client = S3Client::factory(Configure::read("AmazonKey")); $filesystem->put("text.txt","example"); |
Good idea, I'll add some more examples to the readme and create an examples directory with several examples |
I just don't get what this plug in does. The example from tnmendex makes no use of the plugin that I can see. In the readme usage I see:
But what is I tested in Shell (using every namespace I could think of) but was not surprised when it said filesystem function did not exist (even though the plugin is loaded) ... BTW it is no problem using the Flysystem stuff directly ... what does the plugin bring to the table? |
@thumbtech you need to use the FileSystemsTrait before you can use $this->filesystem! ;-) Psst: https://github.com/WyriHaximus/FlyPie/blob/master/src/FilesystemsTrait.php If you re-read this part https://github.com/WyriHaximus/FlyPie#usage I'm sure you'll get it! 🎉 Otherwise I'll happily help! |
@thumbtech the plugin mainly brings some syntactic sugar, configuration structure, and ease of use to the mix . |
Thank you @Spriz & @WyriHaximus . I did get it working, although it required a hack & I submitted an issue. I would contribute to docs & fix, but I'm really not sure it is worth maintaining as the interface to FlyPie is very simple without the plug-in ... ? |
Exist any public working example of this plugin?
I am trying to understand how to put this working with amazon S3
thank you
The text was updated successfully, but these errors were encountered: