Blog

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

Laravel Company

Dynamic mail configuration with values from database [Laravel]

# Dynamic Mail Configuration with Values from the Database in Laravel: Solving Configuration Overrides Building dynamic applications often requires pulling...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel app stopped working after upgrading to php 8

Title: Troubleshooting Laravel App Compatibility Issues after Upgrading to PHP 8 Body: Upgrading your PHP version can be a daunting task, and ensuring that...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to Abort/exit/stop/terminate in laravel console command using code

# Mastering Control Flow: How to Abort and Exit Laravel Console Commands Gracefully As developers building command-line tools, controlling the flow of...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel controller name should be plural or singular?

# Laravel Controller Naming: Singular or Plural? Unpacking the Convention When starting with a new project in Laravel, one of the first structural decisions...

2026-06-29 Stefan Bogdanescu
Laravel Company

The Mix manifest does not exist

# Troubleshooting "The Mix manifest does not exist": A Developer's Guide to Laravel Asset Compilation Welcome to the world of full-stack development! Running...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to customize error messages in Laravel?

# How to Customize Error Messages in Laravel: A Deep Dive As developers building robust applications with Laravel, we often rely on form validation to ensure...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to mock a service (or a ServiceProvider) when running Feature tests in Laravel?

# How to Mock a Service (or a ServiceProvider) when running Feature Tests in Laravel Testing complex applications built on dependency injection, like those...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to write a migrate to undo the unique constraint in Laravel?

# How to Write a Migration to Undo a Unique Constraint in Laravel Dealing with database schema changes, especially constraints like `unique`, is a fundamental...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to send two parameters with livewire emit in javascript?

# How to Send Two Parameters with Livewire Emit in JavaScript: A Complete Guide When working with Livewire, the communication between your frontend...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to upload large file > 5MB in laravel 5

# Mastering Large File Uploads in Laravel: Beyond `php.ini` Settings Uploading large files, such as 10MB images, often presents a common hurdle for developers...

2026-06-29 Stefan Bogdanescu
Laravel Company

Carbon setLocale not working Laravel

# The Mystery of Mismatched Locales: Why `Carbon::setLocale()` Fails in Laravel Dealing with date and time localization issues is a common headache in web...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel how to get the current URL without a domain name?

# Laravel: How to Get the Current URL Path Without the Domain Name As developers working with web frameworks like Laravel, understanding how to interact with...

2026-06-29 Stefan Bogdanescu