Looking to hire Laravel developers? Try LaraJobs

laravel-baidu-aip-v2 maintained by yekern

Description
非官方的百度AiSDK Laravel版本
Author
Last update
2021/08/27 09:42 (dev-main)
License
Links
Downloads
35

Comments
comments powered by Disqus

安装

 composer require yekern/laravel-baidu-aip-v2

发布配置

php artisan vendor:publish --provider="Yekern\LaravelBaiduAipV2\BaiduAipServiceProvider"

配置配置

```php
    <?php
    return [
        'app_id' => env('BAIDU_APP_ID',''),
        'app_key' => env('BAIDU_APP_KEY',''),
        'app_secret' => env('BAIDU_APP_SECRET','')
    ];

```

可以在 https://console.bce.baidu.com/ai/ 申请。 其他详细使用方法请参照官方文档 https://ai.baidu.com/ai-doc/FACE/zk37c1qrv