Here is the list of talks that I found most useful to me.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Support\Facades\Route; | |
use Illuminate\Routing\Route as Router; | |
class RouterServiceProvider extends ServiceProvider | |
{ |
This is a 2-part technique to share named routes between Laravel and Javascript. It uses a custom artisan
command to export your named routes to JSON, and a Javascript route()
helper to lookup the route and fill in any parameters. Written for Laravel 5.3; not tested in 5.4.
Copy RouteJson.php
into your app as app/Console/Commands/RouteJson.php