webeweb/haveibeenpwned-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Integrate HaveIBeenPwned API with Symfony 4 and more

v1.12.0 2023-03-28 12:43 UTC

README

Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License composer.lock

IMPORTANT NOTICE: This package is no longer maintained.

Integrate HaveIBeenPwned API with Symfony 4 and more.

Includes:

If you like this package, pay me a beer (or a coffee) paypal.me

Compatibility

PHP Symfony

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

$ composer require webeweb/haveibeenpwned-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

    public function registerBundles() {
        $bundles = [
            // ...
            new WBW\Bundle\HaveIBeenPwnedBundle\WBWHaveIBeenPwnedBundle(),
        ];

        // ...

        return $bundles;
    }

Once the bundle is added then do:

$ php bin/console assets:install

Usage

Read the documentation.

Testing

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

$ git clone https://github.com/webeweb/haveibeenpwned-bundle.git
$ cd haveibeenpwned-bundle
$ composer install

Once all required libraries are installed then do:

$ vendor/bin/phpunit

License

haveibeenpwned-bundle is released under the MIT License. See the bundled LICENSE file for details.

Donate

If you like this work, please consider donating at paypal.me