jaybizzle/laravel-safe-routes

dev-master 2017-06-13 20:38 UTC

This package is auto-updated.

Last update: 2020-10-06 00:17:13 UTC


README

Adds an option to generate route URLs which are safe and seo friendly.

Installation

Run composer require jaybizzle/laravel-safe-routes

Add Jaybizzle\SafeRoutes\SafeRoutesServiceProvider::class, to config/app.php

Usage

URL::saferoute('blog.article', [$blog->id, $blog->title])