๐ Tired of rewriting CRUD logic in every Laravel project?
After building countless APIs, I got fed up with repeating filtering, eager loading, pagination, and resource handling.
So I built Laravel Core CRUD โ a reusable package that automates the boring parts while keeping your architecture clean and scalable.
โก Key Features:
-Ultra-Thin Controllers: Just extend CoreCrudController and define your Service in constrain(). No more fat controllers.
-Smart Auto-Resolution: Models, Resources and Requests are automatically handled.
-Advanced Filtering: =,!=, LIKE, BETWEEN, IN, Date, NULL checks.
-Dynamic Eager Loading: Frontend requests only the relationships it needs.
-Consistent API: Standardized JSON responses and pagination.
๐ Architecture
-UserController โก CoreCrudController โ defines UserService in constrain()
-UserService โก CoreCrudService โ handles queries, filtering, pagination, relationships
-UserResource โ auto-resolved
-UserRequest โ auto-resolved
-User โ Eloquent model
Everything is auto-resolved, keeping your controllers ultra-thin and your code DRY, maintainable, and professional.
๐ฆ Install via Composer:
composer require rizkussef/laravel-core-crud
๐ Check it out:
Packagist: https://lnkd.in/dSJhKxJf
GitHub: https://lnkd.in/dX7q7xPk

Top comments (0)