Bogardo / Mailgun

Mailgun package for Laravel
MIT License
295 stars 115 forks source link

Update Carbon in Composer to match Laravel 5.8 #152

Closed chrisrollins65 closed 5 years ago

chrisrollins65 commented 5 years ago

This package is incompatible with new installs of Laravel 5.8 because the version of Carbon it uses is too old. This updated sets the Carbon version to the same that Laravel 5.8 uses and should allow for backwards compatibility with previous versions of Laravel 5.

vesper8 commented 5 years ago

@Bogardo could you please merge this and perhaps tag a new version for Laravel 5.8? Much appreciated!

connecteev commented 5 years ago

@chrisrollins65 thanks for this.

@Bogardo @vesper8 +1 -- possible to get this merged to get Laravel 5.8 working?

Fab-Miami commented 5 years ago

$ composer require bogardo/mailgun
Using version ^5.0 for bogardo/mailgun
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install bogardo/mailgun v5.0.4
    - Conclusion: don't install bogardo/mailgun v5.0.3
    - Conclusion: don't install bogardo/mailgun v5.0.2
    - Conclusion: don't install bogardo/mailgun v5.0.1
    - Conclusion: remove nesbot/carbon 2.19.0
    - Installation request for bogardo/mailgun ^5.0 -> satisfiable by bogardo/mailgun[v5.0.0, v5.0.1, v5.0.2, v5.0.3, v5.0.4].
    - Conclusion: don't install nesbot/carbon 2.19.0
    - bogardo/mailgun v5.0.0 requires nesbot/carbon ^1.21 -> satisfiable by nesbot/carbon[1.21.0, 1.22.0, 1.22.1, 1.23.0, 1.24.0, 1.24.1, 1.24.2, 1.25.0, 1.25.1, 1.25.3, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 1.26.5, 1.26.6, 1.27.0, 1.28.0, 1.29.0, 1.29.1, 1.29.2, 1.30.0, 1.31.0, 1.31.1, 1.32.0, 1.33.0, 1.34.0, 1.34.1, 1.34.2, 1.34.3, 1.34.4, 1.35.0, 1.35.1, 1.36.0, 1.36.1, 1.36.2, 1.37.0, 1.37.1,
1.38.0, 1.38.1, 1.38.2, 1.38.3, 1.38.4].
    - Can only install one of: nesbot/carbon[1.26.3, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.4, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.5, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.6, 2.19.0].
    - Can only install one of: nesbot/carbon[1.27.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.28.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.29.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.29.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.29.2, 2.19.0].
    - Can only install one of: nesbot/carbon[1.30.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.31.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.31.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.32.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.33.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.34.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.34.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.34.2, 2.19.0].
    - Can only install one of: nesbot/carbon[1.34.3, 2.19.0].
    - Can only install one of: nesbot/carbon[1.34.4, 2.19.0].
    - Can only install one of: nesbot/carbon[1.35.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.35.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.36.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.36.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.36.2, 2.19.0].
    - Can only install one of: nesbot/carbon[1.37.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.37.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.38.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.38.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.38.2, 2.19.0].
    - Can only install one of: nesbot/carbon[1.38.3, 2.19.0].
    - Can only install one of: nesbot/carbon[1.38.4, 2.19.0].
    - Can only install one of: nesbot/carbon[1.21.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.22.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.22.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.23.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.24.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.24.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.24.2, 2.19.0].
    - Can only install one of: nesbot/carbon[1.25.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.25.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.25.3, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.0, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.1, 2.19.0].
    - Can only install one of: nesbot/carbon[1.26.2, 2.19.0].
    - Installation request for nesbot/carbon (locked at 2.19.0) -> satisfiable by nesbot/carbon[2.19.0].

Installation failed, reverting ./composer.json to its original content.

Install doesn't work on Laravel 5.8