A Symfony2 bundle to integrate with the UPS Api. This uses the UPS-API library. This is in active development right now.
To use this bundle you need to sign up on the UPS developers website for a new UPS Api Key
Simply run assuming you have installed composer.phar or composer binary (or add to your composer.json
and run composer
install:
$ composer require hautelook/ups-api-bundle
You can follow dev-master
, or use a more stable tag (recommended for various reasons). On the
Github repository, or on Packagist, you can
always find the latest tag.
Now add the Bundle to your Kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Hautelook\UPSApiBundle\HautelookUPSApiBundle(),
// ...
);
}
You can configure the bundle like so:
# app/config/config.yml
hautelook_ups_api:
# Add configuration here
Add usage information...