{"id":25257524,"url":"https://github.com/czproject/pdf-rotate","last_synced_at":"2025-10-27T02:31:53.461Z","repository":{"id":56960989,"uuid":"71261545","full_name":"czproject/pdf-rotate","owner":"czproject","description":"Rotation of PDF pages in PHP","archived":false,"fork":false,"pushed_at":"2023-03-29T11:01:54.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-17T23:15:02.156Z","etag":null,"topics":["pdf-manipulation","php"],"latest_commit_sha":null,"homepage":"","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/czproject.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-18T15:16:00.000Z","updated_at":"2023-05-08T19:43:19.000Z","dependencies_parsed_at":"2023-01-22T22:15:15.155Z","dependency_job_id":null,"html_url":"https://github.com/czproject/pdf-rotate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czproject%2Fpdf-rotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czproject%2Fpdf-rotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czproject%2Fpdf-rotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czproject%2Fpdf-rotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czproject","download_url":"https://codeload.github.com/czproject/pdf-rotate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238424924,"owners_count":19470211,"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":["pdf-manipulation","php"],"created_at":"2025-02-12T06:40:25.500Z","updated_at":"2025-10-27T02:31:53.456Z","avatar_url":"https://github.com/czproject.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PdfRotate\n\n[![Build Status](https://github.com/czproject/pdf-rotate/workflows/Build/badge.svg)](https://github.com/czproject/pdf-rotate/actions)\n[![Downloads this Month](https://img.shields.io/packagist/dm/czproject/pdf-rotate.svg)](https://packagist.org/packages/czproject/pdf-rotate)\n[![Latest Stable Version](https://poser.pugx.org/czproject/pdf-rotate/v/stable)](https://github.com/czproject/pdf-rotate/releases)\n[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/czproject/pdf-rotate/blob/master/license.md)\n\nRotate PDF documents from PHP.\n\n\u003ca href=\"https://www.janpecha.cz/donate/\"\u003e\u003cimg src=\"https://buymecoffee.intm.org/img/donate-banner.v1.svg\" alt=\"Donate\" height=\"100\"\u003e\u003c/a\u003e\n\n\n## Installation\n\n[Download a latest package](https://github.com/czproject/pdf-rotate/releases) or use [Composer](http://getcomposer.org/):\n\n```\ncomposer require czproject/pdf-rotate\n```\n\n`CzProject\\PdfRotate` requires PHP 8.0 or later.\n\n\n## Usage\n\n\n``` php\nuse CzProject\\PdfRotate\\PdfRotate;\n\n$pdf = new PdfRotate;\n$sourceFile = '/path/to/source.pdf';\n$outputFile = '/path/to/output.pdf';\n\n$pdf-\u003erotatePdf($sourceFile, $outputFile, $pdf::DEGREES_90);\n```\n\n------------------------------\n\nLicense: [New BSD License](license.md)\n\u003cbr\u003eAuthor: Jan Pecha, https://www.janpecha.cz/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczproject%2Fpdf-rotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczproject%2Fpdf-rotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczproject%2Fpdf-rotate/lists"}