flipboxstudio / lumen-generator

A Lumen Generator You Are Missing
https://packagist.org/packages/flipbox/lumen-generator
MIT License
823 stars 126 forks source link

Lumen 5.3 installation #8

Closed agsotelo closed 7 years ago

agsotelo commented 7 years ago

Hello, i don't know if this is an issue or not, but when i run the composer command over Lumen 5.3 I get the following:

$ composer require flipbox/lumen-generator
Using version ^5.3 for flipbox/lumen-generator
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for psy/psysh (locked at v0.8.3) -> satisfiable by psy/psysh[v0.8.3].
    - flipbox/lumen-generator 5.3.0 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - flipbox/lumen-generator 5.3.1 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - flipbox/lumen-generator 5.3.2 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - flipbox/lumen-generator 5.3.3 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - flipbox/lumen-generator 5.3.4 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - Conclusion: don't install psy/psysh v0.7.2
    - Installation request for flipbox/lumen-generator ^5.3 -> satisfiable by flipbox/lumen-generator[5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4].

Installation failed, reverting ./composer.json to its original content.

This issue was because a little before I had to install "vluzrmos/tinker": "^1.3". So, to do the installation successfully I had to use the branch dev-develop like this:

$ composer require flipbox/lumen-generator:dev-develop
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
  - Installing appzcoder/lumen-routes-list (v1.0.0): Downloading (100%)
  - Installing classpreloader/classpreloader (3.1.0): Downloading (100%)
  - Installing flipbox/lumen-generator (dev-develop ce4e488): Cloning ce4e4881af from cache
Writing lock file
Generating autoload files

Maybe this is not a real issue, but I think may help someone else.

By the way, great contribution, thank you,

AugustoSL

joelhy commented 7 years ago

"vluzrmos/tinker" require psy/psysh v0.8.3, while flipbox/lumen-generator 5.3.* require psy/psysh ^0.7.2.

To solve the conflict, please upgrade your Lumen to v5.4. or v5.5, and use flipbox/lumen-generator v5.4.