Download the PHP package infusionweb/laravel-url-resolver-provider without Composer
On this page you can find all versions of the php package infusionweb/laravel-url-resolver-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download infusionweb/laravel-url-resolver-provider
More information about infusionweb/laravel-url-resolver-provider
Files in infusionweb/laravel-url-resolver-provider
Package laravel-url-resolver-provider
Short Description Provides a Laravel 5 service provider and facade for URLResolver.php.
License MIT
Homepage https://github.com/infusionweb/laravel-url-resolver-provider
Informations about the package laravel-url-resolver-provider
Laravel 5 URL Resolver Provider
A simple wrapper for using URLResolver.php in Laravel
This package provides a Laravel 5 service provider and facade for mdf/php-url-resolver, which is a fork of mattwright/URLResolver.php, which seems to no longer be maintained.
URLResolver.php is a PHP class that attempts to resolve URLs to a final, canonical link. On the web today, link shorteners, tracking codes and more can result in many different links that ultimately point to the same resource. By following HTTP redirects and parsing web pages for open graph and canonical URLs, URLResolver.php attempts to solve this issue.
When enabled and configured, all this package does is allow more convenient use of the URLResolver.php functionality, through a Laravel facade.
Installation
Step 1: Composer
Via Composer command line:
Or add the package to your composer.json
:
Step 2: Register the Service Provider
Add the service provider to your config/app.php
:
Step 3: Enable the Facade
Add the facade to your config/app.php
:
Usage
Simple case
With additional setup
For additional documentation, see the URLResolver.php documentation.
Credits
License
The MIT License (MIT). Please see License File for more information.