Routing

Ziggy: A Package for Named Laravel Routes in JavaScript
Laravel Packages / August 10, 2017

Ziggy: A Package for Named Laravel Routes in JavaScript

Ziggy is a package that exposes named Laravel routes in JavaScript written by Caleb Porzio and Daniel Coulbourne from Tighten Co. Learn about Ziggy and how you can use it to keep your routes in sync between a Laravel backend and JavaScript.

Read more…
Route improvements are coming to Laravel 5.4
Laravel 5.4 / December 06, 2016

Route improvements are coming to Laravel 5.4

As Laravel 5.4 development continues two new improvements are coming to your routes, better route caching for large applications and fluently registering routes.

Read more…
Laravel Missing Page Redirector Package
Laravel Packages / November 04, 2016

Laravel Missing Page Redirector Package

If you moved your site to a new domain, chances are you want the users and search engines to be directed to the correct pages on the new domain. One way to do that is using 301 permanent redirects from old pages locations to the new pages locations. In Laravel you can define this in … Continue reading Laravel Missing Page Redirector Package

Read more…
View your routes through the browser with the Pretty Routes package
Laravel Packages / September 19, 2016

View your routes through the browser with the Pretty Routes package

One nice Laravel feature is its routing, by visiting your routing file, you can get an eagle eye view of your application and a map that shows which URL is corresponding to which file. By default, Laravel provides a handy Artisan command php artisan route:list that can be used to list your routes in a … Continue reading View your routes through the browser with the Pretty Rout... Read more…

Laravel Tutorials / February 20, 2016

How the Laravel Router is made

Matthew Machuga has started a new video series on Tuts+ and the first video is out on how the Laravel Router works: In this lesson, we’ll explore the intricacies of Laravel Router. We’ll talk about the fundamentals of HTTP routing, before we go on to analyze some of the decisions and nuances in the design … Continue reading How the Laravel Router is madeRead more…

Laravel Tutorials / June 30, 2015

Protecting Routes with Invoke

Chris Cornutt has a new tutorial showing how to implement the Invoke package with Laravel to restrict routes. For those not familiar with Invoke: The Invoke system helps you protect your application based on the endpoints and the URI requested. It uses a configuration file (or array of settings) to define the permissions needed to … Continue reading Protecting... Read more…

Laravel Packages / June 17, 2015

Customizable Paginated Routes

Out of the box, Laravel provides pagination but they are opinionated in how the url’s are generated. This pagination package allows you to customize the links by using translations and removes the query string parameter. For an example, here is what your new links can look like: http://example.com/news/page/2 Or fully translatable: http://example.com/nieuws/pagina/2 http://example.com/nachrichten/seite/2

Read more…
Laravel Tutorials / June 27, 2014

Laravel Routing Best Practices

A few days ago Laracasts released a routing best practices video: Let’s take some time to review a number of best practices, when it comes to how you structure your app’s routing layer. This video has a bunch of great tips. It also helped clarify the disagreement I started on Twitter when I said that … Continue reading Laravel Routing Best Practice... Read more…