Download the PHP package black-paradise/laravel-admin without Composer
On this page you can find all versions of the php package black-paradise/laravel-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download black-paradise/laravel-admin
More information about black-paradise/laravel-admin
Files in black-paradise/laravel-admin
Package laravel-admin
Short Description Laravel adapter for BPAdmin — config-driven CRUD admin panel (v3)
License MIT
Informations about the package laravel-admin
BPAdmin — Laravel Adapter (v3)
Laravel 11/12/13 adapter for BPAdmin v3. Provides Eloquent repository/mutator, CRUD controllers, service provider, and route wiring. Requires bp-admin-core (pure PHP domain layer).
Installation
Publish the config:
Scaffold entity definition stubs:
Configuration
All options live in config/bpadmin.php. Key keys:
| Key | Default | Description |
|---|---|---|
prefix |
'admin' |
URL prefix for all admin routes |
middleware |
['web'] |
Middleware applied to all admin routes |
guard |
'web' |
Laravel auth guard |
storage_disk |
'public' |
Filesystem disk for file uploads |
per_page |
15 |
Default pagination size |
Middleware & CSRF
BPAdmin routes use config('bpadmin.middleware', ['web']). The default web
middleware group includes VerifyCsrfToken. If you override
bpadmin.middleware, preserve VerifyCsrfToken — using only api will
silently strip CSRF protection from every admin form (login, create, update,
delete).
To add custom middleware while keeping CSRF, append rather than replace:
config(['bpadmin.middleware' => ['web', 'auth.custom']]).
Entity Definitions
Create App\BPAdmin\{Name} classes extending EntityDefinition:
DashboardServiceProvider auto-discovers all EntityDefinition subclasses in app/BPAdmin/ at boot.
Production Deployment
During a production deploy, cache entity definitions alongside Laravel's own caches:
Without bpadmin:cache, every request walks the filesystem to discover entity classes.
This is fine locally, but in production it adds measurable overhead and triggers a boot-time
log warning to remind you to run the cache command.
To clear the entity manifest (e.g. during rollback or after removing an entity):
License
MIT
All versions of laravel-admin with dependencies
laravel/framework Version ^11.0|^12.0|^13.0
black-paradise/core-admin Version ^1.0.3