gorkalaucirica / redirect-checker
Automated URL redirection checker
Installs: 1 619
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 5
Open Issues: 0
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
- symfony/console: ^2.8 || ^3.0
- symfony/yaml: ^2.8 || ^3.0
Requires (Dev)
- phpspec/phpspec: ^3.4
This package is not auto-updated.
Last update: 2024-11-14 10:24:36 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 gorkalaucirica/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"