livewire-datatables icon indicating copy to clipboard operation
livewire-datatables 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 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 avatar Jan 30 '23 22:01 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 Jan 30 '23 22:01 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/livewire-datatables.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "mediconesystems/livewire-datatables": "dev-l10-compatibility",
    }
}

Finally, run: composer update

laravel-shift avatar Jan 30 '23 22:01 laravel-shift

Can we please get this merged if this is all thats required to update to laravel 10?

RalpinMcDjango avatar Mar 22 '23 10:03 RalpinMcDjango

@laravel-shift the composer.json still needs to be updated to include dev-l10-compatibility for reedware/laravel-relation-joins package. It does not update as is.

I have created a PR for your branch too.

Anyone bumping into it for now, can use my fork for Laravel v10 installation until this is all sorted out.

johnnuman avatar Mar 23 '23 08:03 johnnuman

@johnnuman

Anyone bumping into it for now, can use my fork for Laravel v10 installation until this is all sorted out.

Still can't install normally via Composer... How can I use your fork? I got " fatal: repository 'https://github.com/johnnuman/livewire-datatables/tree/l10-compatibility.git/' not found" when I tried to clone it. Thanks!

PacoHolliday avatar Mar 29 '23 21:03 PacoHolliday

https://github.com/tylernathanreed/laravel-relation-joins v4.x is L10 compatible

schmeits avatar Apr 17 '23 08:04 schmeits