laravel-generator
laravel-generator copied to clipboard
Laravel 11.x Compatibility
This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:
- Checkout the
l11-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.
:warning: The latest version of Laravel has a dependency for phpunit/phpunit
of ^10.5
. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.
:x: Laravel 11 has removed its dependency on doctrine/dbal
. As such, all of Laravel's classes, methods, and configuration related Doctrine DBAL have been removed.
Shift detected potential uses of these within the following files. You should review these instances and, if they are still needed, reference the Upgrade Guide for native alternatives.
- [ ] src/Utils/TableFieldsGenerator.php
: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/laravel-generator.git"
}
]
}
Then update your dependency constraint to reference this branch:
{
"require": {
"infyomlabs/laravel-generator": "dev-l11-compatibility",
}
}
Finally, run: composer update
I think some more work is needed to do this. Just a simple upgrade might not work along with other dependent packages of laravel-generator.
We will plan to release it by mid-Jun 2024. I'm a bit busy with some other schedule. so we will plan to release it along with other packages by mid-June 2024. #1100