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

Create Config Files For VueJS

In this tutorial we're going to learn how you can create different configuration files to be used on your VueJS/Laravel application depending on which environment you're working in. If you're working...

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

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

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

VueJS Laravel Pagination Component

In this tutorial we're going to build a VueJS component you can use in your Laravel 5.4 projects when dealing with pagination. A component is one of the most powerful features of VueJS they allow you...

Create Model Caching Layer In Laravel

In this tutorial, we're going to learn how you can create a caching layer in your Laravel application to help speed up your website and reduce the number of requests to your database. We're also going...

Create Test Database For Unit Tests On Laravel

When you're testing your Laravel application particularly with functional tests there will be times where you need to test database interactions, such as if you testing the form posting you'll need to...

Deploying With Envoy

In this tutorial we're going to look at how you can use Envoy to make it very easy to deploy your Laravel applications. Envoy provides a nice blade style syntax way of running commands on your remote...

Getting Started With Laravel

Laravel is one of the most popular, if not THE most popular PHP framework and after using Laravel and comparing it with the likes of Zend and Symfony it's easy to see why, over the courses of multiple...

Configuring Multiple Database Connections In Lumen

In Lumen you can create a database connection by filling out the default information you can find in .env file. But if you need multiple database connections you can do so by adding a new database con...