Download the PHP package andrewlamers/php-google-cloud-print without Composer
On this page you can find all versions of the php package andrewlamers/php-google-cloud-print. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andrewlamers/php-google-cloud-print
More information about andrewlamers/php-google-cloud-print
Files in andrewlamers/php-google-cloud-print
Download andrewlamers/php-google-cloud-print
More information about andrewlamers/php-google-cloud-print
Files in andrewlamers/php-google-cloud-print
Vendor andrewlamers
Package php-google-cloud-print
Short Description PHP Google cloud print api wrapper
License
Package php-google-cloud-print
Short Description PHP Google cloud print api wrapper
License
Please rate this library. Is it a good library?
Informations about the package php-google-cloud-print
Php Google Cloud Print
PHP Interface to the google cloud print API.
Installation
composer require andrewlamers/php-google-cloud-print
Google Service Account
You can use a google service account with this api. To give the service account access to your printers, share the printer with the service account email. The api will try to accept invites automatically.
Laravel Setup
Included service provider and facade for Laravel 5.
'providers' => [
\Andrewlamers\PhpGoogleCloudPrint\ServiceProvider::class
]
'aliases' => [
'CloudPrint' => Andrewlamers\PhpGoogleCloudPrint\Facade::class
]
Example Usage
$response = CloudPrint::html('<html><body>My html content</body></html>')
->printer('myprinterid')
->send();
Available Options
CloudPrint::html('mystring')
->printer($printerid)
->content($stringContent)
->title('my job title')
->tag('my job tag')
->
All versions of php-google-cloud-print with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~6
google/apiclient Version ^2.0
php Version >=5.5.9
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*
google/apiclient Version ^2.0
php Version >=5.5.9
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*
The package andrewlamers/php-google-cloud-print contains the following files
Loading the files please wait ....