Blog

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

Laravel Company

How to add minutes to to a date in laravel

# Mastering Time Arithmetic in Laravel: Adding Minutes to Database Timestamps As a senior developer working within the Laravel ecosystem, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 8 return all exceptions as json

# Laravel 8: Returning All Exceptions as JSON for Robust API Development As developers building modern APIs with Laravel, consistency in error handling is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 403 THIS ACTION IS UNAUTHORIZED. when email verifying

# Deciphering Laravel 403 Errors: Troubleshooting Signed Routes in Email Verification As a senior developer working with the Laravel ecosystem, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5: using bcrypt on same string gives different values

# Laravel and Bcrypt: Understanding Why Password Hashes Change Every Time As developers working with authentication systems, understanding the mechanics behind...

2026-06-29 Stefan Bogdanescu
Laravel Company

Composite keys laravel schema builder

# Mastering Composite Keys in Laravel Schema Builder: Navigating Complexity As senior developers working with relational databases in the Laravel ecosystem, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Angular 7 - Display username after successful login

# Angular 7: Displaying the Logged-In Username After a Successful Laravel Login As developers building full-stack applications using frameworks like Angular...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent Sum of relation's column

Title: Calculating Sum of Relation's Column in Laravel using Eloquent Introduction: In this blog post, we will discuss how to calculate the sum of prices (a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 4: how to run a raw SQL?

Title: Efficiently Running Raw SQL Queries in Laravel 4: A Comprehensive Guide Body: Laravel is a robust PHP framework that offers numerous benefits, including...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Cors Middleware not working with POST Request

# Laravel CORS Middleware Not Working with POST Requests: A Deep Dive into Preflight Issues As developers building modern Single Page Applications (SPAs) like...

2026-06-29 Stefan Bogdanescu
Laravel Company

The stream or file "/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

# Solving the dreaded "Permission Denied" Error in Laravel: A Deep Dive into File System Permissions As a senior developer, I’ve seen countless deployment...

2026-06-29 Stefan Bogdanescu
Laravel Company

Call to undefined method Illuminate\Database\Eloquent\Builder::sortByDesc()

# Solving the Sorting Mystery: Understanding Eloquent Builder Methods As senior developers working with Laravel and Eloquent, we often find ourselves chaining...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel DB table and eloquent method updateOrCreate

# Mastering Data Operations: Understanding `updateOrCreate` in Laravel As senior developers working with the Laravel ecosystem, we frequently encounter...

2026-06-29 Stefan Bogdanescu