Skip to content

Do not defer ServiceProvider to boot routes #9

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

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

barryvdh
Copy link
Contributor

@barryvdh barryvdh commented Jun 9, 2025

If your ServiceProvider is deferred, it will not boot the routes for the integrated server.

You can test this by running composer install or the post-install scripts, that refreshes the service provider cache.

@jhoff
Copy link

jhoff commented Jun 9, 2025

This fixes an issue for us as well on our upgraded Laravel 11 app. The issue is not present on a brand new Laravel 12 app.

@CodeWithKyrian CodeWithKyrian merged commit 48200b8 into php-mcp:main Jun 13, 2025
4 checks passed
@barryvdh barryvdh deleted the patch-3 branch June 13, 2025 08:40
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.

3 participants