greendot/image-puller-client
最新稳定版本:v1.1.1
Composer 安装命令:
composer require greendot/image-puller-client
包简介
Client bundle for image pulling from Greendot admin
README 文档
README
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require greendot/image-puller-client
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php return [ // ... Greendot\ImagePullerClient\ImagePullerClientBundle::class => ['all' => true], ];
Step 3: Create configuration file
Create configuration file in config/packages/image-puller-client.yaml
image_puller_client: jwt_user: <USER ID> jwt_pass: <SECRET> src: <DIR where images are going to be saved> endpoint: <URL ENDPOINT>
Step 4: Allow third party routing
Create configuration file in config/routes/image-puller-client.yaml
image_puller_client: resource: '@ImagePullerClientBundle/Resources/config/routes.yaml'
Request format:
Send picture as form-data with set jwt-token in header.
统计信息
- 总下载量: 419
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-14