feat: add Go, PHP, and Laravel SDKs
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
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:
parent
1545df9a7b
commit
bc67c52d3a
13 changed files with 1133 additions and 0 deletions
33
sdk/laravel/config/docfast.php
Normal file
33
sdk/laravel/config/docfast.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DocFast API Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Your DocFast Pro API key. Get one at https://docfast.dev
|
||||
|
|
||||
*/
|
||||
'api_key' => env('DOCFAST_API_KEY'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Base URL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The DocFast API base URL. Change for staging or self-hosted instances.
|
||||
|
|
||||
*/
|
||||
'base_url' => env('DOCFAST_BASE_URL', 'https://docfast.dev'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Timeout
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Request timeout in seconds for PDF generation.
|
||||
|
|
||||
*/
|
||||
'timeout' => env('DOCFAST_TIMEOUT', 60),
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue