Localization icon indicating copy to clipboard operation
Localization copied to clipboard

Laravel 10.x Compatibility

Open laravel-shift opened this issue 2 years ago • 6 comments

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 10.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 avatar Feb 27 '23 14:02 laravel-shift

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^9.5.10. If you would like to also upgrade your tests, you may run the PHPUnit 9 Shift for free.

laravel-shift avatar Feb 27 '23 14:02 laravel-shift

:warning: Shift detected a dependency for the laravel/framework. Unless you have a special requirement for depending on the entire Laravel framework, it's recommended to add dependencies for the specific illuminate packages instead.

laravel-shift avatar Feb 27 '23 14:02 laravel-shift

:alembic: 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/Localization.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "arcanedev/localization": "dev-l10-compatibility",
    }
}

Finally, run: composer update

laravel-shift avatar Feb 27 '23 14:02 laravel-shift

@arcanedev-maroc When will this PR be added?

CrazyBoy49z avatar Mar 08 '23 09:03 CrazyBoy49z

Is there any update on this please?

mkwsra avatar Mar 15 '23 12:03 mkwsra

For temporary support, Laravel 10 can be used in composer.json #173

  "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/CrazyBoy49z/Localization.git"
        },
    ],
"arcanedev/localization": "^9.0",

Replace with

"arcanedev/localization": "dev-master",
  1. A GitHub account is required
  2. Delete composer.lock and vendor
  3. composer update or composer install

CrazyBoy49z avatar Apr 19 '23 08:04 CrazyBoy49z