Blog

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

Laravel Company
laravel testing

Database Session creates another record after logging out

Explain why Laravel database sessions can create new records on logout and how to test and correct session lifecycle behavior.

2024-01-09 Chron
Laravel Company
laravel precognition

Laravel Precog always returns success

Troubleshoot why Laravel Precog validation appears to always return success in Inertia Vue forms and restore correct live validation behavior.

2024-01-08 brodenbrett
Laravel Company
laravel stripe

Laravel cashier The resource ID cannot be null or whitespace

Resolve the Stripe Laravel Cashier resource ID error by ensuring null handling in your database and understanding how Cashier initializes stripe customers.

2024-01-06 Gerulisss
Laravel Company
laravel mysql

RateLimiter causing MySQL deadlock on cache access

Diagnose and fix the MySQL deadlock caused by Laravel's RateLimiter when rate keys collide under concurrent webhook traffic.

2024-01-05 mankowitz
Laravel Company
security video

How to secure an API-generated video embed link and prevent user sharing?

Learn how to issue short-lived signed video embed tokens tied to user identities, preventing link sharing while preserving playback continuity.

2024-01-04 Shivamyadav
Laravel Company
laravel analytics

Analytics dashboard

Explore self-hosted analytics package options for a Laravel admin dashboard, including Spatie Analytics, Prometheus, and custom implementations.

2024-01-03 _chris
Laravel Company
code-review ai

How to review AI-generated code

Practical strategies for reviewing large volumes of AI-generated frontend and backend code without missing security or logic defects.

2024-01-02 phpMick
Laravel Company
laravel php

Get Inserted Id from DB::insert()

Learn how to efficiently insert over 100,000 records in Laravel using CLI and PDO while retrieving the last inserted ID without sacrificing performance.

2024-01-01 Sureshkumar