gingerminds / laravel-core
Core CRUD and API functionalities for Laravel projects
3.0.2
2026-07-09 14:31 UTC
Requires
- php: ^8.4
- api-platform/laravel: ^4.3
- laravel/framework: ^12.0
- laravel/sanctum: ^4.2
- laravel/tinker: ^2.9
- livewire/livewire: ^3.5
- spatie/laravel-model-states: ^2.14
- spatie/laravel-permission: ^6.23
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- larastan/larastan: ^3.8
- orchestra/testbench: ^10.0
- phpdocumentor/type-resolver: ^1.8
- phpstan/phpstan: ^2.0
- rector/rector: ^2.0
- squizlabs/php_codesniffer: ^3.0
README
Core package for Gingerminds admin panels: CRUD scaffolding, an API layer built on API Platform 4, authentication, and resource caching.
- CRUD generators (models, repositories, controllers, Blade views, routes)
- API Platform 4 integration (providers, state processors)
- Session-based admin authentication
- Resource caching
Installation
composer require gingerminds/laravel-core
Publish the config file to customize the admin route prefix or override a resource binding (see Configuration):
php artisan vendor:publish --tag=gingerminds-config
Documentation
Getting started
- Resource Model — the model/repository/request structure a resource must follow.
- Configuration — the
admin_prefixsetting and how to override a built-in resource without touching the package. - Commands — reference for every
make:*generator.
Admin panel
- Authentication — login flow, "remember me", and how admin routes get protected.
- User — the User/Contributor split, roles and permissions.
- Layouts — which Blade layout to extend for a list, a form, or a tree view.
- Forms — form field components (
<x-form.inputs.*>). - Filters — list filters (date, number, boolean, select, select-model).
- Sorting — column sorting and drag & drop reordering.
API
- API — wiring a model to API Platform (providers, state processors).