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)1247LGPL-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 2mo 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

38

—

LowBetter than 85% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

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

678d 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

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[inspiredminds/contao-glightbox

Contao extension to integrate GLightbox.

1223.3k1](/packages/inspiredminds-contao-glightbox)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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