r-bruha / nette-generator
There is no license information available for the latest version (dev-master) of this package.
dev-master
2017-07-06 10:42 UTC
Requires
- php: >= 7.1
- beberlei/doctrineextensions: ~1.0
- kdyby/doctrine: ~3.2
- kdyby/translation: ~2.4
- nextras/secured-links: ~1.4
This package is auto-updated.
Last update: 2020-01-11 14:35:07 UTC
README
Nette Framework CRUD Generator allows you create Nette Framework 2.4 based application for managing your databases or even more.
Live Demos
- PHP 7.0 | MySQL 5.6 | MyISAM Engine | Nette\Database Models
- PHP 7.0 | MySQL 5.6 | InnoDB Engine | Nette\Database Models
- PHP 7.0 | MySQL 5.6 | InnoDB Engine | Doctrine2 Models
Data sources
- MySQL InnoDB tables (with foreign keys support)
- MySQL MyISAM tables (without foreign keys support)
- Doctrine2 entities (with automatic creating MySQL InnoDB tables)
Generated stuff
- Depends on used templates, but everything can be generated
Main features
- Choose data source (MySQL tables, Doctrine2 entities)
- Choose tables (all possible combinations)
- Choose models (Nette\Database, Doctrine2)
- Choose foreign keys handling (open full table, selectbox with search)
- Choose if you want to use module or not
- Choose template which will be used for code generating
- That's it let generator build your application
Usage
Longer step by step usage
- Create new Nette Framework 2.4 project using Composer:
composer create-project nette/web-project
- Move to project:
cd web-project
- Add latest Nette Framework CRUD Generator using Composer:
composer require r-bruha/nette-generator @dev
- Add latest Kdyby\Replicator using Composer:
composer require kdyby/forms-replicator @dev
- Move to Nette Framework CRUD Generator folder:
cd vendor/r-bruha/nette-generator
- Start Nette Framework CRUD Generator through CLI
php -f index.php
and follow instructions
Shorter copy and paste usage
- Copy this whole code into command line, press Enter and wait for start Nette Framework CRUD Generator
composer clearcache
composer create-project nette/web-project
cd web-project
composer require r-bruha/nette-generator @dev
composer require kdyby/forms-replicator @dev
cd vendor/r-bruha/nette-generator
php -f index.php