Helpers
super-admin-org/helpers is a set of developer tools inside the admin panel:
- Scaffold: a form that generates a migration, model, admin controller, API controller, Blade CRUD views, routes, a menu item and Pest tests for a table.
- Database terminal: run SQL (or Redis commands) against any configured connection.
- Laravel artisan: run Artisan commands from the browser.
- Routes: a searchable list of every registered route.

| Package | super-admin-org/helpers |
| Admin URLs | /admin/helpers/scaffold, /admin/helpers/terminal/database, /admin/helpers/terminal/artisan, /admin/helpers/routes |
| Menu | Helpers with four children |
| Permission | ext.helpers (path /helpers/*) |
| Tables | helper_scaffolds, helper_scaffold_details |
The terminals run any SQL statement and any Artisan command, and the scaffold writes PHP files into your application and can drop tables. Install Helpers as a dev dependency (composer require --dev) or disable it outside local development:
// config/admin.php
'extensions' => [
'helpers' => ['enable' => env('APP_ENV') === 'local'],
],
Installation
composer require --dev super-admin-org/helpers
php artisan migrate # creates helper_scaffolds and helper_scaffold_details
php artisan admin:import helpers # adds the Helpers menu and the ext.helpers permission
Scaffold
Open Helpers > Scaffold and click Create New.

-
Table name, Model (
App\Models\...) and Controller (App\Admin\Controllers\...). -
Tick what to generate:
Option Generates Migration database/migrations/<date>_create_<table>_table.phpModel the Eloquent model, with fillable fields, casts and relations for selectfieldsController a Super Admin controller (grid, form, show) Migrate runs php artisan migrateright awayRecreate table drops the table first if it exists (data is lost) Api an API controller, the ResponseMappertrait androutes/api.phpentriesBlade crud a public Blade CRUD (controller, _layout,index,_form,create,edit,show)Test case Pest feature and unit tests -
Add fields with Add field: name, type, nullable, key (index/unique), default, comment, and the input type used in the form (
text,email,date,select,radio,checkbox,file,textarea, ...). For choice inputs, Source for options is eitherstaticwith comma-separated values and labels, or a model class with the value and label columns. -
Choose Timestamps, Soft Deletes, the Primary key name and UUID keys.
-
Click Submit. The page lists every file it wrote. An admin resource route and a menu item are added for the new controller.
Saved scaffolds stay in the list. Edit reopens one and regenerates its files; Delete removes the record and the files it generated.
Console commands
| Command | Does |
|---|---|
php artisan scaffold:generate-from-mysql-tables {--remove-prefix=} | Creates scaffold records from existing MySQL tables |
php artisan scaffold:generate-from-pg | The same for PostgreSQL |
php artisan scaffold:generate-code {--table=} | Regenerates the code of every saved scaffold (or one table) |
php artisan scaffold:generate-seeders {--remove-prefix=} | Writes seeders from the data in existing tables |
Database terminal

Pick a connection (top right), type a query and press Enter. Results show as a text table with the row count and time; end the query with \G for a vertical dump. Redis connections accept Redis commands.
The terminal executes whatever you type, including UPDATE, DELETE and DROP.
Laravel artisan

Type a command without the php artisan prefix (for example route:list --path=admin) or pick one from the grouped buttons. Interactive commands (tinker, prompts) and long-running ones (serve, queue:work) do not work here.
Routes

Every registered route with its methods, URI (parameters highlighted), name, action and middleware. Filter by method or URI.
Compatibility
| Laravel | PHP | State |
|---|---|---|
| 8 – 13 | 8.0+ | Scaffold, Artisan terminal and route list work. |
Known limitations:
- The Redis part of the database terminal needs the predis client (
REDIS_CLIENT=predis); with phpredis it fails. - The MongoDB option uses the
evalcommand, which MongoDB removed in 4.2. scaffold:generate-from-mysql-tablesis MySQL/MariaDB only; usescaffold:generate-from-pgfor PostgreSQL. SQLite and SQL Server have no import command.- Submitting the scaffold form with no option ticked fails; tick at least one.
Troubleshooting
| Problem | Fix |
|---|---|
| The new menu item gives 404 | The admin route was added to app/Admin/routes.php; run php artisan route:clear. |
| "Migration skipped: table already exists" | Tick Recreate table (drops the data) or create a new migration by hand. |
| Generated files were not written | The web server user needs write access to app/, database/, resources/views/, routes/ and tests/. |