{"id":20291665,"url":"https://github.com/blazingdocs/blazingdocs-php","last_synced_at":"2026-05-11T10:32:46.608Z","repository":{"id":62495094,"uuid":"394325105","full_name":"blazingdocs/blazingdocs-php","owner":"blazingdocs","description":"BlazingDocs PHP client","archived":false,"fork":false,"pushed_at":"2021-12-07T12:11:54.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T23:35:02.542Z","etag":null,"topics":["api","csv","doc","document-generation","documents","docx","json","mail-merge","odt","pdf","reports","templates","xml"],"latest_commit_sha":null,"homepage":"https://blazingdocs.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blazingdocs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-09T14:35:22.000Z","updated_at":"2021-12-07T12:11:57.000Z","dependencies_parsed_at":"2022-11-02T11:31:31.127Z","dependency_job_id":null,"html_url":"https://github.com/blazingdocs/blazingdocs-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/blazingdocs/blazingdocs-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blazingdocs","download_url":"https://codeload.github.com/blazingdocs/blazingdocs-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazingdocs%2Fblazingdocs-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32890650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","csv","doc","document-generation","documents","docx","json","mail-merge","odt","pdf","reports","templates","xml"],"created_at":"2024-11-14T15:13:24.230Z","updated_at":"2026-05-11T10:32:46.590Z","avatar_url":"https://github.com/blazingdocs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlazingDocs PHP client\nHigh-performance document generation API. Generate documents and reports from СSV, JSON, XML with 99,9% uptime and 24/7 monitoring.\n\n## Installation\n\nRun this line from Terminal:\n\n```\ncomposer require blazingdocs/blazingdocs-php\n```\n\n## Integration basics\n\n### Setup\n\nYou can get your API Key at https://app.blazingdocs.com\n\n```php\n$client = new \\BlazingDocs\\BlazingClient('API-KEY');\n```\n\n### Getting account info\n\n```php\n$account = $client-\u003egetAccount();\n```\n\n### Getting merge templates list\n\n```php\n$templates = $client-\u003egetTemplates();\n```\n\n### Getting usage info\n\n```php\n$usage = $client-\u003egetUsage();\n```\n\n### Executing merge\n\n```php\n$client = new \\BlazingDocs\\BlazingClient('API-KEY');\n\n$parameters = new \\BlazingDocs\\Parameters\\MergeParameters();\n$parameters-\u003edataSourceType = \\BlazingDocs\\Utils\\Constants::JSON_TYPE;  # data in json format\n$parameters-\u003esequence = false;  # data is object\n$parameters-\u003estrict = true;  # keep json types\n\n$jsonFile = file_get_contents('PO-Template.json');\n$streamFactory = Psr17FactoryDiscovery::findStreamFactory();\n\n$content = $streamFactory-\u003ecreateStreamFromFile('PO-Template.docx', 'r');\n$template = new \\BlazingDocs\\Utils\\FormFile('PO-Template.docx', $content);\n\n$data = $client-\u003emergeWithFile($jsonFile, 'output.pdf', $parameters, $template);\n```\n\n## Documentation\n\nSee more details here https://docs.blazingdocs.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazingdocs%2Fblazingdocs-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblazingdocs%2Fblazingdocs-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazingdocs%2Fblazingdocs-php/lists"}