PHPackages                             heimrichhannot/contao-code-generator-bundle - 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. heimrichhannot/contao-code-generator-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-code-generator-bundle
===========================================

This module offers comfortable code generation based on separated configurations for Contao.

1.4.0(1y ago)1254LGPL-3.0-or-laterPHPPHP ^8.1

Since Feb 15Pushed 1y ago5 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-code-generator-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-code-generator-bundle)[ RSS](/packages/heimrichhannot-contao-code-generator-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (3)Versions (11)Used By (0)

Code Generator
==============

[](#code-generator)

This module offers comfortable code generation based on separated configurations for Contao.

[![alt Preview](doc/screenshot.png)](doc/screenshot.png)

*Code config preview*

[![alt List view](doc/screenshot2.png)](doc/screenshot2.png)

*List view*

Features
--------

[](#features)

- offers a code configuration entity
- offers a service to create codes
- criteria:
    - prevent ambiguous characters
    - prevent double codes
    - limit to certain alphabets (numbers, capitals, ...)
    - add rules like "at least one number"
- one-click-creation of an arbitrary number of codes

Developers
----------

[](#developers)

```
use HeimrichHannot\CodeGeneratorBundle\Code\Criteria;
use HeimrichHannot\CodeGeneratorBundle\Code\Generator;

class Example
{
    public function __construct(
        private readonly Generator $generator
    ) {}

    public function generatePasswort(): string
    {
        $criteria = new Criteria();
        $criteria->allowSymbols = true;
        $criteria->length = 14;
        $criteria->requireNumbers = true;
        $criteria->requireSymbols = true;

        return $this->generator->generate($criteria);
    }
}
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity78

Established project with proven stability

 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 ~259 days

Recently: every ~355 days

Total

10

Last Release

726d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.1.0

1.3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

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

---

Tags

contao

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-code-generator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-code-generator-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-code-generator-bundle)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[heimrichhannot/contao-encore-bundle

This bundle brings deep integration for symfony encore into contao. On the one hand, your can prepare your bundles to define own webpack entries, which added with just one command to your webpack entries. On the other hand, this bundle allows you to add encore entries only on the pages you need them for optimizing your website performance.

1016.6k](/packages/heimrichhannot-contao-encore-bundle)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

135.2k1](/packages/markocupic-calendar-event-booking-bundle)

PHPackages © 2026

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