Download the PHP package crumby/route-resolver without Composer
On this page you can find all versions of the php package crumby/route-resolver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download crumby/route-resolver
More information about crumby/route-resolver
Files in crumby/route-resolver
Download crumby/route-resolver
More information about crumby/route-resolver
Files in crumby/route-resolver
Vendor crumby
Package route-resolver
Short Description Localized Url builder for Laravel 5.4 with dynamic parameters resolution.
License MIT License
Homepage https://github.com/avassilenko/route-resolver
Package route-resolver
Short Description Localized Url builder for Laravel 5.4 with dynamic parameters resolution.
License MIT License
Homepage https://github.com/avassilenko/route-resolver
Keywords localized route builder
Please rate this library. Is it a good library?
Informations about the package route-resolver
Installation:
Register service and facade:
File: config/app.php
Add file PackageResolver.php to your project
Add route parameter and corresponding resolver class to config/route-resolver.php
when route resolve route /packages/{package} it calls Resolver Service and substitute last segment of url {package} with localized value returned by Resolver Class method segment(), in our example PackageResolver::segment().
Implement interface Crumby\RouteResolver\Contracts\ParamResolver.php
in file, for example: app/Resolvers/PackageResolver.php
Make sure the App\Resolvers\PackageResolver class exists in autoloader
Example of building all existing localized urls for language switcher:
test stability:
https://semver.mwl.be/#?package=crumby%2Froute-resolver&version=dev-master&minimum-stability=stable
All versions of route-resolver with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
The package crumby/route-resolver contains the following files
Loading the files please wait ....