vanilo/admin 3.0 requires laravel ^9.0, but it conflicts with root composer require ^11 #182
-
Hello, I'm doing a fresh install of Vanilo 4.0. Problem 1 This doesnt make any sense - how does the main framework of vanilo require laravel 10 or 11 at least, but the admin module needs 9 and cant work with 11 or 10 ? {
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": ["laravel", "framework"],
"license": "MIT",
"require": {
"php": "^8.2",
"doctrine/dbal": "^3.5.1",
"inertiajs/inertia-laravel": "^1.0",
"laravel/framework": "^11.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"tightenco/ziggy": "^2.0",
"vanilo/framework": "4.0"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/breeze": "^2.1",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.0",
"phpunit/phpunit": "^10.5",
"spatie/laravel-ignition": "^2.4"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --ansi"
]
},
"extra": {
"branch-alias": {
"dev-master": "11.x-dev"
},
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The documentation had a typo; it still told you to install Admin v3. It has been fixed. composer require vanilo/admin ^4.0 |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for the info, i tried with 4.0 and im getting a new error from composer. This is from a new fresh install i just did right now Problem 1 |
Beta Was this translation helpful? Give feedback.
The documentation had a typo; it still told you to install Admin v3. It has been fixed.
For Vanilo Framework 4, you need Admin v4, so this is the correct command to install Vanilo Admin: