apie/common package provides action-based abstractions (e.g., CreateObjectAction, GetListAction, RunAction), which align well with Laravel’s service-layer pattern and repository pattern. These actions can encapsulate business logic, reducing controller bloat and promoting separation of concerns.apie/rest-api leveraging these actions implies the package is API-first, making it a strong candidate for Laravel API projects (Lumen or Laravel HTTP layer).config/services.php.apie/core or apie/rest-api.GetListAction) may need rigorous testing in Laravel’s context.apie-lib ecosystem actively maintained? (Check GitHub activity, issue responses.)Illuminate\Support\Facades, Spatie’s packages) that achieve similar goals?Creating, Retrieved)?AppServiceProvider or a dedicated ApieServiceProvider.Route::bind() or API resource controllers.FormRequest for validation (e.g., GetListAction + ListRequest).GetListAction to use Laravel’s query scopes or global scopes.CreateObjectAction) in a non-critical module.// config/apie.php
'actions' => [
'default_persistence' => 'database',
'cache_ttl' => 300,
],
apie/common dependencies (e.g., symfony/options-resolver) for conflicts with Laravel’s ecosystem.psr/log implementations).Nova, Vite, Horizon), wrap them in facades or decorators.CreateObjectAction + Eloquent).GetListAction for complex filtering (e.g., Laravel Scout, database indexes).CreateObjectAction overhead).apie-lib updates for breaking changes (e.g., action signatures).app/Actions/ExtendedCreateAction.php).when() method or conditional logic to handle edge cases.apie-lib is abandoned) by forking or rewriting critical actions.App\Exceptions\ActionFailedException).apie-lib maintainers for Laravel-specific issues (if any).RunAction for background jobs (e.g., dispatch(new RunAction($method))).GetListAction results with Laravel’s Cache facade or Redis.$list = Cache::remember("resource_list_{$filters}", now()->addHours(1), fn() =>
(new GetListAction())->execute($filters)
);
GetListAction filters to use Laravel’s query builder efficiently.retry() helper or queue retries for idempotent actions.How can I help you explore Laravel packages today?