Closed arborrow closed 2 years ago
Should be good to go now:
┌─(~/Code)
└─(130)─ composer create-project --prefer-dist laravel/laravel laravel-9 dev-master
Creating a "laravel/laravel" project at "./laravel-9"
Installing laravel/laravel (dev-master aed682e0deeac10ba6465a398ef4cb4856a6d35e)
- Downloading laravel/laravel (dev-master aed682e)
- Installing laravel/laravel (dev-master aed682e): Extracting archive
Created project in /home/halo/Code/laravel-9
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies
Lock file operations: 109 installs, 0 updates, 0 removals
- Locking asm89/stack-cors (v2.1.1)
- Locking brick/math (0.9.3)
- Locking dflydev/dot-access-data (v3.0.1)
- Locking doctrine/inflector (2.0.4)
- Locking doctrine/instantiator (1.4.0)
- Locking doctrine/lexer (1.2.2)
- Locking dragonmantank/cron-expression (v3.3.1)
- Locking egulias/email-validator (3.1.2)
- Locking facade/ignition-contracts (1.0.2)
- Locking fakerphp/faker (v1.18.0)
- Locking filp/whoops (2.14.5)
- Locking fruitcake/laravel-cors (v2.0.5)
- Locking graham-campbell/result-type (v1.0.4)
- Locking guzzlehttp/guzzle (7.4.1)
- Locking guzzlehttp/promises (1.5.1)
- Locking guzzlehttp/psr7 (2.1.0)
- Locking hamcrest/hamcrest-php (v2.0.1)
- Locking laravel/framework (v9.0.0-beta.4)
- Locking laravel/sail (v1.13.1)
- Locking laravel/sanctum (v2.14.0)
- Locking laravel/serializable-closure (v1.0.5)
- Locking laravel/tinker (v2.7.0)
- Locking league/commonmark (2.2.1)
- Locking league/config (v1.1.1)
- Locking league/flysystem (3.0.1)
- Locking league/mime-type-detection (1.9.0)
- Locking mockery/mockery (1.5.0)
- Locking monolog/monolog (2.3.5)
- Locking myclabs/deep-copy (1.10.2)
- Locking nesbot/carbon (2.56.0)
- Locking nette/schema (v1.2.2)
- Locking nette/utils (v3.2.7)
- Locking nikic/php-parser (v4.13.2)
- Locking nunomaduro/collision (v6.1.0)
- Locking phar-io/manifest (2.0.3)
- Locking phar-io/version (3.1.0)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.3.0)
- Locking phpdocumentor/type-resolver (1.6.0)
- Locking phpoption/phpoption (1.8.1)
- Locking phpspec/prophecy (v1.15.0)
- Locking phpunit/php-code-coverage (9.2.10)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.5.13)
- Locking psr/container (2.0.2)
- Locking psr/event-dispatcher (1.0.0)
- Locking psr/http-client (1.0.1)
- Locking psr/http-factory (1.0.1)
- Locking psr/http-message (1.0.1)
- Locking psr/log (3.0.0)
- Locking psr/simple-cache (3.0.0)
- Locking psy/psysh (v0.11.1)
- Locking ralouphie/getallheaders (3.0.3)
- Locking ramsey/collection (1.2.2)
- Locking ramsey/uuid (4.2.3)
- Locking sebastian/cli-parser (1.0.1)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.6)
- Locking sebastian/complexity (2.0.2)
- Locking sebastian/diff (4.0.4)
- Locking sebastian/environment (5.1.3)
- Locking sebastian/exporter (4.0.4)
- Locking sebastian/global-state (5.0.3)
- Locking sebastian/lines-of-code (1.0.3)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.4)
- Locking sebastian/resource-operations (3.0.3)
- Locking sebastian/type (2.3.4)
- Locking sebastian/version (3.0.2)
- Locking spatie/backtrace (1.2.1)
- Locking spatie/flare-client-php (1.0.0)
- Locking spatie/ignition (1.0.2)
- Locking spatie/laravel-ignition (1.0.2)
- Locking symfony/console (v6.0.3)
- Locking symfony/css-selector (v6.0.3)
- Locking symfony/deprecation-contracts (v3.0.0)
- Locking symfony/error-handler (v6.0.3)
- Locking symfony/event-dispatcher (v6.0.3)
- Locking symfony/event-dispatcher-contracts (v3.0.0)
- Locking symfony/finder (v6.0.3)
- Locking symfony/http-foundation (v6.0.3)
- Locking symfony/http-kernel (v6.0.4)
- Locking symfony/mailer (v6.0.3)
- Locking symfony/mime (v6.0.3)
- Locking symfony/polyfill-ctype (v1.24.0)
- Locking symfony/polyfill-intl-grapheme (v1.24.0)
- Locking symfony/polyfill-intl-idn (v1.24.0)
- Locking symfony/polyfill-intl-normalizer (v1.24.0)
- Locking symfony/polyfill-mbstring (v1.24.0)
- Locking symfony/polyfill-php72 (v1.24.0)
- Locking symfony/polyfill-php80 (v1.24.0)
- Locking symfony/polyfill-php81 (v1.24.0)
- Locking symfony/process (v6.0.3)
- Locking symfony/routing (v6.0.3)
- Locking symfony/service-contracts (v3.0.0)
- Locking symfony/string (v6.0.3)
- Locking symfony/translation (v6.0.3)
- Locking symfony/translation-contracts (v3.0.0)
- Locking symfony/var-dumper (v6.0.3)
- Locking theseer/tokenizer (1.2.1)
- Locking tijsverkoyen/css-to-inline-styles (2.2.4)
- Locking vlucas/phpdotenv (v5.4.1)
- Locking voku/portable-ascii (1.6.1)
- Locking webmozart/assert (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 109 installs, 0 updates, 0 removals
- Downloading fakerphp/faker (v1.18.0)
- Downloading symfony/http-foundation (v6.0.3)
- Downloading symfony/event-dispatcher (v6.0.3)
- Downloading symfony/var-dumper (v6.0.3)
- Downloading psr/log (3.0.0)
- Downloading symfony/error-handler (v6.0.3)
- Downloading symfony/http-kernel (v6.0.4)
- Downloading voku/portable-ascii (1.6.1)
- Downloading symfony/css-selector (v6.0.3)
- Downloading symfony/routing (v6.0.3)
- Downloading symfony/mime (v6.0.3)
- Downloading symfony/mailer (v6.0.3)
- Downloading symfony/finder (v6.0.3)
- Downloading psr/simple-cache (3.0.0)
- Downloading symfony/translation (v6.0.3)
- Downloading nesbot/carbon (2.56.0)
- Downloading league/flysystem (3.0.1)
- Downloading nette/utils (v3.2.7)
- Downloading league/commonmark (2.2.1)
- Downloading laravel/framework (v9.0.0-beta.4)
- Downloading laravel/sanctum (v2.14.0)
- Downloading nunomaduro/collision (v6.1.0)
- Downloading spatie/backtrace (1.2.1)
- Downloading spatie/flare-client-php (1.0.0)
- Downloading spatie/ignition (1.0.2)
- Downloading spatie/laravel-ignition (1.0.2)
- Installing doctrine/inflector (2.0.4): Extracting archive
- Installing doctrine/lexer (1.2.2): Extracting archive
- Installing symfony/polyfill-ctype (v1.24.0): Extracting archive
- Installing webmozart/assert (1.10.0): Extracting archive
- Installing dragonmantank/cron-expression (v3.3.1): Extracting archive
- Installing symfony/deprecation-contracts (v3.0.0): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing fakerphp/faker (v1.18.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.24.0): Extracting archive
- Installing symfony/http-foundation (v6.0.3): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v3.0.0): Extracting archive
- Installing symfony/event-dispatcher (v6.0.3): Extracting archive
- Installing symfony/var-dumper (v6.0.3): Extracting archive
- Installing psr/log (3.0.0): Extracting archive
- Installing symfony/error-handler (v6.0.3): Extracting archive
- Installing symfony/http-kernel (v6.0.4): Extracting archive
- Installing voku/portable-ascii (1.6.1): Extracting archive
- Installing symfony/polyfill-php80 (v1.24.0): Extracting archive
- Installing phpoption/phpoption (1.8.1): Extracting archive
- Installing graham-campbell/result-type (v1.0.4): Extracting archive
- Installing vlucas/phpdotenv (v5.4.1): Extracting archive
- Installing symfony/css-selector (v6.0.3): Extracting archive
- Installing tijsverkoyen/css-to-inline-styles (2.2.4): Extracting archive
- Installing symfony/routing (v6.0.3): Extracting archive
- Installing symfony/process (v6.0.3): Extracting archive
- Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.24.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.24.0): Extracting archive
- Installing symfony/mime (v6.0.3): Extracting archive
- Installing symfony/service-contracts (v3.0.0): Extracting archive
- Installing egulias/email-validator (3.1.2): Extracting archive
- Installing symfony/mailer (v6.0.3): Extracting archive
- Installing symfony/finder (v6.0.3): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
- Installing symfony/string (v6.0.3): Extracting archive
- Installing symfony/console (v6.0.3): Extracting archive
- Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
- Installing ramsey/collection (1.2.2): Extracting archive
- Installing brick/math (0.9.3): Extracting archive
- Installing ramsey/uuid (4.2.3): Extracting archive
- Installing psr/simple-cache (3.0.0): Extracting archive
- Installing symfony/translation-contracts (v3.0.0): Extracting archive
- Installing symfony/translation (v6.0.3): Extracting archive
- Installing nesbot/carbon (2.56.0): Extracting archive
- Installing monolog/monolog (2.3.5): Extracting archive
- Installing league/mime-type-detection (1.9.0): Extracting archive
- Installing league/flysystem (3.0.1): Extracting archive
- Installing nette/utils (v3.2.7): Extracting archive
- Installing nette/schema (v1.2.2): Extracting archive
- Installing dflydev/dot-access-data (v3.0.1): Extracting archive
- Installing league/config (v1.1.1): Extracting archive
- Installing league/commonmark (2.2.1): Extracting archive
- Installing laravel/serializable-closure (v1.0.5): Extracting archive
- Installing laravel/framework (v9.0.0-beta.4): Extracting archive
- Installing asm89/stack-cors (v2.1.1): Extracting archive
- Installing fruitcake/laravel-cors (v2.0.5): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (2.1.0): Extracting archive
- Installing guzzlehttp/promises (1.5.1): Extracting archive
- Installing guzzlehttp/guzzle (7.4.1): Extracting archive
- Installing laravel/sail (v1.13.1): Extracting archive
- Installing laravel/sanctum (v2.14.0): Extracting archive
- Installing nikic/php-parser (v4.13.2): Extracting archive
- Installing psy/psysh (v0.11.1): Extracting archive
- Installing laravel/tinker (v2.7.0): Extracting archive
- Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
- Installing mockery/mockery (1.5.0): Extracting archive
- Installing filp/whoops (2.14.5): Extracting archive
- Installing facade/ignition-contracts (1.0.2): Extracting archive
- Installing nunomaduro/collision (v6.1.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.6.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (2.3.4): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/recursion-context (4.0.4): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.3): Extracting archive
- Installing sebastian/exporter (4.0.4): Extracting archive
- Installing sebastian/environment (5.1.3): Extracting archive
- Installing sebastian/diff (4.0.4): Extracting archive
- Installing sebastian/comparator (4.0.6): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.10): Extracting archive
- Installing doctrine/instantiator (1.4.0): Extracting archive
- Installing phpspec/prophecy (v1.15.0): Extracting archive
- Installing phar-io/version (3.1.0): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.10.2): Extracting archive
- Installing phpunit/phpunit (9.5.13): Extracting archive
- Installing spatie/backtrace (1.2.1): Extracting archive
- Installing spatie/flare-client-php (1.0.0): Extracting archive
- Installing spatie/ignition (1.0.2): Extracting archive
- Installing spatie/laravel-ignition (1.0.2): Extracting archive
52 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-ignition
Package manifest generated successfully.
78 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force
No publishable resources for tag [laravel-assets].
Publishing complete.
> @php artisan key:generate --ansi
Application key set successfully.
┌─(~/Code)
└── cd laravel-9
┌─(~/Code/laravel-9)
└── code .
┌─(~/Code/laravel-9)
└── php --version
PHP 8.0.14 (cli) (built: Dec 20 2021 21:22:57) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.14, Copyright (c) Zend Technologies
with Zend OPcache v8.0.14, Copyright (c), by Zend Technologies
┌─(~/Code/laravel-9)
└── composer require --dev laravel/homestead
Using version ^13.2 for laravel/homestead
./composer.json has been updated
Running composer update laravel/homestead
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking laravel/homestead (v13.2.0)
- Locking symfony/yaml (v6.0.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Downloading laravel/homestead (v13.2.0)
- Installing symfony/yaml (v6.0.3): Extracting archive
- Installing laravel/homestead (v13.2.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-ignition
Package manifest generated successfully.
79 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force
No publishable resources for tag [laravel-assets].
Publishing complete.
@svpernova09 Thanks for making quick work of this. Much appreciated!
In preparation for the release of Laravel 9, I'm creating this issue. It looks like the current homestead package makes use of symfony/console (and perhaps other packages) version 5 and Laravel 9 is using version 6x.
Expected behavior
composer update to run without errors
Actual behavior
composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Steps to reproduce
References