Download the PHP package codeatlas/analyzer-routes without Composer
On this page you can find all versions of the php package codeatlas/analyzer-routes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download codeatlas/analyzer-routes
More information about codeatlas/analyzer-routes
Files in codeatlas/analyzer-routes
Download codeatlas/analyzer-routes
More information about codeatlas/analyzer-routes
Files in codeatlas/analyzer-routes
Vendor codeatlas
Package analyzer-routes
Short Description CodeAtlas route analyzer — extracts Laravel routes via AST.
License MIT
Package analyzer-routes
Short Description CodeAtlas route analyzer — extracts Laravel routes via AST.
License MIT
Please rate this library. Is it a good library?
Informations about the package analyzer-routes
codeatlas/analyzer-routes
Route analyzer for CodeAtlas. Extracts every route from a Laravel project via AST (never regex, per the constitution) and emits graph nodes and edges.
What it extracts
| Feature | Support |
|---|---|
| HTTP verbs | get, post, put, patch, delete, options, any |
match() |
Multiple verbs per route |
| Actions | [Controller::class, 'method'], Controller::class (invokable), 'Controller@method', closures |
| Route names | ->name() + group name prefixes |
| Middleware | ->middleware() (string + array) + group inheritance |
| Constraints | ->where(), ->whereNumber(), ->whereAlpha(), ->whereAlphaNumeric(), ->whereUuid() |
| Domains | ->domain() + group domains |
| URI parameters | {id}, {slug?} extraction |
| Groups (fluent) | Route::prefix()->middleware()->group(fn) |
| Groups (array) | Route::group(['prefix' => ..., 'as' => ..., 'middleware' => ...], fn) |
| Nested groups | Prefixes concatenate, middleware accumulates, names concatenate |
resource() |
Expands to 7 routes (index/create/store/show/edit/update/destroy) |
apiResource() |
Expands to 5 routes (no create/edit) |
Output
For each route:
- one Route node (
NodeType::Route) with full metadata perJSON_SCHEMA.md - one Route → Controller edge (
EdgeType::RoutesTo) when the handler is a controller - one Route → Middleware edge (
EdgeType::UsesMiddleware) per applied middleware
Fault isolation
A malformed route file is logged, recorded as an AnalysisError (warning severity), and skipped — the remaining files are still analyzed. This is the constitution's per-file fault-isolation guarantee.
Architecture
Installation
Part of the CodeAtlas monorepo. MIT © Snova Labs.
All versions of analyzer-routes with dependencies
PHP Build Version
Package Version
The package codeatlas/analyzer-routes contains the following files
Loading the files please wait ...