inwendo/iw_client_webdav_symfony_bundle

本包最新版本(0.2.8)没有提供许可证信息。

inwendo WebDav API 客户端

0.2.8 2020-05-15 14:36 UTC

This package is not auto-updated.

Last update: 2024-09-28 11:21:34 UTC


README

安装

步骤 1:下载 Bundle

编辑 composer.json 并添加以下信息

    //...
    "require": {
        "inwendo/iw_client_webdav_symfony_bundle": ">=0.2"
    }
    //...

打开命令行,进入您的项目目录,并执行以下命令以下载此 Bundle 的最新稳定版本

$ composer update

此命令要求您已全局安装 Composer,具体请参阅 Composer 文档中的安装章节

步骤 2:启用 Bundle

然后,通过将其添加到项目 app/AppKernel.php 文件中注册的 Bundle 列表来启用该 Bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Inwendo\WebDavClientBundle\InwendoWebDavClientBundle(),
        );

        // ...
    }

    // ...
}

步骤 3:将配置添加到 config.yml 文件

inwendo_web_dav_client:
    oauth_client_id: "%webdav_oauth_client_id%"
    oauth_client_secret: "%webdav_oauth_client_secret%"

步骤 5:使用方法

待办事项