Blog

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

Laravel Company

Getting only the filename in laravel 5

# Getting Only the Filename When Listing Files in Laravel As developers working with file systems, one of the most common tasks is listing files within a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - Passing Request to Queue Job

# Laravel Queues: The Right Way to Pass Data to Your Jobs (Avoiding the `$request` Trap) As developers working with Laravel, we often encounter a common hurdle...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to fix laravel 8 UI paginate problem?

Title: Troubleshooting UI Pagination in Laravel 8: A Comprehensive Guide Introduction: Laravel 8 has introduced several new features and changes that may cause...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to fix failed to open stream: No such file or directory in /home/zakouz/public_html/vendor/composer/autoload_real.php on line 66

# Fixing the Dreaded "Failed to Open Stream: No Such File or Directory" in Your Composer Autoload As developers working with PHP frameworks like Laravel, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Query using with() statement

# Mastering Nested Constraints: Using `with()` for Scoped Relationships in Laravel Have you ever tried to scope your eager loading using the `with()` method,...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use the query builder updateOrInsert method?

# Mastering Data Manipulation: The Right Way to Use `updateOrInsert` in Laravel As developers working with relational databases in Laravel, we often seek...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check if user online laravel

# Mastering User Presence: How to Check if a Laravel User is Online As senior developers working with Laravel, managing user presence—determining if a user is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Echo "Echo is not defined"

# Laravel Echo "Echo is not defined": Debugging the JavaScript Context Error Welcome to the world of real-time communication with Laravel! Setting up Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

npm install errors on vagrant/homestead/windows: EPROTO: protocol error, symlink

# Conquering the Chaos: Debugging npm Install Errors in Virtual Environments (Vagrant/Homestead) Setting up development environments, especially when mixing...

2026-06-29 Stefan Bogdanescu
Laravel Company

filament php : How to add a dropdown menu to the left side bar (navigation)

# Filament PHP: How to Add a Dropdown Menu to the Left Sidebar (Navigation) As a senior developer working with the powerful framework of Filament, you often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel multiple tables per migration

# Mastering Laravel Migrations: The Best Approach for Interrelated Tables Welcome to the world of Laravel! As you start building complex applications,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel connecting to remote mysql database

# Connecting Laravel to Remote MySQL: Troubleshooting Connection Failures Connecting a Laravel application to an external, remote database is a fundamental...

2026-06-29 Stefan Bogdanescu