Aspose Cloud for Symfony

This bundle allows you to work with Aspose Cloud SDK in your Symfony applications quickly and easily.

Installation

Add the following lines to your composer.json file:

// composer.json
{
    // ...
    require: {
        // ..
        "aspose/cloud-sdk-php": "dev-master",
        "aspose/cloud-bundle": "dev-master"

    }
}


Now, you can install the new dependencies by running Composer's update command from the directory where your composer.json file is located.

    composer update


Update your AppKernel.php file, and register the new bundle:

// app/AppKernel.php
public function registerBundles()
{
    // ...
     new Aspose\Bundle\CloudBundle\AsposeCloudBundle(),
    // ...
);
}

Usage

The Bundle is called as a standard service.

$this->get('asposeapp');

This will return you object of Product class and you can access properties and methods of class.

 

Last edited Sep 15, 2014 at 2:42 PM by masoodanwer, version 4