Blog

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

Laravel Company

Translate dates Laravel using Carbon

# Translate Dates in Laravel Using Carbon: Mastering Localization and Formatting Hope you are doing well! Dealing with dates and times across different...

2026-06-29 Stefan Bogdanescu
Laravel Company

Update Table Using Laravel Model

Title: Update Table Using Laravel Model: A Comprehensive Guide Body: Updating existing records in a table can be essential when it comes to maintaining the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel ordering results by specific values

# Mastering Custom Ordering in Laravel: Sorting by Specific Values As developers working with relational databases through an ORM like Eloquent, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Validation: how to set a field that is not required to 'null' when input is empty

# Validation: How to Set an Optional Field to `NULL` When Input is Empty As senior developers, we often encounter scenarios where the interface of our input...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.4 : The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths

# Laravel 5.4 Cryptography Crisis: Understanding the AES Cipher Restriction Error As a senior developer working with legacy frameworks like Laravel 5.4, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to create Laravel Model without Eloquent?

# How to Create Laravel Models Without Eloquent: Diving into Raw Database Interaction As a senior developer, I often see developers asking this exact question:...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - toArray() vs getAttributes()

# Laravel Query Results: Understanding the Difference Between `toArray()` and `getAttributes()` As developers working with complex database queries in Laravel,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Filtering Laravel eloquent collections with filter method

# Mastering Collection Filtering in Laravel Eloquent: Fixing the `$filter` Misconception As senior developers working with Laravel and Eloquent, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 Command Scheduler, How to Pass in Options

# Mastering Command Scheduling: How to Pass Options When Using Laravel Scheduler As a senior developer working within the Laravel ecosystem, we frequently deal...

2026-06-29 Stefan Bogdanescu
Laravel Company

vscode tailwind css intellisense not working

# Fixing Tailwind CSS Intellisense Issues in VS Code: A Developer's Guide Welcome to the world of modern CSS tooling! As developers diving into frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to let ID autoincrement start from certain number in Laravel Migration

# How to Let ID Auto-Increment Start from a Certain Number in Laravel Migrations As developers working with relational databases through Laravel, managing...

2026-06-29 Stefan Bogdanescu
Laravel Company

return redirect with json response in laravel

# Returning Redirects with JSON Responses in Laravel: A Developer's Guide As a senior developer working with the Laravel ecosystem, you often encounter...

2026-06-29 Stefan Bogdanescu