htc/now-taxi-bundle

此包为Symfony 2应用程序提供了与nowtaxi.ru订单交换API(http://doc.nowtaxi.ru/api/exchange)的集成。

1.0 2015-06-08 09:46 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:05:17 UTC


README

SensioLabsInsight

此包为Symfony 2应用程序提供了与nowtaxi.ru订单交换API(http://doc.nowtaxi.ru/api/exchange)的集成。

安装步骤

步骤1:下载包

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

$ composer require htc/now-taxi-bundle

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

步骤2:启用包

然后,通过在项目的app/AppKernel.php文件中添加以下行来启用此包

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new JMS\SerializerBundle\JMSSerializerBundle(),
            new Htc\NowTaxiBundle\HtcNowTaxiBundle(),
        );

        // ...
    }

    // ...
}

文档

有关文档,请参阅

Resources/doc/

阅读文档