Skip to content
This repository was archived by the owner on Aug 22, 2026. It is now read-only.

Laravel 10.x Compatibility - #107

Open
laravel-shift wants to merge 1 commit into
avm87:2xfrom
laravel-shift:l10-compatibility
Open

Laravel 10.x Compatibility#107
laravel-shift wants to merge 1 commit into
avm87:2xfrom
laravel-shift:l10-compatibility

Conversation

@laravel-shift

Copy link
Copy Markdown

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.

Before merging, you need to:

  • Checkout the l10-compatibility branch
  • Review all comments for additional changes
  • Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

@laravel-shift

Copy link
Copy Markdown
Author

⚗️ Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.

To do so, temporarily add Shift's fork to the repositories property of your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/eloquent-model-generator.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "krlove/eloquent-model-generator": "dev-l10-compatibility",
    }
}

Finally, run: composer update

@sbuerk

sbuerk commented Mar 10, 2023

Copy link
Copy Markdown

So far this worked with laravel 10.* for us. Found another issue, but unrelated to that raise.
Maybe having a dual version constraint would be better.

Any plan's on v10 support and a release for it ?

Would say this is at least a part for #108

sbuerk added a commit to sbuerk/eloquent-model-generator that referenced this pull request Mar 11, 2023
This change sets the composer dependencies in away,
so it can be installed and used with in laravel 9.x
and 10.x projects.

Used command(s):

```shell
composer require --no-update \
    "php":"^8.0 || ^8.1" \
    "illuminate/database":"^9.0 || ^10.0" \
    "illuminate/support":"^9.0 || ^10.0" \
    "illuminate/config":"^9.0 || ^10.0" \
    "illuminate/console":"^9.0 || ^10.0" \
    "doctrine/dbal":"^3.5" ; \
composer require --no-update --dev \
    "phpunit/phpunit":"^9.5.10"
```

This is an alternative then avm87#107 to solve avm87#108.

Resolves avm87#108
Related avm87#107
sbuerk added a commit to sbuerk/eloquent-model-generator that referenced this pull request Mar 11, 2023
This change sets the composer dependencies in away,
so it can be installed and used with in laravel 9.x
and 10.x projects.

Used command(s):

```shell
composer require --no-update \
    "php":"^8.0 || ^8.1 || ^8.2" \
    "illuminate/database":"^9.0 || ^10.0" \
    "illuminate/support":"^9.0 || ^10.0" \
    "illuminate/config":"^9.0 || ^10.0" \
    "illuminate/console":"^9.0 || ^10.0" \
    "doctrine/dbal":"^3.5" ; \
composer require --no-update --dev \
    "phpunit/phpunit":"^9.5.10"
```

This is an alternative then avm87#107 to solve avm87#108.

Resolves avm87#108
Related avm87#107
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants