Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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:...
Laravel - toArray() vs getAttributes()
# Laravel Query Results: Understanding the Difference Between `toArray()` and `getAttributes()` As developers working with complex database queries in Laravel,...
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...
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...
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...
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...
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...