usernotnull / tall-toasts

A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS šŸ”„šŸš€
MIT License
552 stars 32 forks source link

Laravel11 support #515

Closed esurov closed 5 months ago

esurov commented 6 months ago

Description

I was going to upgrade my app to laravel11, but couldn't do it because tall-toasts doesn't have laravel11 support

To Reproduce

Steps to reproduce the behavior:

  1. Switch laravel/framework to ^11 in the composer.json
  2. Run composer update
  3. See error:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires usernotnull/tall-toasts ^2.0 -> satisfiable by usernotnull/tall-toasts[v2.0.0, v2.0.1].
    - Conclusion: don't install laravel/framework v11.0.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.4 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.5 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.6 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.7 (conflict analysis result)
    - Conclusion: don't install laravel/framework v11.0.0 (conflict analysis result)
    - usernotnull/tall-toasts[v2.0.0, ..., v2.0.1] require illuminate/contracts ^8.15 || 9.0 - 9.34 || ^9.36 || ^10.0 -> satisfiable by illuminate/contracts[v8.15.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev].
    - Only one of these can be installed: illuminate/contracts[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.28.0, ..., 9.x-dev, v10.0.0, ..., 10.x-dev, v11.0.0, ..., 11.x-dev], laravel/framework[v11.0.0, ..., 11.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it.
    - Root composer.json requires laravel/framework ^11.0 -> satisfiable by laravel/framework[v11.0.0, ..., 11.x-dev].
MGeurts commented 6 months ago

Same problem here in a fresh Laravel 11 application.

usernotnull commented 6 months ago

Will merge the related automated PR once I get it tested by any contributors.

usernotnull commented 6 months ago

Added support for L11 ;) Kindly check and let me know if everything running ok to close this.

marchershey commented 5 months ago

Added support for L11 ;) Kindly check and let me know if everything running ok to close this.

@usernotnull I haven't found any issues yet. All calls work. I believe it's safe to close this.