Installing an older PHP version and switching to it in Ubuntu.
Tag: PHP
How to easily set a custom redirect in Laravel form requests
In Laravel you can create custom request classes where you can house the validation for any given route. If that validation then fails, Laravel’s…
Laravel Blade push and stack
Laravel’s blade view compiler is second to none. I’ve used a couple of different templating engines and blade is by far my favourite. Including…
Bypassing Laravel’s CSRF Middleware on selected routes (from 5.1)
A handy way to have some of your routes skip the middleware for CSRF protection. Handy in some situations.