usesgraphcrt/yii2-certificate

Yii2 certificate module

dev-master 2017-04-20 06:53 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:53:27 UTC


README

Certificates module for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist usesgraphcrt/yii2-certificate "*"

or add

"usesgraphcrt/yii2-certificate": "*"

to the require section of your composer.json file.

Make migration

php yii migrate --migrationPath=@vendor/usesgraphcrt/yii2-certificate/migrations/

Usage

You should add module to your config:

'modules' => [
        ...
        'certificate' => [
            'class' => \usesgraphcrt\certificate\Module::className(),
            'targetModelList' => [
            //list models for certification
            ]
        ],
    ],

It is possible that you have to change minimum stability section of your composer.json file to dev

"minimum-stability": "dev",