hautelook / ups-api-bundle
Symfony2 Bundle,提供对UPS API的访问
此包的官方仓库似乎已消失,因此该包已被冻结。
dev-master
2014-11-14 06:06 UTC
Requires
- php: >=5.3.0
- gabrielbull/ups-api: ~0.2
- symfony/framework-bundle: ~2.1
Requires (Dev)
- symfony/browser-kit: ~2.1
- symfony/validator: ~2.1
- symfony/yaml: ~2.1
This package is not auto-updated.
Last update: 2022-01-18 03:56:53 UTC
README
一个用于与UPS API集成的Symfony2 Bundle。此Bundle使用UPS-API库。目前正在积极开发中。
简介
要使用此Bundle,您需要在UPS开发人员网站上注册以获取新的UPS API密钥
安装
假设您已安装composer.phar或composer二进制文件(或将其添加到您的composer.json
中并运行composer install)
$ composer require hautelook/ups-api-bundle
您可以跟踪dev-master
,或使用更稳定的标签(出于各种原因推荐)。在Github仓库或Packagist上,您总能找到最新的标签。
现在将Bundle添加到您的Kernel中
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hautelook\UPSApiBundle\HautelookUPSApiBundle(), // ... ); }
配置
您可以这样配置Bundle
# app/config/config.yml hautelook_ups_api: # Add configuration here
用法
添加用法信息...