A powerful Laravel package that provides dynamic schema management, automatic form generation, and a built-in admin interface.
- Zero-code column addition to database tables
- Built-in form builder with automatic generation
- Dynamic schema management
- Automatic API generation with override capability
- Built-in admin interface
- Install the package via Composer:
composer require rexgama/dbmaster- Publish the configuration and assets:
php artisan vendor:publish --provider="Rexgama\DBMaster\DBMasterServiceProvider"- Run the migrations:
php artisan migrateuse Rexgama\DBMaster\Services\SchemaManager;
$schemaManager = app(SchemaManager::class);
$schemaManager->addColumn('users', [
'name' => 'new_field',
'type' => 'string',
'validation' => ['required', 'max:255']
]);$form = $schemaManager->generateForm('users');Visit /dbmaster in your browser to access the admin interface.
You can modify the configuration in config/dbmaster.php to customize:
- Route prefix
- Middleware
- Excluded tables
- API settings
The MIT License (MIT). Please see License File for more information.