Articles

Showing 10 posts
October 8th, 2024

Enums in Laravel: Everything You Need To Know

Enums were introduced in PHP 8.1, and Laravel has taken full advantage of their power. Let's take a look at how you're able to use Enums in your Laravel projects today.

Author
Alex Garrett-Smith
Laravel
October 7th, 2024

Real-time with Nuxt and Laravel

In this article, we'll get real-time broadcasting working between a Nuxt SPA and Laravel using Laravel Reverb and Echo.

Author
Alex Garrett-Smith
Laravel
Nuxt
WebSockets
October 4th, 2024

Laravel's Invalid Route Action Error Explained

When defining routes in Laravel, sometimes things go wrong. Here's why, and how to fix them.

Author
Alex Garrett-Smith
Laravel
October 1st, 2024

How to change the host and port of your Nuxt apps

For whatever reason (usually CORS), you'll need to change the host and port of your local Nuxt development server at some point.

Author
Alex Garrett-Smith
Nuxt
September 30th, 2024

Dealing with Money in Laravel

Dealing with monetary values in any application is something you have to get right the first time. Without the correct approach, you risk displaying prices incorrectly or worse, making miscalculations.

Author
Alex Garrett-Smith
Laravel
September 27th, 2024

Laravel MethodNotAllowedHttpException Explained

If you see a MethodNotAllowedHttpException when accessing routes or submitting forms in Laravel, here's why that happens and how to fix it.

Author
Alex Garrett-Smith
Laravel
September 25th, 2024

Flash notifications with Inertia, Laravel and Vue

In this article, we'll go through every step to getting flash notifications working in your Inertia apps when using Laravel and Vue, including building our own plugin to keep everything nice and clean.

Author
Alex Garrett-Smith
Inertia
Laravel
Vue
September 20th, 2024

How to define global middleware in Laravel 11

Since Laravel removes the Kernel class for registering middleware, here's how to define global middleware in your Laravel apps.

Author
Alex Garrett-Smith
Laravel
September 19th, 2024

How to Check Your PHP Version (3 Ways)

There are several ways to check which version of PHP you're running. Let's go through each one.

Author
Alex Garrett-Smith
PHP
Server
September 18th, 2024

Running Laravel Dusk on GitHub Actions

Without wasting time, this article will have you set up and running your Dusk test suite on GitHub Actions. We'll also discuss security around any secret keys you may need. Let's take a look.

Author
Alex Garrett-Smith
Laravel
Testing

Tags