list-routes.php
Route List Extractor
Extracts all registered routes from routes.php and outputs them. Useful for keeping smoke tests in sync with actual routes.
Usage: php scripts/list-routes.php # List all routes php scripts/list-routes.php --json # Output as JSON php scripts/list-routes.php --cypress # Output as Cypress-compatible TypeScript
PHP version 8.1