Upgrading
Updating the Package
composer update super-admin-org/super-admin
After updating, republish the assets:
php artisan vendor:publish --tag=super-admin-assets --force
Version Compatibility
| Super Admin | Laravel | PHP | Pest |
|---|---|---|---|
| 1.2.x | 10.x / 11.x / 12.x / 13.x | >= 8.2 | 2.x / 3.x / 4.x |
Dev Dependency Matrix
Due to transitive dependency constraints, the test runner version depends on your Laravel version:
| Laravel | Pest | PHPUnit | nunomaduro/collision |
|---|---|---|---|
| 10.x | 2.x | 10.x | ^7.0 |
| 11.x | 3.x | 11.x | ^8.0 |
| 12.x | 3.x / 4.x | 11.x / 12.x | ^8.0 |
| 13.x | 4.x | 12.x | ^8.9 |
Composer resolves the correct versions automatically.
Upgrading from Open-Admin or Laravel-Admin
Super Admin is a fork of Open-Admin (itself a fork of Laravel-Admin). To migrate:
- Update your
composer.jsonto usesuper-admin-org/super-admin - Find and replace namespaces:
OpenAdmin\AdmintoSuperAdmin\Admin- or
Encore\AdmintoSuperAdmin\Admin
- Republish assets and config
- Clear all caches
php artisan vendor:publish --provider="SuperAdmin\Admin\AdminServiceProvider" --force
php artisan config:clear
php artisan cache:clear
php artisan view:clear
Upgrading Laravel
When upgrading your Laravel version, check the Laravel upgrade guide for breaking changes. Super Admin supports Laravel 10 through 13 simultaneously.