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

What's New In Laravel 5.5

Laravel 5.5 is due to be released in July 2017, in every new release of the frameworks there's always some cool new features to investigate, so let's take a look at what's new. Laravel Package Auto Di...

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

MySQL Workbench And Homestead

If you do Laravel development then you most likely are using Homestead for your local development environment, if you're not using Homestead then I can't recommend it enough to get you started. Homest...

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

Laravel Specific Key Was Too Long

When you're using Laravel migrations have you ever come across the error 1071 Specified key was too long; max key length is 767 bytes. There was a change in Laravel 5.4 that changed the default databa...

MySQL Workbench To Laravel Migration

We all have our favourite database GUIs, some work with PHPMyAdmin others use tools such as MySQL Workbench. I tend to use MySQL Workbench more than any database GUI tool. MySQL Workbench is a cross-p...