If you work with Nette Framework, you know this pain - every new feature means
manually creating presenter, model, repository, service, migration and latte template.
I built nette-maker to solve this.
composer require unquam/nette-maker
One command generates everything:
php nette make:module User
Creates presenter, model, repository, service, migration and latte template instantly.
Also includes:
- Database migrations with TableBuilder (MySQL, PostgreSQL, SQLite, MSSQL)
- Seeders and Factories for test data
- Authentication scaffolding (
make:auth) - API Resources with pagination support
- Cache clearing (
clear:cache) - Interactive prompts
php nette migrate
php nette migrate:fresh --seed
php nette make:auth
php nette make:resource UserResource
php nette make:request Article/Store #Api Form Request Validation
php nette make:request User/Update –web #Web Form Request Validation
GitHub: https://github.com/unquam/nette-maker
Packagist: https://packagist.org/packages/unquam/nette-maker
Feedback welcome!
Top comments (0)