kitloong / laravel-migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
2.44k stars 270 forks source link

myclabs/php-enum use high PHP version, puzzled me. #147

Closed uiosun closed 1 year ago

uiosun commented 1 year ago

Describe the bug

laravel-migrations-generator use myclabs/php-enum composer package, but the package need PHP version overrun it.

Maybe we can upragde composer target PHP version, or use myclabs/php-enum other version?

https://github.com/myclabs/php-enum/blob/43db94c969795278f3a9d2d01e9f509dbf5afa52/composer.json#L27-L29

    "require": {
        "php": "^7.3 || ^8.0",
        "ext-json": "*"

https://github.com/kitloong/laravel-migrations-generator/blob/f76e20e99dd4842661e482d0eaed68583d25bbf2/composer.json#L12-L14

Expected behavior

Upgrade we composer.json, or use myclabs/php-enum by support low PHP version.

Details (please complete the following information):

Additional context Add any other context about the problem here.