A setup version is available for use at https://passwords.ofdan.com/
- 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.
You have three different ways to download the app.
composer create-project hackzilla/password-generator-appgit clone git@github.com:hackzilla/password-generator-app.git
composer install
bin/console cache:clear --env=prod --no-debughttps://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-debugSet a unique APP_SECRET in the production environment before serving traffic. The committed .env value is only a local default.
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.