tools/api

dev-master 2016-03-10 03:09 UTC

This package is not auto-updated.

Last update: 2024-11-15 19:45:36 UTC


README

Documentation

Installation

Require this package

php composer.phar require "tools/api:dev-master" -vvv

After adding the package, add the ServiceProvider to the providers array in config/app.php

Tools\Api\ToolsServiceProvider::class,

Optionally you can register the ToolsService facade:

'toolsServer'      => Tools\Api\Facades\ToolsService::class,

To publish the config use:

php artisan vendor:publish --tag="config"

sign Middleware:

/**
 * @Middleware("hsign")
 */

Verification Method List:

  • exmobile
  • exIdCard
  • exname
  • expassword
  • exfunds

When use toolsService verification,you should increased verification message in:

resources\lang\zh_cn\validation.php