GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hackzilla/password-generator-bundle: Integrates Password Generator Library with Symfony

BranchesTags
Open more actions menu

Latest commit

 

History

210 Commits
210 Commits

Folders and files

NameName
Last commit message
Last commit date
Controller
Controller
 
 
DependencyInjection
DependencyInjection
 
 
Entity
Entity
 
 
Exception
Exception
 
 
Form/Type
Form/Type
 
 
Resources
Resources
 
 
Tests
Tests
 
 
.coveralls.yml
.coveralls.yml
 
 
.gitignore
.gitignore
 
 
.styleci.yml
.styleci.yml
 
 
.travis.yml
.travis.yml
 
 
HackzillaPasswordGeneratorBundle.php
HackzillaPasswordGeneratorBundle.php
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

Password Generator Bundle

Bundle for implementing Hackzilla/password-generator in Symfony.

Simple multilingual bundle to add to any project. Available languages (Pull Requests welcome):

  • Bulgarian
  • English
  • French

Requirements

  • PHP >= 8.1
  • hackzilla/password-generator ^1.3.0
  • Symfony ^7.0|^8.0

Version Matrix

Password Generator Bundle Symfony PHP
7.x ^7.0 | ^8.0 >=8.2*
6.x ^6.0 | ^7.0 >=8.0.2*
5.x ^4.0 | ^5.0 | ^6.0 >=7.1*
4.x ^3.0 | ^4.0 | ^5.0 >=7.1*
3.x ^3.0 | ^4.0 >=7.1
2.x ^2.7 | ^3.0 >=5.5
1.x ^2.3 >=5.3
  • Symfony 5.0 requires PHP v7.2+
  • Symfony 6.0 requires PHP v8.0.2+
  • Symfony 7.0 requires PHP v8.2+
  • Symfony 8.0 requires PHP v8.4+

Installation

Add HackzillaPasswordGeneratorBundle in your composer.json:

{
    "require": {
        "hackzilla/password-generator-bundle": "^7.0"
    }
}

Install Composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Now tell composer to download the library by running the command:

$ composer require hackzilla/password-generator-bundle

Composer will install the bundle into your project's vendor/hackzilla directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php or config/bundles.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hackzilla\Bundle\PasswordGeneratorBundle\HackzillaPasswordGeneratorBundle(),
    );
}

Step 3: Enable Translations

// app/config/config.yml

parameters:
    locale: en

framework:
    #esi:             ~
    translator:      { fallbacks: ["%locale%"] }

Migrating from v6

Version 6 release is drops support for Symfony v6 and requires PHP >=8.1

Migrating from v5

Version 6 release is drops support for Symfony v4 & v5 and requires PHP >=8.0.2

Migrating from v4

Version 5 release is just drops support for Symfony v3.

Migrating from v3

Version 4 release is just a version bump.

Migrating from v2

Version 3 release is just a version bump.

Migrating from v1

Migration should be straight forward, as much of the changes are related to Symfony v3

  • Upgrade to at least PHP 5.5
  • Reference Types by Fully Qualified Class Name (FQCN) (>= Symfony 2.8)
  • FormTypes use getBlockPrefix, rather than getName
  • OptionType is now a service
  • CamelCased services are now lowercase with separator (e.g. hackzilla.password_generator.human.maxWordLength changed to hackzilla.password_generator.human.max_word_length)
  • Removed previously deprecated service (hackzilla.password_generator).

Example Implementation

See Password generator app

Pull Requests

I'm open to pull requests for additional languages, features and/or improvements.

About

Integrates Password Generator Library with Symfony

hackzilla.org

Resources

Readme
Activity

Stars

18 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.