hackzilla / password-generator-app
A website dedicated to generating user passwords
Package info
github.com/hackzilla/password-generator-app
Language:Twig
Type:project
pkg:composer/hackzilla/password-generator-app
Requires
- php: >=8.4
- ext-ctype: *
- ext-iconv: *
- hackzilla/password-generator-bundle: ^7.0
- symfony/asset: ^8.2
- symfony/console: ^8.2
- symfony/dotenv: ^8.2
- symfony/flex: ^2.0
- symfony/form: ^8.2
- symfony/framework-bundle: ^8.2
- symfony/intl: ^8.2
- symfony/monolog-bundle: ^4.1
- symfony/runtime: ^8.2
- symfony/translation: ^8.2
- symfony/twig-bundle: ^8.2
- symfony/validator: ^8.2
- symfony/yaml: ^8.2
- twig/extra-bundle: ^3.0
- twig/twig: ^3.0
Requires (Dev)
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^13.0
- symfony/browser-kit: ^8.2
- symfony/css-selector: ^8.2
- symfony/debug-bundle: ^8.2
- symfony/maker-bundle: ^1.36
- symfony/phpunit-bridge: ^8.2
- symfony/stopwatch: ^8.2
- symfony/web-profiler-bundle: ^8.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Demo
A setup version is available for use at https://passwords.ofdan.com/
Requirements
- PHP 8.4 or newer
- Symfony 8.2 and Password Generator Bundle 7.x
- Composer 2 and Yarn 1 for installing dependencies
The human mode uses a bundled word list derived from the EFF large word list, with the dice numbers removed. EFF's material is available under CC BY 4.0. The default six-word passphrase follows EFF's guidance.
Installation
You have three different ways to download the app.
a) Composer
composer create-project hackzilla/password-generator-app
b) Git
git clone git@github.com:hackzilla/password-generator-app.git composer install bin/console cache:clear --env=prod --no-debug
c) Download
https://github.com/hackzilla/password-generator-app/archive/master.zip
Once installed run:
composer install yarn install --frozen-lockfile bin/console cache:clear --env=prod --no-debug
Set a unique APP_SECRET in the production environment before serving traffic. The committed .env value is only a local default.
Testing
Run php vendor/bin/phpunit -c phpunit.xml.dist, php vendor/bin/phpstan analyse, and php bin/console lint:container --env=prod --no-debug. GitHub Actions checks these commands on PHP 8.4–8.6 and installs the frontend assets used by the rendered pages.
With Docker running, make test-matrix runs the same checks locally on PHP 8.4, 8.5, and 8.6 in clean containers. To run one version, use sh scripts/test-php-matrix.sh 8.6.