Download the PHP package neuron-php/scaffolding without Composer
On this page you can find all versions of the php package neuron-php/scaffolding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download neuron-php/scaffolding
More information about neuron-php/scaffolding
Files in neuron-php/scaffolding
Package scaffolding
Short Description Code generators and scaffolding tools for Neuron framework
License MIT
Informations about the package scaffolding
Neuron Scaffolding
Code generators and scaffolding tools for the Neuron PHP framework.
Installation
Available Commands
CRUD Resource Generation
Generate a complete, runnable Neuron ORM CRUD stack — model, DTO YAML, repository (interface + database implementation), an attribute-routed controller, and field-aware views — with a single command.
The --from-table path introspects the live schema via PDO
(information_schema.columns on MySQL/PostgreSQL, PRAGMA table_info on
SQLite) using the project's configured connection, so it is the primary path
for mapping existing GroupOffice tables.
Wide tables: exposing a subset
Large legacy tables (e.g. jud_docket) often have many columns you don't want
in the editing UI. Inspect the columns first, then narrow the editable
surface with --only or --except:
--only / --except affect only the DTO and views — the model,
repository, and migration always map the complete table, so inserts and
updates that touch NOT NULL columns keep working. The primary key is always
retained. (--only and --except are mutually exclusive.)
Generated controllers use PHP 8 route attributes (#[Get] / #[Post] …) — no
routes.yaml is written. Unsafe-method routes are tagged with
filters: ['csrf'], and forms emit csrf_field(); both are provided by the
framework-level CSRF support in neuron-php/mvc (enabled by default via the
security.csrf setting), so no per-app wiring is required.
After generation, bind the repository interface to its database implementation
in your service provider, e.g. IPostRepository → DatabasePostRepository.
Controller Generation
Event & Listener Generation
Job Generation
Initializer Generation
Migration Generation
Email Template Generation
Learn More
Visit neuronphp.com for full documentation.
All versions of scaffolding with dependencies
neuron-php/core Version 0.8.*
neuron-php/cli Version 0.8.*
symfony/yaml Version ^5.0|^6.0|^7.0
dragonmantank/cron-expression Version ^3.4