Learn to Build a Chatbot with Laravel and BotMan!

Middleware

Guzzle Advanced Throttling Middleware and Laravel Package
Laravel Packages / March 06, 2018

Guzzle Advanced Throttling Middleware and Laravel Package

Full stack developer Timo Prüße has created a Guzzle middleware that helps you set up advanced API request throttling within your Guzzle handler stack. Learn more about his middleware and the accompanying Laravel package that makes using this middleware a breeze in your Laravel projects.

Read more…
Under Construction Package
Laravel Packages / February 08, 2018

Under Construction Package

This Laravel package by Lars Janssen, allows you to put your application in an “Under Construction” mode and then only users with the correct 4 digit code can access your site.

Read more…
Testing Laravel Middleware with HTTP Tests
Laravel Tutorials / September 28, 2017

Testing Laravel Middleware with HTTP Tests

Writing HTTP tests in Laravel is so easy and convenient, and I find myself doing more testing at this level. In this post, I’d like to demonstrate a practical example of testing a middleware using HTTP tests.

Read more…
Laravel 5.4 Includes Two New Middleware
Laravel 5.4 / January 18, 2017

Laravel 5.4 Includes Two New Middleware

Laravel 5.4 is scheduled to be released next week, and it already includes many great new features, but the team was able to sneak in two new Middleware offerings. These are TrimStrings and ConvertEmptyStringsToNull. Trim Strings Middleware Just as the name suggests, the Trim Strings middleware will automatically trim all the request data so you …

Easily Integrate HTTP/2 Server Push with a Laravel Middleware
Laravel Packages / August 11, 2016

Easily Integrate HTTP/2 Server Push with a Laravel Middleware

As we all know technology changes fast and if you don’t stop and look around once in awhile, you could miss it. HTTP/2 is one area of our tech stack that I haven’t been keeping up with an honestly knew nothing about it until Laracon where Ben Ramsey gave a talk on the subject. You …

Laravel Tutorials / June 17, 2015

Excluding Routes from the CSRF Middleware

Laravel has CSRF enabled by default for all requests that come through your app. This is included and handled automatically to make life easier. However, one issue that comes up is when you are using external services where you do not have the ability to set a token. An example of this is with web …