Closed ayhanbaris closed 3 years ago
Use Vanilo 2.0+:
composer require vanilo/framework "^2.1"
thank you, i am tying...
Btw, what PHP version do you have?
i m upgrading now to php 7.4
ayhan@mvk vaniloapp % php -v PHP 7.3.25 (cli) (built: Nov 30 2020 14:36:22) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.25, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.25, Copyright (c) 1999-2018, by Zend Technologies
ayhan@mvk vaniloapp % composer require vanilo/framework "^2.1" [InvalidArgumentException] Package vanilo/framework at version ^2.1 has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
Yep, Vanilo 2 requires PHP 7.4 or 8.0. If you stick to PHP 7.3 then only Vanilo 1.2 is available - or - all the standalone 2.0 or 2.1 modules without the framework glue.
done.
ayhan@mvk vaniloapp % composer require vanilo/framework "^2.1" ./composer.json has been updated Running composer update vanilo/framework Loading composer repositories with package information Updating dependencies Lock file operations: 38 installs, 0 updates, 0 removals
:+1:
Side note: v2.2 is on the corner
ayhan@mvk ~ % composer create-project --prefer-dist laravel/laravel vaniloapp Creating a "laravel/laravel" project at "./vaniloapp" Installing laravel/laravel (v8.5.14)
ayhan@mvk ~ % cd vaniloapp ayhan@mvk vaniloapp % composer require vanilo/framework Using version ^1.2 for vanilo/framework ./composer.json has been updated Running composer update vanilo/framework Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.