Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
Synchro:route-list-domain
Feb 12, 2022
Merged

[9.x] Add filtering of route:list by domain#40970
taylorotwell merged 1 commit into
laravel:9.xfrom
Synchro:route-list-domain

Conversation

@Synchro

@Synchro Synchro commented Feb 12, 2022

Copy link
Copy Markdown
Contributor

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

Synchro commented Feb 12, 2022

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

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

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

Synchro commented Feb 12, 2022

Copy link
Copy Markdown
Contributor Author

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