nWidart / laravel-menus

Laravel Menu Management
MIT License
167 stars 105 forks source link

Laravel 9 installation issue #59

Open edumicro opened 2 years ago

edumicro commented 2 years ago

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

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

hirenpatel1903 commented 2 years ago

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" },

asadcse100 commented 1 year ago
"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

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.

xxallanxx commented 1 year ago

Também não consegui instalar no laravel 9, alguém sabe quando vai estar disponivel ?