-
Notifications
You must be signed in to change notification settings - Fork 178
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
Core library should not depend on symfony/console #134
Comments
The version requirement is ^2.7.0 which means that any version >= 2.7.0 and <= 3.0.0 should work. Sorry there are no plans to support symfony/console >= 3.0.0 at the moment. Version 3.0.0 and higher change the compatibility requirement with the current code base (basically the amp-console command line utility). Note: The rest of the library does not care about symfony/console at all. Drupal is also not on symfony 3.0.0 (and higher) last I checked. (Many people use this library from Drupal -- see https://www.drupal.org/project/amp). It probably could be possible to remove the requirement for symfony/composer all together if you're simply using the library portion only. Then the console can use any symfony version and not affect anything else. |
I tried to use the library with Laravel 5.2 but I'm stuck too as it use symfony/console 3.0.9 Any tips on how I can use it anyway? (it will save me a lot of time) Thanks |
Yeah, same issue here with Laravel 5.3. |
Ok I'll see how much work this change might entail. |
Thanks sidkshatriya!! |
Thanks sidkshatriya |
I think I've solved it. The solution was almost trivial (and obvious) in retrospect (see PR above). Before I merge to master / create a 1.0.x tag could any of you try it out? In your project you can either do a: or change the verson constraint for One this is confirmed to be OK I'll merge to master. (Subsequently you'll go back to version constraint The change is on git branch Also checkout https://packagist.org/packages/lullabot/amp#dev-no-console-dep |
@sidkshatriya |
Thanks @FuzzyTree for testing this out. Merged to master, created tag 1.0.7
|
No description provided.
The text was updated successfully, but these errors were encountered: