Skip to content

Reference

phil/redirects-bundle
TypeRole
PhilRedirectsBundleWires the services and configures phil_redirects
Domain\Enum\MatchKindExact, prefix, wildcard, regular expression
Domain\Enum\RedirectStatus301, 302, 307, 308, 410
Domain\Enum\QueryPolicyDrop or keep the request's query string
Domain\ValueObject\SourcePatternWhere a redirect applies, and the match
Domain\ValueObject\TargetWhere it sends: a path, a URL, a route, none
Domain\ValueObject\RedirectRuleOne redirect as the table resolves it
Domain\ValueObject\NotFoundEntryA path of the 404 log
Domain\Model\RedirectA stored redirect, with its hits and dates
Domain\Contract\RedirectRepositoryThe port of the stored redirects
Domain\Contract\NotFoundLogRepositoryThe port of the 404 log
Domain\Exception\InvalidRedirectA value refused, with its reason
Application\RedirectTableThe redirects in force, indexed
Application\RedirectTableCacheThe table kept for the request and in a pool
Application\RedirectResolverA host and a path to a resolution
Application\LocationBuilderA match to a safe location
Application\RedirectMatch, Application\ResolutionWhat the table found; what the request answers
Application\ChainInspectorRefuses loops and chains
Application\TargetPolicyRefuses external targets to hosts not allowed
Application\RedirectsCreates, changes, removes, imports and checks
Application\RedirectDraftA redirect as text, from a form or a line of CSV
Application\ImportReport, Application\FindingWhat an import did; what a check found
Application\Exception\RedirectRefused, RedirectNotFoundA redirect refused with the others; a missing one
Application\Contract\RedirectProviderThe port of a source of redirects
Application\StoredRedirectsThe stored redirects as a provider
Application\Contract\NotFoundFilterThe port of a filter of the 404 log
Application\Filter\DeclaredCrawlerFilterIgnores the declared crawlers and scripts
Application\NotFoundHit, Application\NotFoundRecorderA request not found; its log
Application\OldDomain, Application\OldDomainsThe old domains and their new host
Application\Csv\RedirectCsvThe CSV form of the redirects
Infrastructure\Doctrine\RedirectTablesThe two tables
Infrastructure\Doctrine\RedirectSchemaListenerAdds them to the schema of the ORM
Infrastructure\Doctrine\DbalRedirectRepository, DbalNotFoundLogThe two stores with DBAL
Infrastructure\Doctrine\RowReaderThe values of a row, read strictly
Infrastructure\Http\NotFoundListenerResolves a 404, writes after the response
Infrastructure\Http\OldDomainListenerMaps an old domain before the routing
Infrastructure\Http\AdminGuardThe role, the token, the layout of the administration
Infrastructure\Http\RedirectAdminControllerThe redirects in the administration
Infrastructure\Http\NotFoundAdminControllerThe 404 log in the administration
Infrastructure\Http\TransferAdminControllerThe CSV download and upload
Infrastructure\Console\ImportRedirectsCommandphil:redirects:import
Infrastructure\Console\ExportRedirectsCommandphil:redirects:export
Infrastructure\Console\CheckRedirectsCommandphil:redirects:check
Infrastructure\Console\PurgeNotFoundCommandphil:redirects:purge-404
Infrastructure\EasyAdmin\RedirectsAdminThe links of an EasyAdmin menu
Infrastructure\BotDetection\RobotVerdictFilterIgnores a request with the robot verdict