Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eco CLI detects PHP v8.0, flags that ^7.3 is required #8

Open
adamhopkinson opened this issue Nov 1, 2021 · 0 comments
Open

Eco CLI detects PHP v8.0, flags that ^7.3 is required #8

adamhopkinson opened this issue Nov 1, 2021 · 0 comments

Comments

@adamhopkinson
Copy link

I've just installed Eco v0.3.0 locally - I've tried both an existing project and a new, empty, directory.

Both times, when I run ./vendor/bin/eco init the script detects PHP v8.0.12 but flags that I need ^7.3 or greater.

The full output:

❯ ./vendor/bin/eco init

Box Requirements Checker
========================

> Using PHP 8.0.12
> PHP is using the following php.ini file:
  /opt/homebrew/etc/php/8.0/php.ini

> Checking Box requirements:
  E................


 [ERROR] Your system is not ready to run the application.


Fix the following mandatory requirements:
=========================================

 * The application requires the version "^7.3" or greater.

My PHP version:

❯ php -v
PHP 8.0.12 (cli) (built: Oct 21 2021 06:07:28) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.12, Copyright (c) Zend Technologies
    with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
    with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies

And the output of composer show hotmeteor/eco-cli:

~/code/professional/ecotest
❯ composer show hotmeteor/eco-cli
name     : hotmeteor/eco-cli
descrip. : Eco CLI for Laravel .env syncing
keywords : cli, console, eco, env, environment
versions : * v0.3.0
type     : project
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage :
source   : [git] https://github.com/hotmeteor/eco-cli.git c9b3e81d770f7fdb3f50470c2e518c116ff76b4d
dist     : [zip] https://api.github.com/repos/hotmeteor/eco-cli/zipball/c9b3e81d770f7fdb3f50470c2e518c116ff76b4d c9b3e81d770f7fdb3f50470c2e518c116ff76b4d
path     : /Users/adamhopkinson/code/professional/ecotest/vendor/hotmeteor/eco-cli
names    : hotmeteor/eco-cli

support
issues : https://github.com/hotmeteor/eco-cli/issues
source : https://github.com/hotmeteor/eco-cli

autoload
psr-4
App\ => app/

requires
bitbucket/client ^3.1
ext-json *
ext-sodium *
guzzlehttp/guzzle ^7.0.1
hotmeteor/eco-env ^1.1
http-interop/http-factory-guzzle ^1.0
illuminate/container ^8.0
illuminate/filesystem ^8.0
illuminate/log ^8.0
illuminate/support ^8.0
knplabs/github-api ^3.0
laminas/laminas-text ^2.7
laravel-zero/framework ^8.0
m4tthumphrey/php-gitlab-api ^10.0
padraic/phar-updater ^1.0.6
php ^7.4|^8.0
ramsey/uuid ^3.7|^4.0
symfony/console ^4.2|^5.0
symfony/process ^4.2|^5.0
symfony/var-dumper ^4.2|^5.0
symfony/yaml ^4.2|^5.0

requires (dev)
mockery/mockery ^1.4.2
phpunit/phpunit ^9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant