laravel-menus
laravel-menus copied to clipboard
Laravel 9 installation issue
composer require nwidart/laravel-menus -W Using version ^7.0 for nwidart/laravel-menus ./composer.json has been updated Running composer update nwidart/laravel-menus --with-all-dependencies Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires nwidart/laravel-menus ^7.0 -> satisfiable by nwidart/laravel-menus[7.0]. - nwidart/laravel-menus 7.0 requires laravelcollective/html 6.2.* -> found laravelcollective/html[v6.2.0, v6.2.1] but it conflicts with your root composer.json require (^6.3).
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
It can be solved changing the lines
"require": { "php": ">=7.3", "illuminate/support": "^8.0", "illuminate/config": "^8.0", "illuminate/view": "^8.0", "laravelcollective/html": "6.2.*" },
to
"require": { "php": ">=7.3", "illuminate/support": ">=8.0", "illuminate/config": ">=8.0", "illuminate/view": ">=8.0", "laravelcollective/html": ">=6" },
No problems on my needs, but futher tests should be passed
Small changes this composer.json file.
"require": { "php": ">=7.3", "illuminate/support": ">=8.0", "illuminate/config": ">=8.0", "illuminate/view": ">=8.0", "laravelcollective/html": ">=6" },
"require": {
"php": ">=7.3",
"illuminate/support": ">=8.0",
"illuminate/config": ">=8.0",
"illuminate/view": ">=8.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.19",
"laravel/sanctum": "^3.0",
"laravel/tinker": "^2.7",
"laravelcollective/html": ">=6"
},
Used but can`t this solved
Problem 1 - Root composer.json requires nwidart/laravel-menus ^7.0 -> satisfiable by nwidart/laravel-menus[7.0]. - nwidart/laravel-menus 7.0 requires illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require nwidart/laravel-menus:*" to figure out if any version is installable, or "composer require nwidart/laravel-menus:^2.1" if you know which you need.
Também não consegui instalar no laravel 9, alguém sabe quando vai estar disponivel ?