This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
Releases: thecodingmachine/gotenberg-php-client
Releases · thecodingmachine/gotenberg-php-client
3.2.0
3.1.1
3.1.0
3.0.0
php-http/message
The package php-http/message
was in dev dependencies, which was causing an exception.
It is now a standard dependency.
Introducing DocumentFactory
This new release make instantiating documents easier.
There are some breaking changes as described below:
# previously...
$document = new Document('file.pdf');
$document->feedFromPath('/path/to/file');
# ... now:
$document = DocumentFactory::makeFromPath('file.pdf', '/path/to/file');
# previously...
$document = new Document('file.pdf');
$document->feedFromStream(new LazyOpenStream('path/to/file', 'r'));
# ... now:
$document = DocumentFactory::makeFromStream('file.pdf', new LazyOpenStream('path/to/file', 'r'));
Adios composer.lock
First release
First release of this PHP client for the Gotenberg API.