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...

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...

Creating View Classes In Laravel

In this tutorial we're going to investigate creating view objects in Laravel. This functionality is very useful if you have multiple routes that return the same view in different ways. For example if...

Reduce CSS File Size With CSS Purge

In this tutorial we're going to learn how we can use a JavaScript library called Purge CSS to MASSIVELY reduce the sizes of CSS files. The way it will reduce the CSS file by searching for all the used...

How To Create Your Own Laravel Package

In this tutorial we're going to learn the how and why we will build a Laravel package. Laravel packages are one of my favourite features of using Laravel, if you come from a WordPress background think...

Laravel Unit Testing Commands

In this tutorial we're going to learn how you can unit test your Laravel artisan commands so that you can make sure they're doing exactly what you expect them to do. When unit testing it's important t...

How To Validate Requests In Laravel

When it comes to validation in Laravel there are several ways you can go about this. In this tutorial we're going to investigate the different ways you can achieve this in Laravel and I'll go through...

Using Homestead Per Project

When using Homestead with your Laravel projects there are two approaches you can take with it. You can either install Homestead globally and use all your sites on a single Homestead virtual machine or...

Using Mailhog With Homestead

Homestead is a package you can use in your Laravel development to create a local development environment for your application with all the services installed you can use to improve the workflow of you...

Create A Contact Form With VueJS And Laravel

In this tutorial we're going to learn how we can create a VueJS component for a contact form and create a Laravel API Endpoint that will send the message from the contact form. VueJS Contact Component...

Laravel Route Model Binding

This is one of my favourite features of Laravel routing and one of the features I see most underused, it's the model binding on the router. Let's think about the standard route you will create for say...

Laravel Debugbar Package

The Laravel debug package is always the first package I install when starting a new Laravel project. This makes it so easy to debug any performance problems you have in your application. It provides a...

Creating Your Own Artisan Commands

Command line scripts can be a big benefit to your application, they're a great way to automate certain tasks or make it easy to get your application up and running quickly. Maybe you have a create tes...

PHP Code Sniffer And Fixer

In this tutorial we're going to learn how we can install code sniffer and a fixer to help us keep to a coding standard. Coding standards are a set of rules that your code must follow, having consisten...

Using Font-Awesome With Laravel

In this tutorial we're going to learn how to use Font-awesome in our Laravel projects while using webpack and mix to compile our assets to use on the front-end. Install Font-Awesome First you need to...