beyondcode/laravel-er-diagram-generator

PHP 8.0 support

Closed this issue Β· 21 comments

PHP 8 compatibility isn't included in the composer.json.

Also doctrine/dbal 3.0 please :)

I love to see PHP 8 compatibility

php 8 version throwing error.

+1 to PHP 8 support.

php 8 and laravel 8 support please.

I was able to get this to work on PHP8 and Laravel 8 by ignoring composer’s language version check, but native support would be nice.

Can confirm that PR #94 works πŸ‘

{
    "repositories": [
        {
            "url": "https://github.com/ali-alharthi/laravel-er-diagram-generator",
            "type": "github"
        }
    ],
    "require": {
        "beyondcode/laravel-er-diagram-generator": "dev-master"
   }
}

Support for PHP 8 please.

@mpociot and team, could we have some PHP 8 love here?

8 !!

@mpociot and team,
The latest release doesn't support php version 8. I hope the following change in composer.json will help here
"require": { "php": "^7.3|^8.0", }
Can it be added in anyway and support php version 8?

Update on this would be great!

as @penagos suggest
you can get this work by ignoring version check and -W flag

composer require beyondcode/laravel-er-diagram-generator --dev --ignore-platform-reqs -W

Still does not work:

  • beyondcode/laravel-er-diagram-generator 1.5.0 requires doctrine/dbal ~2.3 -> found doctrine/dbal[2.3.0-BETA1, ..., 2.13.x-dev] but it conflicts with your root composer.json require (^3.2).

Yes please <3

Kyngo commented

Seems like the devs don't care about this, they haven't said a thing.

@beyondcode please do something about this!

project seems abandoned, nothing stops you from forking and making the adjustments.

which er generator shall we choose to continue this work? I vote for a separate org, with contributors from all current forks :)

https://useful-forks.github.io/?repo=beyondcode/laravel-er-diagram-generator

this needs to live!

Just want to share that this PR #102 solved my problem as my repo use PHP 8. For anyone who wish to use this branch to enable laravel-er-diagram-generator in their codebase, this is the steps I used:

  1. Edit your composer.json to install this package but using this PR branch as source. Please note that the comments shouldn't be actually entered into your compose.json as json does not actually support commenting
    // .. bunch of other entries ...
    // add this new `repositories` section if its not presents yet
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-er-diagram-generator"
        }
    ],
    "require-dev": {
          // insert this line into require-dev section. of course you could also insert it into regular `require` section if you prefer
        "beyondcode/laravel-er-diagram-generator": "dev-l9-compatibility",
        // ... bunch of other packages...
    },
    // .. bunch of other entries ...
  1. run composer update beyondcode/laravel-er-diagram-generator to install all laravel-er-diagram-generator dependencies.
  2. After this you should already able to run this package. See README file for further information.

my references:

notes:

  • just realized that there are already different answer suggesting similar workaround above

+1 to PHP 8 support.