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.

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

Laravel Make Auth Tests

The missing tests to go with the Laravel make:auth command. Can use on every Laravel project for login, register, forgotten password and reset password.

How To Create A Toggle VueJS Component

In this tutorial we're going to build a form components for a checkbox but styled as a toggle. The functionality for this toggle will be just like a checkbox but will move the toggle when the checkbo...

Laravel Send Email When New User Registers

In this tutorial we're going to learn how we can send an email to the application admin user when a new user registers to your Laravel application. In this example we're going to use events and liste...

Laravel Resource Test Template

If you've used Laravel for some time you'll understand the use of the Controller Resource. It's a quick way of defining the functionality of a controller done to the core 7 functions. Index Create St...

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

Laravel Command To Import Into Algolia

In the previous article we investigated how you can use Algolia with Laravel to create a realtime search. In this tutorial we learnt about the Laravel Scout command of import that allows you to import...

Laravel & VueJS Algolia Search

I wanted to use an Algolia search box on my website and found that they've already done a lot of the hard work for me, by creating the vue-instantsearch package. This allows me to quickly hook into th...

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