jaybizzle/laravel-safe-routes

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

This package is auto-updated.

Last update: 2024-11-06 08:58:06 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])