{"id":43009118,"url":"https://github.com/appoly/document-generator","last_synced_at":"2026-01-31T05:07:10.827Z","repository":{"id":38112257,"uuid":"407549563","full_name":"appoly/document-generator","owner":"appoly","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-15T10:49:02.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-29T15:13:36.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appoly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-17T13:25:15.000Z","updated_at":"2021-12-03T14:34:01.000Z","dependencies_parsed_at":"2022-07-16T05:16:07.660Z","dependency_job_id":null,"html_url":"https://github.com/appoly/document-generator","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/appoly/document-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appoly%2Fdocument-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appoly%2Fdocument-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appoly%2Fdocument-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appoly%2Fdocument-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appoly","download_url":"https://codeload.github.com/appoly/document-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appoly%2Fdocument-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-31T05:07:10.175Z","updated_at":"2026-01-31T05:07:10.822Z","avatar_url":"https://github.com/appoly.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appoly Document Generator\n\nThis package will generate PDFs and PNGs from websites.\n\n## Installation\n\n```bash\ncomposer require appoly/document-generator\n\n```\n\n## Usage\n\n```php\n\nuse  Appoly\\DocumentGenerator\\Facades\\DocumentGenerator;\n\n$png  =  DocumentGenerator::url('https://www.appoly.co.uk')\n\t\t-\u003epng()\n\t\t-\u003eget();\n\n```\n\n## Options\n\n| Option                        | Description                                                      |\n| ----------------------------- | ---------------------------------------------------------------- |\n| `-\u003epdf()`                     | sets the file to .pdf                                            |\n| `-\u003epng()`                     | sets the file to .png                                            |\n| `-\u003eurl($url)`                   | sets the url that will be rendered                               |\n| `-\u003ehtml($html)`                  | sets the html that will be rendered                              |\n| `-\u003eheight($h)`                | sets the files height                                            |\n| `-\u003ewidth($w)`                | sets the files width                                            |\n| `-\u003eshowBackground($i = true)` | when rendering a PDF, Set to `true` to print background graphics |\n| `-\u003efilename($name)`           | sets the file name - defaults to `random.filetype`               |\n\n## API Key\n\nA api key is required. This can be defined in your `.env`\n\n`DOCUMENT_GENERATOR_API_KEY`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappoly%2Fdocument-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappoly%2Fdocument-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappoly%2Fdocument-generator/lists"}