Topic: laravel
All the articles about "laravel".
-
How a 6KB Column Was Slowing Down Every Page in My Laravel App
Every page in Growth Method was loading 6KB of invisible vector data per campaign. Here's how I found the problem, the three options I evaluated, and the ten-line global scope that fixed it.
-
Adding User Impersonation to Laravel (The Right Way)
I removed my is_admin column two weeks ago. Now I need to log in as users again. Here's how I added impersonation to Growth Method without reintroducing the super admin concept I'd just deleted.
-
When Your Laravel App Needs Both MCP and API Access
MCP servers are great for AI chat, but sometimes you need the underlying API too. How we handle both in Growth Method using a driver pattern — one credential, two access strategies.
-
Removing Spatie Permissions for a Single Laravel Gate
How I removed spatie/laravel-permission from Growth Method, replaced it with a single Gate and a team_user pivot, and shipped the change in three safe phases. Net result: 295 fewer lines of code and one rule instead of five tables.