Download the PHP package cloudlayerio/cloudlayerio-php without Composer
On this page you can find all versions of the php package cloudlayerio/cloudlayerio-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cloudlayerio/cloudlayerio-php
More information about cloudlayerio/cloudlayerio-php
Files in cloudlayerio/cloudlayerio-php
Download cloudlayerio/cloudlayerio-php
More information about cloudlayerio/cloudlayerio-php
Files in cloudlayerio/cloudlayerio-php
Vendor cloudlayerio
Package cloudlayerio-php
Short Description Official PHP SDK for the CloudLayer.io document generation API
License Apache-2.0
Package cloudlayerio-php
Short Description Official PHP SDK for the CloudLayer.io document generation API
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package cloudlayerio-php
cloudlayer.io PHP SDK
Official PHP SDK for the cloudlayer.io document generation API.
Installation
Quick Start
Requirements
- PHP >= 8.1
- ext-json
API Version Differences
| Aspect | v1 | v2 |
|---|---|---|
| Default mode | Synchronous | Asynchronous |
| Sync response | Raw binary (PDF/image bytes) | JSON Job object |
| Async response | JSON Job object | JSON Job object |
| Binary access | Direct from response | downloadJobResult($job) |
v1 Example
v2 Example
Configuration
Conversion Methods
URL to PDF / Image
HTML to PDF / Image
HTML content must be Base64-encoded:
Template Rendering
File Conversion
PDF Merge
Batch Processing
Async Mode & Job Polling
Data Management
Error Handling
Performance Notes
listJobs()/listAssets(): Return ALL records with no pagination. Each call reads every document from the database. UsegetJob()/getAsset()for single lookups.waitForJob()polling: Each poll reads one database document. Default 5-second interval is intentional — don't decrease below 2 seconds.- Conversion requests are not retried: Conversions are expensive server-side operations. Only data management GET endpoints are automatically retried on 429/5xx.
Type Safety
The SDK uses declare(strict_types=1) in every file and passes PHPStan level 8 (maximum strictness). All response types are readonly value objects with typed properties.
Other SDKs
- JavaScript/TypeScript: @cloudlayerio/sdk (GitHub)
- Python: cloudlayerio (GitHub)
- Go: cloudlayerio-go (GitHub)
- .NET C#: cloudlayerio-dotnet (GitHub)
License
Apache-2.0
All versions of cloudlayerio-php with dependencies
PHP Build Version
Package Version
The package cloudlayerio/cloudlayerio-php contains the following files
Loading the files please wait ...