{"id":23929313,"url":"https://github.com/m-ah07/Merge-Images-to-PDF-php","last_synced_at":"2025-09-11T13:32:14.975Z","repository":{"id":266258646,"uuid":"897833327","full_name":"marwan-ahmed-23/Merge-Images-to-PDF-php","owner":"marwan-ahmed-23","description":"A simple PHP project for merging multiple images into a single PDF file. This project uses the FPDF library to handle PDF generation.","archived":false,"fork":false,"pushed_at":"2024-12-27T06:10:44.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T07:18:48.135Z","etag":null,"topics":["image-processing","image-to-pdf","merge-images","open-source","pdf-generation","pdf-tools","php","php-projects"],"latest_commit_sha":null,"homepage":"","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/marwan-ahmed-23.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-03T10:16:21.000Z","updated_at":"2024-12-27T06:10:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"61956acb-939d-4dbd-a7fd-69fe097cd85d","html_url":"https://github.com/marwan-ahmed-23/Merge-Images-to-PDF-php","commit_stats":null,"previous_names":["marwan-ahmed-23/merge-images-to-pdf-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-ahmed-23%2FMerge-Images-to-PDF-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marwan-ahmed-23","download_url":"https://codeload.github.com/marwan-ahmed-23/Merge-Images-to-PDF-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232651109,"owners_count":18555934,"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":["image-processing","image-to-pdf","merge-images","open-source","pdf-generation","pdf-tools","php","php-projects"],"created_at":"2025-01-05T23:16:17.326Z","updated_at":"2025-09-11T13:32:14.970Z","avatar_url":"https://github.com/marwan-ahmed-23.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merge Images to PDF (php)\n\nA simple PHP project for merging multiple images into a single PDF file. This project uses the FPDF library to handle PDF generation.\n\n## Features\n- Supports multiple image formats (JPEG, PNG, etc.).\n- Dynamically adjusts images to fit within the PDF page.\n\n## Requirements\n- PHP 7.4 or higher.\n- [FPDF library](http://www.fpdf.org/).\n\n## Installation\n\nClone the repository and install the required dependencies:\n\n```bash\ngit clone https://github.com/m-ah07/Merge-Images-to-PDF-php.git\ncd merge-images-to-pdf\ncomposer install\n```\n\n## Usage\n\nHere's an example of how to use the project:\n\n```bash\nrequire_once __DIR__ . '/src/MergeImagesToPdf.php';\n\nuse MergeImages\\MergeImagesToPdf;\n\n$images = [\n    'path/to/image1.jpg',\n    'path/to/image2.jpg',\n];\n\n$outputPath = 'output/merged.pdf';\n\n$merger = new MergeImagesToPdf();\n$merger-\u003emerge($images, $outputPath);\n\necho \"PDF successfully created at: {$outputPath}\";\n```\n\n## Folder Structure\n```plaintext\nmerge-images-to-pdf/ \n├── examples/\n│   └── example.php\n├── src/\n│   └── MergeImagesToPdf.php\n├── LICENSE\n├── .gitignore\n└── README.md\n```\n\n## Contributing\n\nContributions are welcome! Please fork this repository, make your changes, and submit a pull request.\n\n## Show Your Support\n\nIf you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2FMerge-Images-to-PDF-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2FMerge-Images-to-PDF-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2FMerge-Images-to-PDF-php/lists"}