Skip to content
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

Is there a detailed tutorial or demo project? #262

Closed
tacman opened this issue Jan 27, 2022 · 1 comment
Closed

Is there a detailed tutorial or demo project? #262

tacman opened this issue Jan 27, 2022 · 1 comment
Labels

Comments

@tacman
Copy link
Contributor

tacman commented Jan 27, 2022

Symfonycasts has a detailed tutorial on uploading files, something I feel like I've been fighting with for a while. There's even a whole section on Flysystem:

https://symfonycasts.com/screencast/symfony-uploads/flysystem

Alas, that tutorial is for Symfony 4, and uses an outdated version of this bundle and of course Flysystem 1. Is there a demo project (even the one from that tutorial) or another tutorial that describes how to integrate this bundle with Symfony 6 and PHP 8 (that is, version 4 or main of this bundle)?

I tried to update my code that was based on that tutorial, but am fighting with the configuration. It looks like the cache adapter is no longer used, the "League\Flysystem\FilesystemInterface" namespace is now "League\Flysystem\FilesystemOperator", that kind of stuff.

My needs are really basic -- a service to upload a files (via web or CLI) locally (for dev) or to aws_s3 (or some other already-supported adapter), configure liip_imagine to render thumbnails, or provide a link to download the files, possibly securely (that is, an authenticated user).

Taking Ryan's Space Asteroids project and updating it would help a lot of us with pretty basic needs. Or really any demo project would work. If there is one, it'd be great to provide a link to it in the README.

Thanks!

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@stale stale bot closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant