Database

MigrationsArtisan

Laravel running migrations on "app/database/migrations" folder recursively

Title: Efficiently Running Laravel Migrations Recursively in Subfolders

7 July 2026 · Stefan Bogdanescu
DatabaseEloquent

How to Concatenate Columns with Laravel Eloquent: The Elegant Solution

As developers working with Laravel and Eloquent, we often need to manipulate data retrieved from the database before it is presented to the user. A common...

7 July 2026 · Stefan Bogdanescu
EloquentDatabase

How can I paginate a collection?

Title: Efficiently Paginate Merged Collections in Laravel Applications

7 July 2026 · Stefan Bogdanescu
MigrationsDatabase

How to make column unique and index it in Laravel Migration?

Title: Efficiently Making Columns Unique and Indexed in Laravel Migration Body: When working on a database or migrating your tables, it is essential to...

7 July 2026 · Stefan Bogdanescu
EloquentPerformance

Laravel 6.0 Eloquent - sort by date and status

Title: Laravel 6.0 Eloquent - Effective Sorting by Date and Status for Multiple Columns

7 July 2026 · Stefan Bogdanescu
EloquentDatabase

Laravel : add new row in model table

Title: Efficiently Add New Rows to Model Tables in Laravel: A Comprehensive Guide for Beginners

7 July 2026 · Stefan Bogdanescu
DatabaseMigrations

laravel seed rollback after seeding database

Title: Rolling Back Laravel Seed Data After Database Seeding

7 July 2026 · Stefan Bogdanescu
BladeDatabase

How to pass value on onclick function in laravel

Title: Efficiently Passing Database Values to onClick Functions in Laravel Using Blade

7 July 2026 · Stefan Bogdanescu
EloquentArtisan

How to perform a delete operation on a Model?

Title: Efficiently Performing Delete Operations on Models in Laravel

7 July 2026 · Stefan Bogdanescu
EloquentDatabase

Laravel adding data to pivot table while inserting new record

Title: Effortlessly Adding Data to Pivot Tables While Inserting New Records in Laravel

7 July 2026 · Stefan Bogdanescu
ValidationEloquent

Laravel: Validation unique on update

Title: Laravel: Validation Unique on Update - Addressing the Challenge of Passing ID to Rules

7 July 2026 · Stefan Bogdanescu
EloquentDatabase

What is the difference between BelongsTo And HasOne in Laravel

Title: Demystifying BelongsTo and HasOne Relationships in Laravel Eloquent

7 July 2026 · Stefan Bogdanescu
ErrorsDatabase

Call to undefined method Illuminate\Database\Query\Builder::lists() when seeding after updating to Laravel 5.3

Title: Understanding Call to undefined method issue when seeding after updating to Laravel 5.3 Body

7 July 2026 · Stefan Bogdanescu
EloquentDatabase

How to check if row is soft-deleted in Eloquent?

Title: Efficiently Checking for Soft Deleted Rows in Laravel Eloquent Models

7 July 2026 · Stefan Bogdanescu
ErrorsDatabase

Column not found: 1054 Unknown column '0' in 'field list' - Laravel - I don't have a 0 column anywhere in my code

Title: Decoding the Mystery Behind 'Column not found' Error in Laravel Applications - Understanding and Solving Unknown Column Issues

7 July 2026 · Stefan Bogdanescu
EloquentAPI

Dealing with Existing Attribute Sets: A Programmatic Approach

Managing attribute sets is a common challenge for e-commerce platforms where the number of products can grow rapidly. If you find yourself needing to add an...

6 July 2026 · Stefan Bogdanescu
EloquentDatabase

Laravel using where clause on a withCount method

Now, you can use the upvotes relationship to get all posts with more than five upvotes

6 July 2026 · Stefan Bogdanescu
EloquentTesting

Laravel table relationship to pivot table

Title: Clarifying Laravel Table Relationships with Pivot Tables

6 July 2026 · Stefan Bogdanescu
DatabaseErrors

How to get sum of two different columns with Laravel Query Builder?

Title: Mastering Summation with Laravel Query Builder for Multiple Columns

6 July 2026 · Stefan Bogdanescu
EloquentDatabase

Sort Eloquent Collection by created_at

Title: Efficiently Sorting Eloquent Collections by Createdat

6 July 2026 · Stefan Bogdanescu
DatabaseEloquent

how to use php explode in laravel?

Title: Efficiently Using PHP Explode Function in Laravel for User Details Management

6 July 2026 · Stefan Bogdanescu
DatabaseEloquent

What is different between save(), create() function in laravel 5

Title: Understanding the Difference Between save() and create() Functions in Laravel 5

6 July 2026 · Stefan Bogdanescu
EloquentDatabase

Laravel Eloquent: Ordering results of all()

Title: Efficiently Ordering Results of all() with Laravel Eloquent

6 July 2026 · Stefan Bogdanescu
ErrorsAuthentication

How to solve "The payload is invalid" in Laravel 8 when the payload suddenly becomes NULL

Title: Troubleshooting "The Payload is Invalid" Errors in Laravel Encrypter Code Body

6 July 2026 · Stefan Bogdanescu

Our network