Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
Resize image inside modal window
# Mastering Responsive Images: Resizing Media Inside Modal Windows When building modern web applications, especially those involving interactive elements like...
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...
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...
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...
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...