Laravel Macros Postmortem
How Laravel macros add methods to a class at runtime with the Macroable trait, with examples and where to register them in your app.
The AI-First Future Starts Here
Founder & CEO, Contrive Solutions
15+ years in software engineering, SaaS, AI automation and enterprise application development
Rohan Jalil founded Contrive Solutions in 2014 and runs it as CEO. He has been building production software since 2010, first PHP and Laravel SaaS platforms, then AI systems: LangGraph agents, retrieval pipelines, n8n automation and voice agents on the OpenAI Realtime API. He holds an MS in Computer Science from LUMS. On Insights he writes about Laravel internals, AI agents and the production failures behind them.
How Laravel macros add methods to a class at runtime with the Macroable trait, with examples and where to register them in your app.
Stop Laravel Form Requests from redirecting when API validation fails, and return a proper error response with the right status code.
Building Shopify themes locally with Theme Kit instead of the online editor, plus the store theme limits to know first.
© 2014-2026 Contrive Solutions. All rights reserved. Privacy Policy Terms of Service
Tell us about your project and our team replies within one business day.