2017 © Pedro Peláez
 

yii2-extension yii2-sign-me

Extension for sign.me service

image

proscom/yii2-sign-me

Extension for sign.me service

  • Friday, March 23, 2018
  • by ChumakovAnton
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

proscom/yii2-sign-me

Extension for sign.me service, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist proscom/yii2-sign-me "*"

or add, (*4)

"proscom/yii2-sign-me": "*"

to the require section of your composer.json file., (*5)

Usage

Config application :, (*6)

'components' => [
    //  ...
    'signMe' => [
            'class' => SignMe::className(),
            'apiKey' => 'SIGNME_API_KEY',
            'pathToCertificate' => 'path/to/certificate',
        ],
]

Once the extension is installed, simply use it in your code by :, (*7)

$sign = Yii::$app->signMe;

$sign->userPhone = '+71234567890';

$file = new \proscom\signMe\File($filename, $content);

$signResult = $sign->sign($file);

$checkResult = $sign->check($file);

OR, (*8)

$sign = new \proscom\signMe\SignMe([
    'apiKey' => 'SIGNME_API_KEY',
    'userPhone' => '+71234567890',
    'pathToCertificate' => 'path/to/certificate'
]);

$file = new \proscom\signMe\File($filename, $content);

$signResult = $sign->sign($file);

$checkResult = $sign->check($file);

The Versions

23/03 2018

dev-master

9999999-dev

Extension for sign.me service

  Sources   Download

MIT

The Requires

 

by Chumakov Anton

extension yii2 digital signature sign.me eds

06/09 2017

v0.1.2

0.1.2.0

Extension for sign.me service

  Sources   Download

MIT

The Requires

 

by Chumakov Anton

extension yii2 digital signature sign.me eds

06/09 2017

0.1.1

0.1.1.0

Extension for sign.me service

  Sources   Download

MIT

The Requires

 

by Chumakov Anton

extension yii2 digital signature sign.me eds