Run $ vendor/bin/openssl help [<command_name>]
to display the usage details for a specific command.
The default private key file with the name private.pem
will be generated to the current working directory. You can
specify the --type
, --bits
and --passphrase
as an option. If you want to keep an existing private key, append the
--no-override
option to the command.
$ vendor/bin/openssl openssl:generate-private-key [options] [--] [<output>]
The default public key file with the name public.pem
will be exported to the current working directory. The private
key is expected to be named private.pem
. It should also be stored in the working directory per default. Use the
--passphrase
option when the private key was encrypted by a passphrase. If you want to keep an existing public key,
append the --no-override
option to the command.
$ vendor/bin/openssl openssl:export-public-key [options] [--] [<input> [<output>]]
The development of this project is powered by Docker, Docker Compose and GNU Make. Please have a look at the Makefile for exact commands.
This will install all Composer dependencies and development tools.
$ make install
The code analysis is being performed with PHPStan.
$ make analysis
The code style is being checked with PHP_CodeSniffer.
$ make style-check
Some minor code style issues can also be fixed with PHP_CodeSniffer.
$ make style-fix
PHPUnit is being used to run the test suite.
$ make tests
To display and export the coverage report add -with-coverage
.
$ make tests-with-coverage
The MIT License (MIT). Please see License File for more information.