|
1 | | -# chillerlan/php-library-template-nodocs |
| 1 | +# chillerlan/2fa-qrcode-bundle |
2 | 2 |
|
3 | | -A template/boilerplate for PHP libraries (similar to [chillerlan/php-library-template](https://github.com/chillerlan/php-library-template) but without phpdocs and readthedocs deployment). |
| 3 | +An authenticator ([chillerlan/php-authenticator](https://github.com/chillerlan/php-authenticator)) and a QR Code generator ([chillerlan/php-qrcode](https://github.com/chillerlan/php-qrcode)) bundled together for MFA in frameworks and applications. |
4 | 4 |
|
5 | 5 | [![PHP Version Support][php-badge]][php] |
6 | 6 | [![Packagist version][packagist-badge]][packagist] |
7 | 7 | [![License][license-badge]][license] |
8 | 8 | [![Continuous Integration][gh-action-badge]][gh-action] |
9 | | -[![CodeCov][coverage-badge]][coverage] |
10 | 9 | [![Packagist downloads][downloads-badge]][downloads] |
11 | 10 |
|
12 | | -[php-badge]: https://img.shields.io/packagist/php-v/chillerlan/php-library-template-nodocs?logo=php&color=8892BF&logoColor=fff |
| 11 | +[php-badge]: https://img.shields.io/packagist/php-v/chillerlan/2fa-qrcode-bundle?logo=php&color=8892BF&logoColor=fff |
13 | 12 | [php]: https://www.php.net/supported-versions.php |
14 | | -[packagist-badge]: https://img.shields.io/packagist/v/chillerlan/php-library-template-nodocs.svg?logo=packagist&logoColor=fff |
15 | | -[packagist]: https://packagist.org/packages/chillerlan/php-library-template-nodocs |
16 | | -[license-badge]: https://img.shields.io/github/license/chillerlan/php-library-template-nodocs |
17 | | -[license]: https://github.com/chillerlan/php-library-template-nodocs/blob/main/LICENSE |
18 | | -[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-library-template-nodocs/ci.yml?branch=main&logo=github&logoColor=fff |
19 | | -[gh-action]: https://github.com/chillerlan/php-library-template-nodocs/actions/workflows/ci.yml?query=branch%3Amain |
20 | | -[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-library-template-nodocs.svg?logo=codecov&logoColor=fff |
21 | | -[coverage]: https://codecov.io/github/chillerlan/php-library-template-nodocs |
22 | | -[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-library-template-nodocs.svg?logo=packagist&logoColor=fff |
23 | | -[downloads]: https://packagist.org/packages/chillerlan/php-library-template-nodocs/stats |
24 | | - |
25 | | -## Overview |
26 | | - |
27 | | -### Features |
28 | | - |
29 | | -- [GitHub Actions](https://github.com/chillerlan/php-library-template-nodocs/actions) runner |
30 | | -- [Composer](https://getcomposer.org) dependency management |
31 | | -- [PHPUnit](https://phpunit.de) unit tests |
32 | | -- [PHPStan](https://github.com/phpstan/phpstan) static analysis |
33 | | -- [PHPCS](https://github.com/PHPCSStandards/PHP_CodeSniffer) coding standard analyzer |
34 | | -- [PHPMD](https://phpmd.org) mess detector |
35 | | -- [Codecov](https://codecov.io) code coverage analysis |
36 | | -- [phpDocumentor](https://www.phpdoc.org) auto generated API docs |
37 | | - |
38 | | - |
39 | | -### Requirements |
40 | | - |
41 | | -- PHP 8.1+ |
42 | | - |
| 13 | +[packagist-badge]: https://img.shields.io/packagist/v/chillerlan/2fa-qrcode-bundle.svg?logo=packagist&logoColor=fff |
| 14 | +[packagist]: https://packagist.org/packages/chillerlan/2fa-qrcode-bundle |
| 15 | +[license-badge]: https://img.shields.io/github/license/chillerlan/2fa-qrcode-bundle |
| 16 | +[license]: https://github.com/chillerlan/2fa-qrcode-bundle/blob/main/LICENSE |
| 17 | +[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/2fa-qrcode-bundle/ci.yml?branch=main&logo=github&logoColor=fff |
| 18 | +[gh-action]: https://github.com/chillerlan/2fa-qrcode-bundle/actions/workflows/ci.yml?query=branch%3Amain |
| 19 | +[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/2fa-qrcode-bundle.svg?logo=packagist&logoColor=fff |
| 20 | +[downloads]: https://packagist.org/packages/chillerlan/2fa-qrcode-bundle/stats |
| 21 | + |
| 22 | +## Requirements |
| 23 | + |
| 24 | +- PHP 7.4+ |
| 25 | + - [`ext-mbstring`](https://www.php.net/manual/book.mbstring.php) |
| 26 | + - optional: |
| 27 | + - [`ext-gd`](https://www.php.net/manual/book.image) for `QRGdImage` based output |
| 28 | + - [`ext-imagick`](https://github.com/Imagick/imagick) with [ImageMagick](https://imagemagick.org) installed |
| 29 | + - [`ext-fileinfo`](https://www.php.net/manual/book.fileinfo.php) required by `QRImagick` output |
| 30 | + - optional libraries, see the [php-qrcode requirements](https://github.com/chillerlan/php-qrcode) |
| 31 | + |
| 32 | +## Documentation |
| 33 | + |
| 34 | +You can find the documentation of the bundled libraries in their respective repositories: |
| 35 | + |
| 36 | +- [chillerlan/php-authenticator](https://github.com/chillerlan/php-authenticator) |
| 37 | +- [chillerlan/php-qrcode](https://github.com/chillerlan/php-qrcode) |
| 38 | + - User manual: https://php-qrcode.readthedocs.io/ |
| 39 | + - API documentation: https://chillerlan.github.io/php-qrcode/ |
| 40 | +- [chillerlan/php-settings-container](https://github.com/chillerlan/php-settings-container) |
| 41 | + |
| 42 | +## Anti clanker policy |
| 43 | + |
| 44 | +No fascist plagiarism machines were - or will ever be - used in creating of this and any of the bundled libraries. |
| 45 | +Clanker created pull requests will not be accepted. However, I have no control over 3rd-party libraries, but will avoid clankers wherever I can. |
43 | 46 |
|
44 | 47 | ## Disclaimer |
45 | 48 |
|
|
0 commit comments