Blog

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

Laravel Company

How to use composite primary key in laravel 8?

# How to Use Composite Primary Keys in Laravel 8: Handling Preexisting Database Structures As a senior developer working with existing database schemas, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get date from timestamp in laravel

# Mastering Date Extraction in Laravel: Getting Dates from Timestamps with the Query Builder As developers working with relational databases through an ORM...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel DB::transaction() return value

# Demystifying `DB::transaction()`: Understanding Return Values and Error Handling in Laravel As developers move into database operations, understanding how...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - How to revert local storage symlink and refresh

Title: Laravel - A Comprehensive Guide on Reverting Local Storage Symlink and Refreshing Your Development Environment Body: When you work with Laravel, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Adding TextInput only during create, not update using Filament

# Mastering Conditional Fields in Filament: Showing Password Only on Creation, Not Update As developers building complex interfaces with frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Using multiple required_if in a validation rule

# Mastering Conditional Validation: Using Multiple `required_if` Rules Effectively in Laravel As senior developers, we frequently encounter scenarios where...

2026-06-29 Stefan Bogdanescu
Laravel Company

How Can I add Custom javascript file in my laravel project?

# How Can I Add Custom JavaScript Files in a Laravel Project? A Complete Guide Adding custom JavaScript functionality to a Laravel application is a fundamental...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Validate Current Password Against User Input Using Laravel Validator?

# How to Validate Current Password Against User Input Using Laravel Validator Implementing secure password change functionality is one of the most critical...

2026-06-29 Stefan Bogdanescu
Laravel Company

Change string to text type in Laravel migration

# Mastering Schema Changes: How to Safely Change String to Text in Laravel Migrations As developers working with Laravel and relational databases, managing...

2026-06-29 Stefan Bogdanescu
Laravel Company

Send custom 500 http response from Laravel

# Sending Custom HTTP Status Codes in Laravel: Mastering Error Responses As developers working with web frameworks like Laravel, managing HTTP...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to upload files with inertia js and laravel 8.0

# Mastering File Uploads in Inertia and Laravel: Solving the Multipart Mystery File uploads are one of the most common, yet often trickiest, features when...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel routes return 500 error

# Resolving Laravel 500 Errors on Custom Routes: A Deep Dive into Deployment Issues As a senior developer, I often encounter frustrating deployment issues...

2026-06-29 Stefan Bogdanescu