loevgaard/consignor-shipment-server-bundle

Symfony bundle that integrates the consignor-shipment-server-php-sdk

v1.1.0 2020-04-16 13:42 UTC

This package is auto-updated.

Last update: 2024-11-16 23:50:43 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score

Symfony bundle that integrates Consignor Shipment Server PHP SDK.

Installation

Step 1: Download the bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require loevgaard/consignor-shipment-server-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Loevgaard\ConsignorShipmentServerBundle\LoevgaardConsignorShipmentServerBundle(),
        ];

        // ...
    }

    // ...
}

Step 3: Configure the bundle

# app/config/config.yml

loevgaard_consignor_shipment_server:
    actor: "insert your consignor webservice actor"
    key: "insert your consignor webservice key"