Skip to content

feat(php): add laravel plugin #433

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat(php): add laravel plugin #433

wants to merge 2 commits into from

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Jun 20, 2025

This PR adds the @nx/php/laravel plugin, such that you can run these commands from any Laravel project/repo:

nx init
nx add @nx/php

And then you can see your apps:

nx show projects

And can serve like this:

nx serve <scope>/<app-name>

The above would run php artisan serve to start the Laravel dev server.

See: https://www.loom.com/share/ecc2702a735543f3a7f2ecc9481b8192

Copy link

nx-cloud bot commented Jun 20, 2025

View your CI Pipeline Execution ↗ for commit cfb5496.

Command Status Duration Result
nx affected -t=build,test,lint ❌ Failed 16s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-20 19:49:25 UTC

tree: Tree,
_options: { skipPackageJson?: boolean }
): Promise<void> {
await addPlugin(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and PHPUnit should really be checking if their config files exist, or else skip.

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.

1 participant