php-extended / php-url-redirecter-factory-object
This package is abandoned and no longer maintained.
The author suggests using the php-extended/php-url-redirecter-object package instead.
A library that implements the php-extended/php-url-redirecter-factory-object library
3.1.20
2021-06-24 17:52 UTC
Requires
- php-extended/php-url-redirecter-atu-ca: ^3
- php-extended/php-url-redirecter-factory-interface: ^3
- php-extended/php-url-redirecter-generic: ^3
- php-extended/php-url-redirecter-qr-net: ^3
- php-extended/php-url-redirecter-securitylinks-com: ^3
- php-extended/php-url-redirecter-ushortlinks-com: ^3
- php-extended/polyfill-php80-stringable: >=1
Requires (Dev)
README
A library that implements the php-extended/php-url-redirecter-factory-object library.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-url-redirecter-factory-object": "^4"
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
Basic Usage
You may use this library the following way:
use PhpExtended\UrlRedirecter\RedirecterFactory;
$factory = new RedirecterFactory();
$redirecter = $factory->createRedirecter();
// $redirecter instanceof RedirecterInterface
License
MIT (See license file).