portrino / redirect-checker
Automated URL redirection checker
1.0.0
2026-03-24 14:51 UTC
Requires
- php: >=8.2 <=8.5.99
- guzzlehttp/guzzle: ^7.0
- symfony/console: ^7.0 || ^8.0
- symfony/yaml: ^7.0 || ^8.0
Requires (Dev)
- composer/composer: ^2.0
- ergebnis/composer-normalize: ^2.43
- friendsofphp/php-cs-fixer: ^3.47
- phpspec/phpspec: ^8.1
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- spaze/phpstan-disallowed-calls: ^4.0
- tomasvotruba/cognitive-complexity: ^1.0
- tomasvotruba/type-coverage: ^2.0
- typo3/coding-standards: ^0.8
Replaces
This package is auto-updated.
Last update: 2026-03-24 15:45:25 UTC
README
Automated URL redirection checker
Features
- Automate URL redirections tests for your application
- Add origin and destination urls to ensure redirections are working properly
- Seamless integration with your existing project
- Simple YAML file to define tests
Installation and usage
- Install this component using Composer
$ composer require portrino/redirect-checker
- Create your yaml file
# tests/redirections/example.yml https://google.com/services: https://www.google.com/services/ http://google.es/preferences: https://www.google.es/preferences http://support.google.com: https://support.google.com/
- Run the command
$ ./bin/redirect-checker yaml tests/redirections/example.yml
$ ./bin/redirect-checker yaml tests/redirections/example-non-absolute.yml --base-url="https://www.google.com"
