Working with MySQL JSON Columns in Laravel: Custom Properties Example

JSON fields are gaining more popularity since they became officially supported in MySQL 5.7.8. Even the popular Spatie Laravel Medialibrary package use them, so why shouldn't we? This tutorial will show you an example.

Generate Slug Keyword from Title: Laravel + AJAX

If you work with project or blog where records require so-called slug (posts, pages etc.), it's convenient to generate slug immediately after title has been typed in. This article will show you how to do it in Laravel, with AJAX and with a help of one Laravel package.

Multiple File Upload with Dropzone.js and Laravel MediaLibrary Package

File upload is one of the most popular features in modern web. And we have quite a few libraries that can help us to build upload form. Let's take two of my favorites - Dropzone on the front-end, and Spatie MediaLibrary on the back-end, and build a great uploading experience, in this tutorial.
invite only laravel auth

Laravel Auth: Make Registration Invitation-Only

Laravel comes with great Auth out-of-the-box. But some projects don't allow public registration, they send invitation links instead. This article will show you how to implement it.

Laravel: Find Addresses with Coordinates via Google Maps API

Quite often we need to save addresses in the database, and we want them to be accurate. Probably, the best way to ensure it is to provide customers with input field where they choose the address from auto-completed values as they type. This article will show you how to achieve it in Laravel, let's build a "location picker" with Google Maps API.
laravel timezones project

Demo-Project: Managing Timezones for Every User in Laravel

To demonstrate how Laravel works with timezones, we've created a small demo-project. User registration is expanded with Timezone field, and then every...

8 Things You Can Customize in Laravel Registration

Laravel has a great Auth system out-of-the-box, with just a few commands you can have Login/Register functions ready. But let's dive a little deeper and see what we can easily customize.

Did You Know: Five Additional Filters in belongsTo() or hasMany()

Typical Eloquent one-to-many relationship is defined with belongsTo() and hasMany() methods in the model. But did you know you can chain more methods to filter specific records for that relationship? Let me show you what I mean.

Laravel: Upload File and Hide Real URL for Secure Download under UUID

File uploads are one of the essential things in web apps these days. But secure download of these files is sometimes even more important. So how to store files securely so people wouldn't have access to them or guess their URLs or IDs of their records? Here's a small demo tutorial.

Eloquent: Expert Level Course – 4 FREE Lessons and 50% Discount

I've recently launched a new online-course Eloquent: Expert Level. With this article, I want to make you an offer which may convince you to join the course.