{"id":22640761,"url":"https://github.com/beastbytes/pdf","last_synced_at":"2025-08-03T19:07:45.638Z","repository":{"id":190199826,"uuid":"682179021","full_name":"beastbytes/pdf","owner":"beastbytes","description":"PDF document generation and saving or outputting the document.","archived":false,"fork":false,"pushed_at":"2023-08-29T22:49:02.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T15:55:03.012Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beastbytes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-23T15:59:21.000Z","updated_at":"2023-08-23T15:59:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d1514c8-9565-42f1-be05-0a08d42e821c","html_url":"https://github.com/beastbytes/pdf","commit_stats":null,"previous_names":["beastbytes/pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastbytes%2Fpdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastbytes%2Fpdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastbytes%2Fpdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastbytes%2Fpdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beastbytes","download_url":"https://codeload.github.com/beastbytes/pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246143381,"owners_count":20730252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-09T04:13:51.327Z","updated_at":"2025-03-29T05:26:24.938Z","avatar_url":"https://github.com/beastbytes.png","language":"PHP","readme":"# PDF\nPDF document generation and saving or outputting the document.\n\nActual PDF document generation is performed by separate interchangeable packages that use a particular PDF library.\n\nFor license information check the [LICENSE](LICENSE.md) file.\n\n## Installation\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n```\ncomposer require --prefer-dist BeastBytes/pdf\n```\nor add\n\n```json\n\"beastbytes/pdf\": \"~1.0.0\"\n```\nto the `require` section of your composer.json.\n\n## Basic Usage\n```php\n\n$document = $pdf\n    -\u003egenerate('viewName')\n    -\u003ewithAuthor('A. U. Thor')\n    -\u003ewithSubject('Subject')\n    -\u003ewithTitle('Title')\n;    \n\n$pdf-\u003eoutput($document, Pdf::DESTINATION_INLINE);\n```\n\n### Localised View\nThe document can use localised views using the `withLocale()` method\n```php\n\n$document = $pdf\n    -\u003ewithLocale('de_DE')\n    -\u003egenerate('viewName')\n    -\u003ewithAuthor('A. U. Thor')\n    -\u003ewithSubject('Subject')\n    -\u003ewithTitle('Title')\n;    \n\n$pdf-\u003eoutput($document, Pdf::DESTINATION_INLINE);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastbytes%2Fpdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeastbytes%2Fpdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastbytes%2Fpdf/lists"}