2017 © Pedro Peláez
 

library zend-pwnedpasswords

Validator for the Zend Framework for pwnedpasswords.com API

image

fabiang/zend-pwnedpasswords

Validator for the Zend Framework for pwnedpasswords.com API

  • Monday, February 26, 2018
  • by fabiang
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

fabiang/zend-pwnedpasswords

Validator for the Zend Framework for pwnedpasswords.com API., (*1)

Latest Stable Version License, (*2)

Installation

New to Composer? Read the introduction. Run the following Composer command:, (*3)

$ composer require fabiang/zend-pwnedpasswords

Use together with Zend-MVC

If you're using the component installer you should be asked where this module should be added. If not add this to your application.config.php:, (*4)

<?php

return [
    'modules' => [
        // ...
        'Fabiang\ZendPwnedpasswords',
    ],
];

You then can use the validator in your forms, either by its FQCN or by its name 'pwnedpasswords'., (*5)

Options

You can pass some options to the validator:, (*6)

  • returnOnError: should the validator return true/false on a transfer error
  • logger: you can pass a PSR-3 logger to log all transfer errors
  • logLevel: any PSR-3 log level, which is used as log level when errors are logged

Licence

BSD-2-Clause. See the LICENSE.md., (*7)

The Versions

26/02 2018

dev-master

9999999-dev

Validator for the Zend Framework for pwnedpasswords.com API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

zf2 module zend-framework zf2-module zf3-module pwnedpasswords