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

Unable to install with composer on Lumen 5.5 #17

Open
retnek opened this issue Jan 9, 2018 · 4 comments
Open

Unable to install with composer on Lumen 5.5 #17

retnek opened this issue Jan 9, 2018 · 4 comments

Comments

@retnek
Copy link
Contributor

retnek commented Jan 9, 2018

When I call composer require websight/l5-google-cloud-storage I got the following output:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for websight/l5-google-cloud-storage ^1.1 -> satisfiable by websight/l5-google-cloud-storage[v1.1.0].
- Conclusion: remove illuminate/contracts v5.5.28
- Conclusion: don't install illuminate/contracts v5.5.28
...

It is not compatible with Lumen 5.5.2?

@cedricziel
Copy link
Member

Master is compatible. Yet this package switched to another flysystem driver and the implementation was not completed yet.

This very much means: Yes it's compatible, but may need some work and your constraint should be dev-master instead of ^1.1.

If you feel you want to use a stable version, I'd also happily review your pull requests :)

@retnek
Copy link
Contributor Author

retnek commented Jan 10, 2018

Yes, You're right! If You use Lumen You need more complex tasks to work with this package, such as define filesystem singleton and Storage class alias in bootstrap/app.php. I'm trying to put it together.

@cedricziel
Copy link
Member

This package is very simple - if you want to, you can also initialize the flysystem adapter manually

@retnek
Copy link
Contributor Author

retnek commented Jan 10, 2018

Lumen does not include the filesystem (among other typical Laravel services) out of the box. So it must be initialize manually before use this package (as described here). But now it seems to work fine with the dev-master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants