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

Creating A Navigation Bar With Tailwind

In this tutorial we're going to investigate using the new Tailwind CSS library and look into build a navigation bar with tailwinds. If you haven't heard or used Tailwinds have a look at a previous art...

Shorthand Comparisons In PHP

In this tutorial we're going to investigate how we can improve our code by cleaning up unnecessary code by using shorthand code samples in PHP. So what do I mean by removing unnecessary code? The most...

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

Using a Utility CSS Library

When looking to redesign my website, I was looking at using some of the new CSS frameworks that are out there. I'm not a designer, I don't claim to be. I don't have the designer eye, so I need all the...

Laravel Interactive Make

Found this useful Laravel package which works you through the Laravel artisan make command. Using this package you can easily generate the commands for. - Auth Controller Command Event Job Listener...

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

Free Files For November 2017

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

PHP7 Array Iteration Trick

In this tutorial we're going to look into a look tip for dealing with PHP array iterations with PHP 7. When you're developing in PHP and need to iterate over an array you'll probably see something lik...