This bundle allows you to work with Aspose Cloud SDK in your Symfony applications quickly and easily.
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(), // ... ); }
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.