How To Use .env Variables In Webpack.js

In this tutorial we're going to learn how we can use our .env variables inside the webpack.js config. The benefit of this is that we can now build the frontend assets based off variables in the application.

Creating A Laravel Nova Unverified Lense

In this tutorial we're going to create a new Nova Lens that will quick display to you which users are unverified and the date they signed up.

Laravel Log Missing Translation Strings

Learn how you can log any missing translation strings in Laravel. This will help keep on top of missing translation strings in your Laravel localisation files.

Getting Started With Laravel Nova

Getting started with Laravel Nova, looking into how easy it is to get setup and using Nova to manage the blog.

Automatically Run PHPUnit Tests Before Git Push

When you're working on a project with a strong test suite you'll want to make sure that everything you push to the repository doesn't break any of the tests that you have in your project. This means...

Send An Alert When Laravel Jobs Fail

Laravel Jobs allow you to queue up processes to be done at a later date, this is normally reserved for longer running tasks or tasks that need to communicate with a third party. Common task you send...

Laravel Routing Tips

If your Laravel route file is becoming too large you can pass in a file path to the route `group()` method. This allows you to split up the web routes file into di...

Alias To Enable Disable xdebug

In this tutorial we're going to create a command line alias to quickly enable or disable xdebug. When you install xdebug you will need to register the extension in your php.ini file. This will need t...

Load Google Fonts Async

When you run your website through Google PageSpeed it will highlight the Google web font script as a render blocking file. Using the WebFontLoader to load the web fonts on the page with async and th...

Using Webpack Code Splitting

In this tutorial we're going to investigate a cool webpack feature called code splitting. Code splitting will allow you to reduce the size of your main JavaScript file into different files and lazy l...

Free Files For June 2018

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

Laravel Cache Auth::user()

If you use Laravel debug bar when developing your app you'll notice there is a tab that will show you all the database queries your application is making. This is a great tool to spot areas where yo...

The Problem With Using Redis As Session Driver With Laravel

The problem comes when you're using Redis as both the cache driver and the session driver. By default these are stored in the same Redis database, therefore if you ever clear the cache of your application you will also remove the session information, which results in all your users being logged out.

Laravel User Last Logged In

In this tutorial we're going to create a new Laravel listener that will listen to the user logged in event and then update the user record with the time they logged in. This is a handy feature to che...

Creating a Laravel Package For Auth Tests

In this tutorial we're going to create a new Laravel package for the Auth tests we wrote in a previous tutorial.