Download the PHP package luminark/url without Composer
On this page you can find all versions of the php package luminark/url. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package url
Luminark URL Package
Installation
Add service provider to your config/app.php:
Resource Model
Have the Eloquent model URLs will be pointing to use the Luminark/Url/Traits/HasUrlTrait trait and implement the Luminark/Url/Interfaces/HasUrlInterface interface.
Resource Controller
The controller which will be handling URLs needs to use the Luminark/Url/Traits/HandlesUrlTrait trait and extend the getUrlResourceResponse(Url $url) method which receives the requested Url model.
In your routes.php (at the bottom) add a wildcard route handler which uses getUrlResource method. E.g.:
All versions of url with dependencies
PHP Build Version
Package Version
Requires
illuminate/database Version
5.*
illuminate/support Version 5.*
nesbot/carbon Version ^1.21
symfony/http-kernel Version ^2.6
illuminate/support Version 5.*
nesbot/carbon Version ^1.21
symfony/http-kernel Version ^2.6
The package luminark/url contains the following files
Loading the files please wait ...