Skip to content

icambridge-old/php-docraptor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PHP-DocRaptor

PHP-DocRaptor is a simple consumer class for DocRaptor.com You will need a DocRaptor account before you can use the class, as it requires a valid API key.

###Usage $docraptor = new DocRaptor(YOUR_API_KEY); $docraptor->setDocumentContent('

Hello!

'); $docraptor->setDocumentType('pdf'); $docraptor->setTest(true); $docraptor->setName('output.pdf'); $file = $docraptor->fetchDocument();

Optionally, the fetchDocument() method takes a filename as an argument. If you provide a filename, the class will attempt to write the returned value to the file you provided.

About

PHP consumer for the DocRaptor.com API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%