Blog

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

Laravel Company

Laravel validation rules if field empty another field required

Title: Simplifying Laravel Form Validation for Complex Conditions Introduction Laravel's form validation is an essential feature that helps ensure data...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Get Config Variable

Title: Understanding Laravel Configuration Variables: Retrieval and Usage in Templates Introduction: In Laravel, configuration variables are an essential part...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to execute Stored Procedure from Laravel

Title: Efficiently Executing Stored Procedures from Laravel Applications Body: When working on your Laravel application, you might encounter situations where...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Socialite: InvalidStateException

Title: Understanding and Resolving Laravel Socialite's InvalidStateException Error Introduction: In this blog post, we will explore the nature of Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent: sum with groupBy

Title: Efficiently Sum and Group Data Using Laravel Eloquent Queries - A Comprehensive Guide When it comes to handling large datasets in your application,...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to validate array in Laravel?

Title: Comprehensive Guide on Validating Arrays in Laravel Applications Introduction: In modern web development, data validation is crucial to ensure the...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to fix error on Foreign key constraint incorrectly formed in migrating a table in Laravel

Title: Fixing Foreign Key Constraint Errors While Migrating Tables in Laravel When migrating your database tables in Laravel, you may encounter unexpected...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel needs to display only the date not the time using the Carbon class

Title: Displaying Dates Without Times using Carbon Class in Laravel In this comprehensive blog post, we will discuss the necessity of displaying dates without...

2026-06-29 Stefan Bogdanescu
Laravel Company

Array Push in Laravel

Title: Displaying Static Select Options with Laravel: Adding 'Others' Item without Database Interference Introduction: In today's world of web applications,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Spatie Roles: get the current user's role

Title: Laravel Spatie Roles: Retrieving the Current User's Role with Ease Introduction: In a Laravel-based application that utilizes the Spatie/Roles library,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get the Query Executed in Laravel 3/4

Title: Retrieve Executed SQL Queries in Laravel 3/4 using Query Builder or Eloquent ORM Body: Retrieving the Raw Executed SQL Query Using Laravel Query Builder...

2026-06-29 Stefan Bogdanescu
Laravel Company

LARAVEL 9. ERROR LARAVEL EMAIL: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1

Title: Troubleshooting Laravel Email Issues: Fixing SSL Connection Errors in Laravel 9 Applications Body: Greetings to the Laravel community! Email issues can...

2026-06-29 Stefan Bogdanescu