Blog

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

Laravel Company

rename column in laravel using migration

Changing a Column Name in Laravel Migrations Renaming a column in Laravel using migrations is an essential task when you want to modify your database schema...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.4^ - How to customize notification email layout?

Title: Customizing Notification Email Layout in Laravel 5.4 - A Comprehensive Guide Body: When it comes to customizing notification email layouts for your...

2026-06-29 Stefan Bogdanescu
Laravel Company

Eloquent casts decimal as string

Title: Understanding Eloquent's Decimal Casting Issues and How to Fix Them Body: Introduction When working with Eloquent models, you may encounter situations...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.5 change unauthenticated login redirect url

Title: Changing Unauthenticated Login Redirect URL in Laravel 5.5 without Modifying Vendor Files In Laravel, it is always good practice to keep your project...

2026-06-29 Stefan Bogdanescu
Laravel Company

Add default value to select list in Laravel form::select

Title: Efficiently Adding Default Values to Select Lists in Laravel Forms Body: Incorporating default options and disabling them can be a crucial aspect of...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Use custom request (make:request)? (laravel) Method App\Http\Requests\Custom::doesExistI does not exist

Title: Mastering Custom Requests in Laravel: A Comprehensive Guide Introduction: In today's dynamic web applications, custom requests play a vital role in...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel orderBy on a relationship

Title: Efficiently Ordering Relationships in Laravel Applications Introduction Organizing data is one of the crucial aspects of building web applications that...

2026-06-29 Stefan Bogdanescu
Laravel Company

Simple search in laravel

Title: Simplifying Search Functionality in Laravel Projects Body: Searching through your application's data can seem complicated at first, especially when it...

2026-06-29 Stefan Bogdanescu
Laravel Company

php artisan migrate:fresh --seed can't seed a table into MySQL

Title: php artisan migrate:fresh --seed can't seed a table into MySQL and Possible Solutions Body: You have encountered an issue when running the command `php...

2026-06-29 Stefan Bogdanescu
Laravel Company

Livewire: Unable to call component method. Public method [childMethodName] not found on component: [parent]

Title: Troubleshooting Livewire Components: Understanding Public Method Scopes in Child and Parent Components Introduction: Laravel Livewire is an incredible...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to validate input data using ajax in laravel

Title: Validating Input Data Using Ajax in Laravel: A Comprehensive Guide Body: Validating user input data is crucial for maintaining the integrity of your web...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get all users with role in Laravel

Title: Effectively Retrieve Users with Specified Roles in Laravel Introduction In Laravel, managing roles and relationships between users and their assigned...

2026-06-29 Stefan Bogdanescu