Eloquent

EloquentDatabase

Can you create a new Model instance without saving it to the database

Creating New Model Instances Without Saving Them to the Database in Laravel

30 June 2026 · Laravel Questions editorial team
Eloquent

How to sort an assocoative array in php Laravel

Efficiently Sort Associative Arrays by Count in PHP Laravel

30 June 2026 · Laravel Questions editorial team
DatabaseEloquent

Select all from table with Laravel and Eloquent

Efficiently Retrieving All Rows from a Table Using Laravel 4 and Eloquent ORM

30 June 2026 · Laravel Questions editorial team
DatabaseEloquent

What does onDelete('cascade') mean?

OnDelete('cascade'): Understanding Database Relationship Deletion

29 June 2026 · Laravel Questions editorial team
EloquentValidation

Laravel Eloquent $model->save() not saving but no error

Troubleshooting Laravel Eloquent $model->save() Method Issues

29 June 2026 · Laravel Questions editorial team
ErrorsEloquent

Getting cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) error after saving models in laravel 5.4

Resolving cURL Error 3 After Saving Models in Laravel 5.4

29 June 2026 · Laravel Questions editorial team
EloquentErrors

Object of class Illuminate\Database\Eloquent\Builder could not be converted to string in laravel 5.1

Resolving "Object of class Illuminate\Database\Eloquent\Builder could not be converted to string" Error in Laravel 5.1

29 June 2026 · Laravel Questions editorial team
ErrorsRouting

Laravel 5: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

Laravel 5: Integrity constraint violation: 1452 Cannot add or update a child row - A Comprehensive Solution to Your Problem

29 June 2026 · Laravel Questions editorial team
EloquentErrors

Laravel nested relationships

Mastering Laravel Nested Relationships for Seamless Data Retrieval

29 June 2026 · Laravel Questions editorial team
DatabaseEloquent

How to fetch the tables list in database in Laravel 5.1

Efficiently Fetching Table List in Laravel 5.1 Database

29 June 2026 · Laravel Questions editorial team
DatabaseEloquent

How to get distinct values for non-key column fields in Laravel?

Efficiently Handling Distinct Values for Non-Key Columns in Laravel Queries

29 June 2026 · Laravel Questions editorial team
EloquentDatabase

How I can put composite keys in models in Laravel 5?

Composite Keys in Laravel Models - A Comprehensive Guide for Better Database Management

29 June 2026 · Laravel Questions editorial team

Our network