Laravel-Media-Manager
Laravel-Media-Manager copied to clipboard
Laravel v9 support
I am working on upgrading to Laravel 9 and using PHP 8.1 and am hitting
composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- ctf0/media-manager[v3.7.0, ..., v3.7.4] require php ~7.0 -> your php version (8.1.1) does not satisfy that requirement.
- jhofm/flysystem-iterator[v2.2.0, ..., v2.2.1] require php ^7.0 -> your php version (8.1.1) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.1) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.1) does not satisfy that requirement.
- Conclusion: don't install ctf0/media-manager v3.8.5 (conflict analysis result)
- Conclusion: don't install ctf0/media-manager v3.8.6 (conflict analysis result)
- Conclusion: don't install ctf0/media-manager v3.8.7 (conflict analysis result)
- ctf0/media-manager[v3.7.5, ..., v3.8.1] require jhofm/flysystem-iterator ^2.2 -> satisfiable by jhofm/flysystem-iterator[v2.2.0, v2.2.1].
- Root composer.json requires imagewize/ssl-manager dev-master -> satisfiable by imagewize/ssl-manager[dev-master].
- Conclusion: don't install laravel/framework v9.0.2 (conflict analysis result)
- Root composer.json requires ctf0/media-manager ^3.7 -> satisfiable by ctf0/media-manager[v3.7.0, ..., v3.8.7].
- ctf0/media-manager v3.8.2 requires illuminate/support >=7.0 <9.0 -> satisfiable by illuminate/support[v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.0].
- Only one of these can be installed: illuminate/support[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.0, v9.0.0, v9.0.1, v9.0.2], laravel/framework[v9.0.0, v9.0.1, v9.0.2]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- imagewize/ssl-manager dev-master requires laravel/framework ^5.4 || ^6.0 || ^7.0 || ^8.0 || ^9.0 -> satisfiable by laravel/framework[v9.0.0, v9.0.1, v9.0.2].
- Conclusion: don't install laravel/framework v9.0.1 (conflict analysis result)```
using version `3.8` of the Laravel Media Manager. Wonder if we can get this package into PHP 8. It does work as far as I have been testing locally, on staging and production so I think we could.
can u plz make a PR?
Opened a fork https://github.com/smart48/Laravel-Media-Manager-1 and updated some. Seems your changelog package https://github.com/ctf0/PackageChangeLog needs change also
Problem 1
- ctf0/package-changelog[v1.0.0, ..., v1.0.1] require illuminate/support ~5.5 -> found illuminate/support[v5.5.0, ..., v5.8.36] but it conflicts with your root composer.json require (^9.0).
- ctf0/package-changelog[v1.0.2, ..., v1.0.8] require illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., v5.8.36] but it conflicts with your root composer.json require (^9.0).
- ctf0/package-changelog[v1.0.9, ..., v1.1.2] require php ~7.0 -> your php version (8.1.1) does not satisfy that requirement.
- ctf0/package-changelog[v2.0.0, ..., v2.0.4] require illuminate/support >=7.0 <9.0 -> found illuminate/support[v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.0] but it conflicts with your root composer.json require (^9.0).
- Root composer.json requires ctf0/package-changelog * -> satisfiable by ctf0/package-changelog[v1.0.0, ..., v1.1.2, v2.0.0, ..., v2.0.4].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Did add https://github.com/smart48/PackageChangeLog as well, but we do need to double check PHP 8.0-8.1 and Illuminate/Support some for both still. Not sure what the best way to do that is yet.
@ctf0 did you see https://github.com/ivenms/laravel-media-manager . ivenms seems to have added updates to support Laravel 9. Only cannot really merge that code as he already made his own package and changed namespacing.
sadly no, also not sure why he chose to create a new pkg 😕
Are you planning further support for this package and support for laravel 9 ?
Are you planning further support for this package and support for laravel 9 ?
Any updates on this?
@swiderskimarcin @alexchirolde atm accepting PRs only
@swiderskimarcin @alexchirolde atm accepting PRs only
Done