awakenweb/livedocx4laravel

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel Service Provider and Facade for Livedocx

2.0 2016-02-22 00:11 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:35:19 UTC


README

Livedocx service will shut down on Sept. 30th 2017.

Use https://github.com/TextControl/txtextcontrol-reportingcloud-php instead

livedocx4laravel

Laravel Service provider for Awakenweb/Livedocx

Prerequisites

This package requires:

To use the Laravel 4 version, go to the laravel-4 branch of this package. Installation

Add the following line to your composer.json

"require": {
    "awakenweb/livedocx4laravel": "2.*"
}

Edit your config/app.php to add the service provider and the facade:

'providers' => [
    ...
    Awakenweb\Livedocx4Laravel\LivedocxServiceProvider::class,
],
...
'aliases' => [
    ...
    'Livedocx' => Awakenweb\Livedocx4Laravel\Facades\Livedocx::class,
],

Then run the artisan command to publish the config file:

php artisan config:publish awakenweb/livedocx4laravel

Finally edit the config/livedocx.php file.

Change the wsdl to match your Livedocx account type (free, premium, or fully licensed), username, and password for authentication and you are ready to roll!

Use

The Livedocx facade automatically instanciate Awakenweb/Livedocx/Livedocx and all its dependencies.

Quick example.

//to list all templates present on Livedocx service
$tpl = Livedocx::createRemoteTemplate();
return $tpl->listAll();