Analyzer::Php
Laravel routes registered in a foreach over a constant literal array:
$endpoints = ['ping' => PingController::class, ...]; foreach ($endpoints as $endpoint => $controller) { Route::match(['get', 'post'], "{$endpoint}{format?}", $controller); }
The body is scanned once per entry, the loop variables replaced by that entry, so each route gets its literal path and its handler. Anything the source does not prove constant keeps the as-written scan.
Nested types
- Analyzer::Php::ApiPlatform
- Analyzer::Php::CakePHP
- Analyzer::Php::Cli
- Analyzer::Php::CodeIgniter
- Analyzer::Php::Drupal
- Analyzer::Php::Folio
- Analyzer::Php::Hyperf
- Analyzer::Php::Laminas
- Analyzer::Php::Laravel
- Analyzer::Php::Livewire
- Analyzer::Php::Lumen
- Analyzer::Php::Magento
- Analyzer::Php::Mautic
- Analyzer::Php::Nextcloud
- Analyzer::Php::Phalcon
- Analyzer::Php::Php
- Analyzer::Php::PhpEngine
- Analyzer::Php::Slim
- Analyzer::Php::Symfony
- Analyzer::Php::SymfonyRouteAttributes
- Analyzer::Php::SymfonySecurity
- Analyzer::Php::ThinkPHP
- Analyzer::Php::Wordpress
- Analyzer::Php::Yii