sanderjongsma/printnode

dev-master 2019-04-23 15:02 UTC

This package is auto-updated.

Last update: 2024-04-07 08:40:42 UTC


README

A simple Laravel 5 wrapper for the official PrintNode PHP Library.

Version overview

Uses the 2.0.0-rc1 version from the printnode php package

Installation

Step 1: Install Through Composer

composer require sanderjongsma/printnode

Step 2: Add the Service Provider

Add the service provider in app/config/app.php

'provider' => [
    ...
    SanderJongsma\PrintNode\PrintNodeServiceProvider::class,
    ...
];

Step 3: Add the Facades

Add the alias in app/config/app.php

'aliases' => [
    ...
    'PrintNode' => SanderJongsma\PrintNode\Facades\PrintNode::class,
    'PrintJob' => SanderJongsma\PrintNode\Facades\PrintJob::class,
    ...
];

Step 4: Publish configuration

php artisan vendor:publish --provider="SanderJongsma\PrintNode\PrintNodeServiceProvider"

Step 5: Customize configuration

You can directly edit the configuration in config/printnode.php or copy these values to your .env file.

PRINTNODE_API_KEY=yourapikey

License

The MIT License (MIT). Please see License File for more information.