PHPackages                             stepapo/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. stepapo/generator

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

stepapo/generator
=================

Library that generates empty Nette Presenters, Components and Services with basic structure and Nextras ORM model files.

0.1.7(8mo ago)0134MITPHPPHP &gt;=8.3

Since Apr 14Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/stepapo/generator)[ Packagist](https://packagist.org/packages/stepapo/generator)[ Docs](https://github.com/stepapo/generator)[ RSS](/packages/stepapo-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (10)Used By (0)

Generator
=========

[](#generator)

Tool for generating empty Nette Presenters, Components and Nextras ORM model files with basic structure.

Usage
-----

[](#usage)

### Presenter

[](#presenter)

```
$options = getopt(null, ['appNamespace:', 'appDir:', 'name:', 'module:']);

$generator = new Stepapo\Generator\Generator(
	appNamespace: $options['appNamespace'] ?? 'App',
	appDir: __DIR__ . '/../' . ($options['appDir'] ?? 'app'),
);

$generator->createPresenter(
	name: $options['name'],
	module: $options['module'] ?? null,
);
```

### Component

[](#component)

```
$options = getopt(null, ['appNamespace:', 'appDir:', 'name:', 'module:', 'type:', 'entityName:', 'withTemplateName:']);

$generator = new Stepapo\Generator\Generator(
	appNamespace: $options['appNamespace'] ?? 'App',
	appDir: __DIR__ . '/../' . ($options['appDir'] ?? 'app'),
);

$generator->createComponent(
	name: $options['name'],
	module: $options['module'] ?? null,
	entityName: $options['entityName'] ?? null,
	withTemplateName: $options['withTemplateName'] ?? false,
	type: $options['type'] ?? null,
);
```

### Model

[](#model)

```
$options = getopt(null, ['appNamespace:', 'appDir:', 'name:', 'module:', 'withConventions:']);

$generator = new Stepapo\Generator\Generator(
	appNamespace: $options['appNamespace'] ?? 'App',
	appDir: __DIR__ . '/../' . ($options['appDir'] ?? 'app'),
);

$generator->createModel(
	name: $options['name'],
	module: $options['module'] ?? null,
	withConventions: $options['withConventions'] ?? false,
);
```

### Service

[](#service)

```
$options = getopt(null, ['appNamespace:', 'appDir:', 'name:', 'module:']);

$generator = new Stepapo\Generator\Generator(
	appNamespace: $options['appNamespace'] ?? 'App',
	appDir: __DIR__ . '/../' . ($options['appDir'] ?? 'app'),
);

$generator->createService(
	name: $options['name'],
	module: $options['module'] ?? null,
);
```

### Command

[](#command)

```
$options = getopt(null, ['appNamespace:', 'appDir:', 'name:', 'module:']);

$generator = new Stepapo\Generator\Generator(
	appNamespace: $options['appNamespace'] ?? 'App',
	appDir: __DIR__ . '/../' . ($options['appDir'] ?? 'app'),
);

$generator->createCommand(
	name: $options['name'],
	module: $options['module'] ?? null,
);
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance62

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~178 days

Recently: every ~309 days

Total

8

Last Release

246d ago

PHP version history (2 changes)0.1PHP &gt;=8.0

0.1.7PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/c875fb85cb069c6c498038f0b7284592bb1542447c8f57dec00411b990510dd5?d=identicon)[stepapo](/maintainers/stepapo)

---

Top Contributors

[![stepapo](https://avatars.githubusercontent.com/u/11784270?v=4)](https://github.com/stepapo "stepapo (31 commits)")

---

Tags

nettemodelservicecomponentpresenternextras

### Embed Badge

![Health badge](/badges/stepapo-generator/health.svg)

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

###  Alternatives

[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[contributte/application

Extra contrib to nette/application

352.8M7](/packages/contributte-application)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)

PHPackages © 2026

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