jaybizzle/laravel-safe-routes

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

This package is auto-updated.

Last update: 2024-12-06 09:09:09 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])