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 10 support? #310

Open
Brandutchmen opened this issue May 1, 2023 · 3 comments
Open

Laravel 10 support? #310

Brandutchmen opened this issue May 1, 2023 · 3 comments

Comments

@Brandutchmen
Copy link

- litstack/litstack[v1.0, ..., v1.7.4, v2.0, ..., v2.1.0] require php ^7.2 -> your php version (8.2.3) does not satisfy that requirement.

Is there an update timeline for this project?

@raviroshanmehta
Copy link

Same issue. Can't use with PHP 8

Problem 1
- litstack/litstack[v3.7.16, ..., v3.7.26] require cviebrock/eloquent-sluggable ^7.0|^8.0|^9.0 -> satisfiable by cviebrock/eloquent-sluggable[7.0.0, 7.0.1, 7.0.2, 8.0.0, ..., 8.0.8, 9.0.0].
- litstack/litstack[v3.7.0, ..., v3.7.15] require spatie/laravel-permission ^2.0|^3.0 -> satisfiable by spatie/laravel-permission[2.0.0, ..., 2.38.0, 3.0, ..., 3.18.0].
- cviebrock/eloquent-sluggable[7.0.0, ..., 7.0.1] require php ^7.2.5 -> your php version (8.1.19) does not satisfy that requirement.
- spatie/laravel-permission[3.10.1, ..., 3.17.0] require php ^7.2.5 -> your php version (8.1.19) does not satisfy that requirement.
- cviebrock/eloquent-sluggable 7.0.2 requires illuminate/config ^7.0 -> found illuminate/config[v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- cviebrock/eloquent-sluggable[8.0.0, ..., 8.0.1] require php ^7.3 -> your php version (8.1.19) does not satisfy that requirement.
- cviebrock/eloquent-sluggable[8.0.2, ..., 8.0.8] require illuminate/config ^8.0 -> found illuminate/config[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- cviebrock/eloquent-sluggable 9.0.0 requires illuminate/config ^9.0 -> found illuminate/config[v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.0.0, ..., 2.4.2] require illuminate/auth ~5.4.0 -> found illuminate/auth[v5.4.0, ..., v5.4.36] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.5.0, ..., 2.6.0] require illuminate/auth ~5.4.0|~5.5.0 -> found illuminate/auth[v5.4.0, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.7.0, ..., 2.8.2] require illuminate/auth ~5.3.0|~5.4.0|~5.5.0 -> found illuminate/auth[v5.3.0, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.9.0, ..., 2.16.0] require illuminate/auth ~5.3.0|~5.4.0|~5.5.0|~5.6.0 -> found illuminate/auth[v5.3.0, ..., v5.6.39] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.17.1, ..., 2.20.0] require laravel/framework ~5.4.0|~5.5.0|~5.6.0|~5.7.0 -> found laravel/framework[v5.4.0, ..., v5.7.29] but it conflicts with your root composer.json require (^10.8).
- spatie/laravel-permission[2.17.0, ..., 2.32.0] require illuminate/auth ~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0 -> found illuminate/auth[v5.3.0, ..., v5.7.28] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[2.33.0, ..., 2.38.0] require illuminate/auth ~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0 -> found illuminate/auth[v5.3.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- spatie/laravel-permission[3.0, ..., 3.10.0] require php ^7.2 -> your php version (8.1.19) does not satisfy that requirement.
- spatie/laravel-permission 3.18.0 requires illuminate/auth ^5.8|^6.0|^7.0|^8.0 -> found illuminate/auth[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires litstack/litstack ^3.7 -> satisfiable by litstack/litstack[v3.7.0, ..., v3.7.26].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require litstack/litstack:*" to figure out if any version is installable, or "composer require litstack/litstack:^2.1" if you know which you need.

@ljanecek
Copy link

ljanecek commented May 16, 2023

I think, there's no problem with php 8 but with Laravel 10. I use php:8.1-fpm in docker without any problem. I also just tried updating to php:8.2-fpm and no problem. Just downgrade to Laravel 9.

PHP 8.2.6 (cli) (built: May 11 2023 20:08:55) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.6, Copyright (c) Zend Technologies with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies

@Brandutchmen Brandutchmen changed the title PHP 8 support? Laravel 10 support? May 16, 2023
@Brandutchmen
Copy link
Author

@ljanecek Good catch on Laravel 10 being the issue.

Downgrading at this time seems shortsighted. Would much rather work on adding Laravel 10 support.

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

3 participants