tesseract / crypto-sdk-laravel
Tesseract Crypto SDK PHP Laravel 来自 Tesseract Crypto API v2
0.3.0
2020-06-03 21:24 UTC
Requires
- php: >=7.1.0
- illuminate/support: >=5.0,<5.8
- tesseract/crypto-sdk: ~0.3
Requires (Dev)
- phpunit/phpunit: 6.*
This package is auto-updated.
Last update: 2024-09-29 05:28:13 UTC
README
为 laravel 提供支持的 Tesseract Crypto SDK PHP 的包。
如何安装
Composer
$ composer require tesseract/crypto-sdk-laravel
或在 composer.json 中添加
{ "require": { "tesseract/crypto-sdk-laravel": "*" } }
如果您不使用自动发现,请将 ServiceProvider 添加到 config/app.php 中的 providers 数组
Tesseract\Illuminate\Support\ServiceProvider::class,
如果您想使用 facade,请将此 facade 添加到 config/app.php
'CryptoSDK' => Tesseract\Illuminate\Support\Facade::class,
使用发布命令将包配置复制到您的本地配置
php artisan vendor:publish --provider="Tesseract\Illuminate\Support\ServiceProvider"
如何使用
<?php