opscale-co/actions
Opscale Actions is a Laravel package for encapsulating business logic in reusable, testable action classes. Compose actions with dependency injection and validation to keep controllers and models thin, improve code organization, and make complex workflows easier to test and maintain.
AsListener attribute support and a ListenerAdapter, reducing the glue code needed to register action classes as Laravel event listeners. PMs can use this to justify standardizing event-driven side effects—notifications, audit trails, webhooks, workflow triggers—without custom EventServiceProvider wiring for every action.Consider adopting this package when:
Look elsewhere when:
For executives: This is a low-cost developer-productivity improvement. It helps teams ship event-driven features faster by removing repetitive listener registration code, while keeping the product on standard Laravel events. Lock-in is limited because the package is an adapter, not a replacement for the framework’s event system.
For engineering: v4.1.0 adds AsListener support and a ListenerAdapter, making it easier to register action classes as listeners through attributes instead of manual provider wiring. This improves discoverability, keeps listeners small and testable, and can be adopted incrementally. Recommend a pilot on one bounded feature, pin the version, add integration tests, and retain native Laravel listeners as the fallback. Measure reduction in boilerplate and lead time before standardizing across teams.
How can I help you explore Laravel packages today?