Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 11.x Compatibility #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laravel-shift
Copy link
Contributor

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.

@laravel-shift
Copy link
Contributor Author

⚠️ 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.

@laravel-shift
Copy link
Contributor Author

⚠️ 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
Copy link
Contributor Author

❌ 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/Console/SchemaFactoryMakeCommand.php

@laravel-shift
Copy link
Contributor 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/laravel-openapi.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "vyuldashev/laravel-openapi": "dev-l11-compatibility",
    }
}

Finally, run: composer update

@TartanLeGrand
Copy link

🆙 ?

@KentarouTakeda
Copy link

This pull request can at least support Laravel 11, but in addition, #109 that I created also includes adding Laravel 11 to CI and expanding the version range of development tools such as phpunit and testbench.

Please check it out.

@Westie
Copy link

Westie commented Mar 25, 2024

I would argue at this point, this brilliant package is now unfortunately abandonware

@frital
Copy link

frital commented Apr 4, 2024

Hi @vyuldashev

pls, consider merge this PR, for your great package .. :)

@TartanLeGrand
Copy link

3 months @vyuldashev is AFK front github. We will forker and maintain the update for laravel 11.

@TartanLeGrand
Copy link

@frital
Copy link

frital commented Apr 12, 2024

3 months @vyuldashev is AFK front github. We will forker and maintain the update for laravel 11.

Unfortunately, i couldn't wait more, and was not interested in forking. I looked around and (fortunately) I found a package called "scribe". It's amazing.

@lloricode
Copy link

up

@TartanLeGrand
Copy link

@lloricode 👋 look here : https://github.com/TartanLeGrand/laravel-openapi 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants