Blog

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

Laravel Company

Test Queue functionality?

# Mastering Job Testing: How to Test Logic When Queueing is Disabled Testing Laravel jobs presents a unique challenge. We often want to ensure that our job...

2026-06-29 Stefan Bogdanescu
Laravel Company

Number conversion to string (laravel)

# Number Conversion to String in Laravel: Mastering Internationalized Formatting As you embark on your journey with Laravel, you’ll quickly find yourself...

2026-06-29 Stefan Bogdanescu
Laravel Company

Understanding static method in laravel Model

# Unlocking Model Power: Understanding Static Methods in Laravel Eloquent When working with the Laravel Eloquent ORM, developers frequently encounter methods...

2026-06-29 Stefan Bogdanescu
Laravel Company

MethodNotAllowedHttpException laravel-4

# Decoding `MethodNotAllowedHttpException`: Mastering Route and Request Handling in Laravel As senior developers working with the Laravel framework, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Failed to parse MongoDB URI: 'mongodb://'. Invalid host string in URI

# Solving the MongoDB Connection Nightmare: Fixing 'Failed to parse MongoDB URI' in Laravel As a senior developer, I’ve seen countless integration headaches...

2026-06-29 Stefan Bogdanescu
Laravel Company

Create a datetime by faker laravel with format dd-mm-yyyy minute hour second, for example : 26/01/2022 20:52:23

# Mastering Custom Datetime Formatting with Laravel Faker: Achieving `dd-mm-yyyy HH:MM:SS` As senior developers working within the Laravel ecosystem, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Install an Older Version of Laravel with Sail

# Downgrading Laravel with Sail: Installing Laravel 8.x on Older PHP Environments Dealing with legacy server environments is a common challenge in software...

2026-06-29 Stefan Bogdanescu
Laravel Company

Storing files outside the Laravel 5 Root Folder

# Storing Files Outside the Laravel Root Folder: A Scalable Approach for Media Assets As developers build applications, managing where files reside is just as...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHP Faker generate unique dates in range

# Mastering Sequential Date Generation with PHP Faker in Laravel Factories As developers working within the Laravel ecosystem, generating realistic and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Should I use try-catch or built in error handling?

# Should I Use Try-Catch or Built-in Error Handling in Laravel? A Developer's Perspective As a senior developer, I often see junior colleagues—and even...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 form request validation returning forbidden error

# Fixing the Forbidden Error: Implementing Ownership Validation in Laravel Form Requests As a senior developer working with Laravel, managing authorization...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel active menu item for url included parameters

Title: Adding Active Class for URL Included Parameters in Laravel Blade Templates In this blog post, we aim to tackle the issue of setting an active class in...

2026-06-29 Stefan Bogdanescu