Disable Validation Redirect In Laravel

In a previous tutorial we investigated how to validate requests in Laravel by using form request objects in your controller. You can view this tutorial by using this link How To Validate Requests In L...

Organising PHP Exception Classes

In this tutorial we're going to investigate how we can organise PHP exception classes better in PHP. In PHP you have a lot of options for exception classes each allow you to catch different error stat...

Laravel Resource Test Template

If you've used Laravel for some time you'll understand the use of the Controller Resource. It's a quick way of defining the functionality of a controller done to the core 7 functions. Index Create St...

DRY Create And Update Laravel Form Requests

In this tutorial we're going to investigate how we can reuse the logic in Laravel Form requests for the difference between Create and Update requests. Laravel form requests are great, they allow you t...

Free Files For February 2018

Each month the Envato marketplace brings you free premium files, here's the free files for February 2018. Envato is a web marketplace where you can get premium files for different areas of your websit...

Compiling Sass With NPM

In this tutorial we're going to look at how we can compile SASS using a NPM package. The package that we're going to use to compile the SASS is called node-sass. This is a node package that will bind...

Free Files For January 2018

Happy New Year! Each month the Envato marketplace brings you free premium files, here's the free files for January 2018. Envato is a web marketplace where you can get premium files for different areas...

Laravel Command To Import Into Algolia

In the previous article we investigated how you can use Algolia with Laravel to create a realtime search. In this tutorial we learnt about the Laravel Scout command of import that allows you to import...

Laravel & VueJS Algolia Search

I wanted to use an Algolia search box on my website and found that they've already done a lot of the hard work for me, by creating the vue-instantsearch package. This allows me to quickly hook into th...

Quick Tip To Speed Up Your Laravel Tests

Here is a quick tip that will speed up your Laravel unit tests straight from Taylor Otwell (the creator of Laravel). Update your CreatesApplication trait to include this Hash::setRounds call and then...

Laravel Smoke Test Guest URLs

In this tutorial we're going to build a test class that will run through all guest URLs defined in our web.php routes and check that they all return a HTTP status of 200. This is allow us to quickly c...

Creating A Laravel Contact Form Package

In this tutorial we're going to create our own Laravel package that will give you all the functionality you need to add a contact form to your website. If you want to learn more about building your ow...

Free Files For December 2017

Each month the Envato marketplace brings you free premium files, here's the free files for December 2017. Envato is a web marketplace where you can get premium files for different areas of your websit...

Creating A Login Page With Tailwind CSS

In this tutorial we're going to use the Tailwind utility library to build a login page for a new app. The final result for this login page is going to look like the image above. The starting HTML for...

Algolia Custom Query Import With Laravel

In this tutorial we're going to create a Laravel command we can use to import queried models into Algolia search index by using Laravel scout. What Is Laravel Scout? Laravel scout is a simple package...