PHPackages                             r-bruha/nette-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. r-bruha/nette-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

r-bruha/nette-generator
=======================

7862HTML

Since Jul 6Pushed 7y ago3 watchersCompare

[ Source](https://github.com/radek-bruha/nette-generator)[ Packagist](https://packagist.org/packages/r-bruha/nette-generator)[ RSS](/packages/r-bruha-nette-generator/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Nette Framework CRUD Generator
==============================

[](#nette-framework-crud-generator)

Nette Framework CRUD Generator allows you create Nette Framework 2.4 based application for managing your databases or even more.

Live Demos
----------

[](#live-demos)

- [PHP 7.0 | MySQL 5.6 | MyISAM Engine | Nette\\Database Models](http://nette-generator.jecool.net/demo-1/www)
- [PHP 7.0 | MySQL 5.6 | InnoDB Engine | Nette\\Database Models](http://nette-generator.jecool.net/demo-2/www)
- [PHP 7.0 | MySQL 5.6 | InnoDB Engine | Doctrine2 Models](http://nette-generator.jecool.net/demo-3/www)

Data sources
------------

[](#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
---------------

[](#generated-stuff)

- Depends on used templates, but everything can be generated

Main features
-------------

[](#main-features)

- Choose data source (MySQL tables, Doctrine2 entities)
- Choose tables (all possible combinations)
- Choose models ([Nette\\Database](https://github.com/nette/database), [Doctrine2](https://github.com/doctrine/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
-----

[](#usage)

### Longer step by step 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](https://github.com/kdyby/FormsReplicator) 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

[](#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

```

Creating templates
------------------

[](#creating-templates)

See [How to create templates.md](https://github.com/r-bruha/nette-generator/blob/master/How%20to%20create%20templates.md)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af3d7eaa0b69988f35dcb3f34450d0e888ecb00c3a62c818c40eddd30dae3e1?d=identicon)[radek-bruha](/maintainers/radek-bruha)

---

Top Contributors

[![radek-bruha](https://avatars.githubusercontent.com/u/7072163?v=4)](https://github.com/radek-bruha "radek-bruha (2 commits)")

### Embed Badge

![Health badge](/badges/r-bruha-nette-generator/health.svg)

```
[![Health](https://phpackages.com/badges/r-bruha-nette-generator/health.svg)](https://phpackages.com/packages/r-bruha-nette-generator)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
