railken/lem
A Laravel/PHP package by railken with little public traction so far—no stars and limited community validation. Suitable for experimentation or niche use; review the source and documentation carefully before relying on it in production.
composer require railken/lem — then immediately check the package's composer.json for its Laravel constraint. This package predates modern Laravel releases; if you're on Laravel 9+, expect to fork or patch before it will boot. Pin the exact version in composer.json.Logic class you extend, (2) a facade/manager that resolves and dispatches logic classes, and (3) the return object the logic produces. Locate all three in src/ on day one.config/app.php manually and publish config with php artisan vendor:publish --provider=....CreateOrder, CancelSubscription, IssueRefund. Name them as verbs. Resist the urge to build a generic BaseCrudLogic — the readability win comes from each class stating exactly what it does.$request->validate(). The value of the package is that validation rules are declared as part of the operation's contract and are testable outside HTTP. Keep rules as class-level declarations so they're introspectable.LogicA → LogicB → LogicC makes failures hard to trace and tests brittle.CreateOrder::dispatch([...]) (or however the facade resolves it) is callable in a unit test without a request. Build your test suite around this seam.app/Actions/ layer with a single base class extending the package's Logic, so if the package dies you change one file, not two hundred.Container resolution changes, Illuminate\Contracts renames, and PHP 8 type-strictness. Check the package's PHP constraint and test on your actual runtime before committing to an approach.Logic class (override handle/authorize/validators), custom validator classes, and any resolver/manager binding in the service provider. These are where you customize without forking logic everywhere.How can I help you explore Laravel packages today?