Download the PHP package gajus/director without Composer
On this page you can find all versions of the php package gajus/director. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gajus/director
More information about gajus/director
Files in gajus/director
Download gajus/director
More information about gajus/director
Files in gajus/director
Vendor gajus
Package director
Short Description Utility for generating URLs relative to the predefined routes and for handling the redirects.
License BSD-3-Clause
Homepage https://github.com/gajus/director
Package director
Short Description Utility for generating URLs relative to the predefined routes and for handling the redirects.
License BSD-3-Clause
Homepage https://github.com/gajus/director
Please rate this library. Is it a good library?
Informations about the package director
Director
Utility for generating URLs relative to the predefined routes and for handling the redirects.
Use case
Use an instance of Router
to generate URLs. It is convenient when your URL schema varies between the deployment environments.
URLs
Router
instance carries predefined routes that are used to construct URLs.
Redirect
location
will throw Exception\LogicException
exception if headers have been already sent.
Get path
The iverse of the url
method is getPath
. It is used to get the resource path of the current request URI relative to a specific route:
All versions of director with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package gajus/director contains the following files
Loading the files please wait ....