Category: Laravel

single action controller

Single Action Controller in Laravel

In this post, we’re going to find out what is a Single Action Controller, how to create one, and what are the pros and cons of using it. Let’s dive in!     What...

Laravel Use UUID in Eloquent Models

Laravel Use UUID in Eloquent Models

Let’s find out how to set up Eloquent Models to use UUIDs are Primary Key in a MySQL database, instead of auto-incrementing integers. I won’t go into depth about the pros and cons of...

Laravel Custom Helper Functions Featured Image

Laravel Custom Helper Functions (How-to)

In this post, we’re gonna be looking at how to create custom helper functions that can be globally used, meaning they can be called on both back-end such as Controllers and Services and front-end...