Skip to content

asposeforcloud/asposelaravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP version

#Aspose Cloud for Laravel

This package allows you to work with Aspose Cloud SDK in your Laravel 4 & 5 applications quickly and easily.

Installation

Add the following line to your composer.json file.

require: {	
		"aspose/cloud-laravel": "~1.0"
}

Run from terminal.

composer update

Laravel 4 Integration

Add package to the list of providers. In config/app.php, add the following line to the providers array.

'Aspose\Cloud\CloudServiceProvider',

Publish config file from the terminal.

php artisan config:publish aspose/cloud-laravel

Edit the new config file in the config/packages/aspose/cloud-laravel, enter appSID & appKey.

return array(
	'baseUri' => 'http://api.aspose.com/v1.1',
	'appSID' => '',
	'appKey' => ''
);

In config/packages/aspose, rename cloud-laravel to cloud

Laravel 5 Integration

Add package to the list of providers. In config/app.php, add the following line to the providers array.

'Aspose\Cloud\CloudServiceProvider',

Publish config file from the terminal.

php artisan vendor:publish

Edit the new config file in the config/asposecloud.php, enter appSID & appKey.

return array(
	'baseUri' => 'http://api.aspose.com/v1.1',
	'appSID' => '',
	'appKey' => ''
);

Usage

Anywhere in your application when you need to access class, just do:

$object = Aspose::get($moduleName, $className, $fileName);

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

In Larave 5, use following namespace at the top of your file.

use Aspose;

Please visit Wiki for articles and examples.

Documentation

For most complete documentation of the plugin, please visit Docs Wiki.

Start a Free Trail Today

Start a free trial today – all you need is to sign up with Aspose for Cloud service. Once you have signed up, you are ready to try powerful file processing features offered by Aspose for Cloud.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages