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

[9.x] Add filtering of route:list by domain #40970

Merged
merged 1 commit into from
Feb 12, 2022
Merged

[9.x] Add filtering of route:list by domain #40970

merged 1 commit into from
Feb 12, 2022

Conversation

Synchro
Copy link
Contributor

@Synchro Synchro commented Feb 12, 2022

Further to the discussion in #40815, I have broken out the domain filtering part. It's a very simple addition that lets you filter the route list by domain, much as you can for paths:

php artisan route:list --domain=example.com

The only other change is a minor cleanup to make all the filtering options use the same syntax (without any functional changes), as it was inconsistent and potentially ambiguous, causing it to be flagged by static analysis tools.

@Synchro
Copy link
Contributor Author

Synchro commented Feb 12, 2022

The test failure doesn't seem to have anything to do with this PR.

@GrahamCampbell GrahamCampbell changed the title Add filtering of route:list by domain [9.x] Add filtering of route:list by domain Feb 12, 2022
@andrey-helldar
Copy link
Contributor

@Synchro, you can also try dragon-code/pretty-routes 😎

@taylorotwell taylorotwell merged commit 11251f2 into laravel:9.x Feb 12, 2022
@Synchro
Copy link
Contributor Author

Synchro commented Feb 12, 2022

Thanks

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