2017 © Pedro Peláez
 

contao-bundle contao-code-generator-bundle

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

image

heimrichhannot/contao-code-generator-bundle

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

  • Monday, February 19, 2018
  • by digitales@heimrich-hannot.de
  • Repository
  • 6 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Code Generator

This module offers comfortable code generation based on separated configurations for Contao., (*1)

alt Preview, (*2)

Code config preview, (*3)

alt List view, (*4)

List view, (*5)

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

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);
    }
}

The Versions

19/02 2018

dev-master

9999999-dev

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

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

19/02 2018

1.0.1

1.0.1.0

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

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

15/02 2018

1.0.0

1.0.0.0

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

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires