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

Laravel 7 support #58

Closed
decadence opened this issue Mar 6, 2020 · 6 comments
Closed

Laravel 7 support #58

decadence opened this issue Mar 6, 2020 · 6 comments

Comments

@decadence
Copy link

decadence commented Mar 6, 2020

When you try to install Parser on Laravel 7 Composer output is:

Problem 1
    - Conclusion: don't install laravel/framework v7.0.4
    - Conclusion: don't install laravel/framework v7.0.3
    - Conclusion: don't install laravel/framework v7.0.2
    - Conclusion: don't install laravel/framework v7.0.1
    - Conclusion: don't install laravel/framework v7.0.0
    - Conclusion: remove nathanmac/parser v4.3
    - Conclusion: don't install nathanmac/parser v4.3|don't install symfony/routing v5.0.5|keep symfony/yaml v3.4.38
    - Conclusion: don't install nathanmac/parser v4.3|don't install symfony/routing v5.0.4|keep symfony/yaml v3.4.38
    - Conclusion: don't install nathanmac/parser v4.3|don't install symfony/routing v5.0.3|keep symfony/yaml v3.4.38
    - Conclusion: don't install nathanmac/parser v4.3|don't install symfony/routing v5.0.2|keep symfony/yaml v3.4.38
    - Conclusion: don't install nathanmac/parser v4.3|don't install symfony/routing v5.0.1|keep symfony/yaml v3.4.38
    - Conclusion: remove symfony/yaml v3.4.38
    - Conclusion: don't install symfony/routing v5.0.0
    - Conclusion: don't install symfony/yaml v3.4.38
    - Conclusion: don't install symfony/routing v5.0.0-RC1
    - Conclusion: don't install symfony/yaml v3.4.37
    - Conclusion: don't install symfony/routing v5.0.0-BETA2
    - Conclusion: don't install symfony/yaml v3.4.36
    - Conclusion: don't install symfony/routing v5.0.0-BETA1
    - Conclusion: don't install symfony/yaml v3.4.35
    - Installation request for nathanmac/parser ^4.3 -> satisfiable by nathanmac/parser[v4.3].
    - Installation request for laravel/framework ^7.0 -> satisfiable by laravel/framework[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4].
    - nathanmac/parser v4.3 requires symfony/yaml ~2.0|~3.0 -> satisfiable by symfony/yaml[v3.4.38, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.x-dev, 2.1.x-dev, 2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v2.7.40, v2.7.41, v2.7.42, v2.7.43, v2.7.44, v2.7.45, v2.7.46, v2.7.47, v2.7.48, v2.7.49, v2.7.5, v2.7.50, v2.7.51, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.40, v2.8.41, v2.8.42, v2.8.43, v2.8.44, v2.8.45, v2.8.46, v2.8.47, v2.8.48, v2.8.49, v2.8.5, v2.8.50, v2.8.52, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.0-BETA1, v3.2.0-RC1, v3.2.0-RC2, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.0-BETA1, v3.3.0-RC1, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.0-BETA1, v3.4.0-BETA2, v3.4.0-BETA3, v3.4.0-BETA4, v3.4.0-RC1, v3.4.0-RC2, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9].
    - symfony/yaml 2.0.4 conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.0.5 conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.0.6 conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.0.7 conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.0.x-dev conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.1.x-dev conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.2.x-dev conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.3.x-dev conflicts with symfony/routing[5.0.x-dev].
    - symfony/yaml 2.4.x-dev conflicts with symfony/routing[5.0.x-dev].

Because Laravel 7 uses Symfony packages version 5.

@pedzed
Copy link

pedzed commented Mar 9, 2020

Did you find a solution?

I'm considering getting rid of this dependency.

@danhunsaker
Copy link
Contributor

See #59

@decadence
Copy link
Author

@pedzed no. Seems like this package is unmaintained so I am considering this too.

@danhunsaker thanks but it can takes too much time until that PR gets merged.

@paulm17
Copy link

paulm17 commented Mar 18, 2020

@decadence It literally took me 30 seconds to:

  • Git clone dan's yaml5 branch.
  • Change the namespace to my own
  • Upload to packagist
  • Update composer and update

I had to do this with 4 other 3PL for an assortment of issues.

Now I have successfully upgraded to Laravel 7. Sometimes you just have to do the work yourself.

@decadence
Copy link
Author

decadence commented Mar 18, 2020

@paulm17 glad for you. But this is the kludge and not the permanent solution. If this package is not maintained it's easier to choose another than uploading fork just for changed composer.json every time Laravel updates.

@approached
Copy link

@danhunsaker #59 why you not accept?

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

5 participants