Blog

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

Laravel Company

Using Artisan::call() to pass non-option arguments

Title: Efficiently Passing Non-Option Arguments with Artisan::call() in Laravel Body: In your Laravel application, you might have encountered situations where...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to return routes to views in laravel

Title: Exploring Route Rendering in Laravel: The Correct Way to Load Views Using Routes Introduction Laravel is a powerful PHP framework that provides a wide...

2026-06-29 Stefan Bogdanescu
Laravel Company

Return new id with DB::insert() in Laravel 4

Title: Retrieving New IDs with DB::insert() in Laravel 4: A Comprehensive Guide Introduction: In the world of web development, databases play a crucial role in...

2026-06-29 Stefan Bogdanescu
Laravel Company

file_put_contents , failed to open stream: No such file or directory Laravel

Title: Troubleshooting file_put_contents Errors and No Such File or Directory Issues in Laravel Body: File_put_contents errors along with "failed to open...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel, How to use where conditions for relation's column?

Title: Mastering Eloquent Relational Queries in Laravel for Complex Scenarios Body: Restaurant management applications often involve multiple tables and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - Guzzle Request / cURL error 6: Could not resolve host

Title: Understanding and Resolving Laravel Guzzle Request / cURL Errors When Resolving Host Issues Introduction: In this blog post, we will be exploring the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Creating users table in Laravel

Title: A Comprehensive Guide to Recreating Laravel's Users Table for Authentication Body: Creating users table in Laravel can be challenging if you have...

2026-06-29 Stefan Bogdanescu
Laravel Company

Sending POST request with Guzzle in Laravel

Title: Sending POST Requests with Guzzle in Laravel for Zoho Mail API Body: Sending emails via APIs can be an effective way to automate and streamline your...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to delete all the rows in a table using Eloquent?

Title: Efficiently Deleting Entire Tables Using Eloquent in Laravel Introduction Eloquent is the Object Relational Mapping (ORM) library built within Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Test query execution time in laravel

Title: A Comprehensive Guide on Testing Query Execution Time in Laravel Body: In software development, testing is crucial for maintaining the efficiency and...

2026-06-29 Stefan Bogdanescu
Laravel Company

How do I sort a Laravel Collection by multiple properties with both asc and desc?

Title: Sorting Laravel Collections by Multiple Properties with Ascending and Descending Order Introduction: Working with Laravel collections involves...

2026-06-29 Stefan Bogdanescu
Laravel Company

Expected response code 235 but got code 535 laravel send email using office365 smtp

Title: Solving Common Issues with Office365 SMTP and Laravel Email Sending Introduction: Email is an essential aspect of most web applications, and using an...

2026-06-29 Stefan Bogdanescu