feat: add Go, PHP, and Laravel SDKs
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled

- Go SDK: zero deps, functional options pattern, full endpoint coverage
- PHP SDK: PHP 8.1+, curl-based, PdfOptions class, PSR-4 autoloading
- Laravel package: ServiceProvider, Facade, config publishing
- All SDKs document complete PDF options including new v0.4.5 params
This commit is contained in:
DocFast Bot 2026-02-21 13:29:48 +00:00
parent 1545df9a7b
commit bc67c52d3a
13 changed files with 1133 additions and 0 deletions

24
sdk/php/composer.json Normal file
View file

@ -0,0 +1,24 @@
{
"name": "docfast/docfast-php",
"description": "Official PHP SDK for the DocFast HTML/Markdown to PDF API",
"type": "library",
"license": "MIT",
"homepage": "https://docfast.dev",
"keywords": ["pdf", "html-to-pdf", "markdown-to-pdf", "api", "docfast"],
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-curl": "*"
},
"autoload": {
"psr-4": {
"DocFast\\": "src/"
}
},
"authors": [
{
"name": "DocFast",
"homepage": "https://docfast.dev"
}
]
}