consoneo/ecoffre-fort-bundle
最新稳定版本:1.2.6
Composer 安装命令:
composer require consoneo/ecoffre-fort-bundle
包简介
Bundle for mapping HTTP API e-coffre-fort.fr
README 文档
README
Installation
To install ConsoneoEcoffreFortBundle with Composer just add the following to your 'composer.json' file:
{
require: {
"consoneo/ecoffre-fort-bundle": "*",
...
}
}
The next thing you should do is install the bundle by executing the following command:
php composer.phar update consoneo/ecoffre-fort-bundle
Finally, add the bundle to the registerBundles function of the AppKernel class in the 'app/AppKernel.php' file:
public function registerBundles()
{
$bundles = array(
...
new Consoneo\Bundle\EcoffreFortBundle\ConsoneoEcoffreFortBundle(),
...
);
Configuration
Configure the bundle by adding the following to app/config/config.yml' with your own configuration:
consoneo_ecoffre_fort:
coffres:
coffre1:
email_origin: xxx
safe_id: xxx
part_id: xxx
password: xxx
coffre2:
email_origin: xxx
safe_id: xxx
part_id: xxx
password: xxx
The Coffre map
You can access all declared coffres throught the map service. In the previous exemple, we declared a `coffre1 coffre :
$this->container->get('ecoffrefort.coffre_map')->get('coffre1');
Usage
Each Coffre of ConsoneoEcoffreFortBundle support following methods :
putFile (API de Dépôt)
getFile (API de Consultation)
removeFile (API de Suppression)
getCert (API de récupération du certificat de conformité)
moveFile (API de déplacement d'un document)
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-13