Blog
Insights, guides, and best practices from the Laravel Company team.
Is it possible to write an IF inline in HTML for a blade template
# Mastering Conditional Logic in Blade: Can You Write IF Statements Inline in HTML? As developers working with frameworks like Laravel, we constantly seek ways...
laravel how to validate array index and values
# Mastering Array Validation in Laravel: Validating Indices and Values As developers working with dynamic data, handling array structures—especially those...
What does the make() method do in Laravel?
# Decoding Laravel's Eloquent: What Exactly Does the `make()` Method Do? As developers diving into the world of Laravel and Eloquent ORM, navigating the subtle...
How to clear Laravel route caching on server
Title: Managing Laravel Route Caching on Localhost and Server Introduction As a developer, you often encounter issues with route caching in Laravel...
How to get First and Last Day of Previous Month with Carbon - Laravel
Title: Retrieving First and Last Day of Previous Month Using Carbon - Laravel Introduction: In the world of web development, working with dates is an...
Localhost refused to connect using laravel sail (Docker)
# Localhost Refused to Connect Using Laravel Sail with Laravel Octane: A Deep Dive into Docker Networking Issues As a senior developer working with modern PHP...
Getting error "Typed property must not be accessed before initialization" - Laravel Livewire
# Solving the "Typed Property Must Not Be Accessed Before Initialization" Error in Laravel Livewire As senior developers working with dynamic frontends like...
Laravel DB transaction and events
# Mastering Atomicity: Firing Events Reliably After Database Transactions in Laravel As senior developers working with Laravel, we constantly grapple with...
Custom payload with Laravel JWT
# Mastering Custom Payloads in Laravel JWT Authentication As developers working with modern authentication systems, managing the data carried within JSON Web...
How to implement search function in Laravel 5.4
# How to Implement Search Functionality in Laravel: A Step-by-Step Guide Welcome to the world of Laravel! It's completely normal to encounter hurdles when you...
Laravel passing variable to wherehas query
# Mastering Nested Queries: Passing Variables into Laravel's `whereHas` As senior developers working with the Laravel ecosystem, we frequently deal with...
multiple prefix with the same route group
# Mastering Route Grouping: Handling Multiple Prefixes Without Chaos in Laravel As developers building dynamic applications, managing routes efficiently is...