Laravel Service Provider and Facade for Livedocx

2.0 2016-02-22 00:11 UTC


Laravel Service provider for Awakenweb/Livedocx


This package requires:

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


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' => [
'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!


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();