Blog

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

Laravel Company

Laravel tests don't rollback transaction after each test

# Unlocking Database Isolation in Laravel Tests: Why Transactions Don't Rollback Automatically As a senior developer, I frequently encounter subtle yet...

2026-06-29 Stefan Bogdanescu
Laravel Company

Changes are not showing in the website Vue Js?

# Changes Are Not Showing in Your Vue.js Website? A Deep Dive into Synchronization Issues As a senior developer working with the Laravel and Vue.js ecosystem,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel custom validation - get parameters

# Laravel Custom Validation: Mastering Parameter Access in Custom Rules As developers working with complex business logic in Laravel, custom validation rules...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 8 Jetstream Inertia All Inertia requests must receive a valid Inertia response

# Laravel Inertia Forms: Understanding Why Your AJAX Requests Need Valid Responses As developers diving into the world of modern full-stack frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to create a token in laravel for rest api?

# How to Create Tokens in Laravel for REST APIs: A Complete Guide with Sanctum Building secure RESTful APIs in Laravel hinges on robust authentication. When...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Validation unique when update and create

# Laravel: Validating Unique Constraints Correctly on Create and Update Operations As a senior developer working with Laravel, managing database...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Generate Random String using Laravel Faker?

Title: Efficiently Generate Random Strings with Laravel Faker: A Comprehensive Guide Introduction: Laravel is a popular PHP framework that comes equipped with...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to deploy Laravel 5.5 app to Godaddy cPanel shared hosting

# How to Deploy Your Laravel 5.5 App to GoDaddy cPanel Shared Hosting: A Developer's Guide Deploying a modern framework like Laravel, especially an older...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

# Laravel Integrity Constraint Violation: Mastering Foreign Keys and Eloquent Relationships As developers dive into frameworks like Laravel, one of the most...

2026-06-29 Stefan Bogdanescu
Laravel Company

Type error: DateTime::__construct() expects parameter 1 to be string, object given in laravel

# Type error: DateTime::__construct() expects parameter 1 to be string, object given in Laravel Time Calculations Dealing with date and time manipulations in...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to pass laravel route parameter to vue

# Bridging the Gap: How to Pass Laravel Route Parameters to Your Vue Components As a developer moving between the server-side world of Laravel and the...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Fix Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() Issue

# How to Fix the `Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos()` Issue in Laravel As a senior developer, I frequently encounter seemingly...

2026-06-29 Stefan Bogdanescu