Blog

Insights, guides, and best practices from the Laravel Company team.

Laravel Company

In Laravel 5, What's the difference between {{url}} and {{asset}}?

# In Laravel 5, What's the Difference between `{{url}}` and `{{asset}}`? I often see developers scratching their heads when they start working with asset...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to keep laravel livewire wire:submit.prevent from reloading the page

# How to Keep Livewire `wire:submit.prevent` from Reloading the Page in Production As a senior developer working with modern Laravel applications, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.7 jobs queue not running async

# Laravel Jobs Queue Not Running Async: Why Your Jobs Are Blocking Execution As a senior developer working with Laravel, managing background jobs efficiently...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to paginate with return as json laravel

# How to Paginate with JSON Response in Laravel: Solving the `links does not exist` Error As a senior developer working with Laravel, building robust APIs...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to return array with custom key mapWithKeys?

# How to Return Arrays with Custom Keys: Mastering `mapWithKeys()` in PHP/Laravel As developers working with Laravel, we frequently deal with transforming data...

2026-06-29 Stefan Bogdanescu
Laravel Company

Apache Mod Rewrite For Laravel

# Mastering URL Rewriting: Solving Pathing Issues in Laravel with Apache Mod Rewrite As a senior developer, I frequently encounter situations where the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Bootstrap 4 Installation With Laravel 5.7

# Bootstrap 4 Installation With Laravel 5.7: Solving the Asset Compilation Mystery As developers working with established frameworks like Laravel, managing...

2026-06-29 Stefan Bogdanescu
Laravel Company

Resize image inside modal window

# Mastering Responsive Images: Resizing Media Inside Modal Windows When building modern web applications, especially those involving interactive elements like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel assumes the database table is the plural form of the model name

# Laravel's Naming Convention: When Model, Table, and Plurality Clash As developers working within the Laravel ecosystem, we often rely on conventions to speed...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to fetch random record using eloquent model

# Mastering Random Data Fetching in Eloquent: A Developer's Guide As a senior developer working with Laravel and Eloquent, you frequently encounter scenarios...

2026-06-29 Stefan Bogdanescu
Laravel Company

LogicException: Please make sure the PHP Redis extension is installed and enabled

Title: Solving LogicException: Please Make Sure the PHP Redis Extension Is Installed and Enabled Introduction Laravel's Redis component is an excellent choice...

2026-06-29 Stefan Bogdanescu
Laravel Company

Checking if column is null Laravel

# Mastering Null Checks in Laravel Eloquent: Solving the `time_out` Mystery As developers working with relational databases through an ORM like Eloquent, one...

2026-06-29 Stefan Bogdanescu