Blog

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

Laravel Company

Install and configure supervisord on centos 7 to run Laravel queues permanently

Title: Install and Configure Supervisord on CentOS 7 for Permanent Laravel Queue Management Introduction: Queues play a crucial role in scalable software...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel. Use scope() in models with relation

Title: Laravel: Effectively Using Scopes with Eloquent Relationships In the world of Laravel development, you often work with multiple related models. One such...

2026-06-29 Stefan Bogdanescu
Laravel Company

How can you include column headers when exporting Eloquent to Excel in Laravel?

Title: Incorporating Column Headers in Laravel Eloquent Excel Exports Body: We've recently been asked how to include column headers when exporting Eloquent...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Class 'GuzzleHttp\Client' not found

Title: Common Issues and Solutions for Laravel 'GuzzleHttp\Client' Not Found Error Body: A common issue encountered by developers using Laravel is the...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to check if a folder exists before creating it in laravel?

Title: Efficiently Checking for Folders and Creating Them in Laravel Body: In many web applications, especially when working with images or storage-related...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - DecryptException: 'The MAC is invalid'

Title: Common Issues and Solutions for DecryptException in Laravel Applications Introduction Laravel is an open-source PHP framework that simplifies the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - Query Model if values contain a certain string (taken from search input)

Laravel Searching Models Containing Certain Strings Querying models in Laravel that contain specific strings can be quite useful when implementing search...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to create global function that can be accessed from any controller and blade file

Title: Effortlessly Create Global Functions for Access in Any Laravel Controller or Blade File Introduction Laravel is an amazing PHP framework that makes web...

2026-06-29 Stefan Bogdanescu
Laravel Company

Artisan migrate could not find driver

Title: Troubleshooting Artisan Migrate Errors: Fixing "could not find driver" Issues in Laravel Introduction Artisan migrate is an essential command for...

2026-06-29 Stefan Bogdanescu
Laravel Company

419 Page Expired In Laravel Even after adding CSRF token

Title: Solving "419 Page Expired" Issue with Laravel and CSRF Tokens Introduction Laravel is widely used as a PHP framework for building modern web...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to select all column name from a table in laravel?

Title: Effortlessly Retrieving All Column Names from a Table in Laravel Using Eloquent Model Relationships In web development, especially with Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check if session key exists in Laravel 5.1?

Title: Efficiently Checking Session Keys in Laravel 5.1 Introduction ---------------------- In Laravel 5.1, it's essential to be able to efficiently check if a...

2026-06-29 Stefan Bogdanescu