Downloads
Stars
Version
A simple Laravel 5 wrapper for the official PrintNode PHP Library.
Uses the 2.0.0-rc1 version from the printnode php package
composer require sanderjongsma/printnode
Add the service provider in app/config/app.php
'provider' => [
...
SanderJongsma\PrintNode\PrintNodeServiceProvider::class,
...
];
Add the alias in app/config/app.php
'aliases' => [
...
'PrintNode' => SanderJongsma\PrintNode\Facades\PrintNode::class,
'PrintJob' => SanderJongsma\PrintNode\Facades\PrintJob::class,
...
];
php artisan vendor:publish --provider="SanderJongsma\PrintNode\PrintNodeServiceProvider"
You can directly edit the configuration in config/printnode.php
or copy these values to your .env
file.
PRINTNODE_API_KEY=yourapikey
The MIT License (MIT). Please see License File for more information.