{"id":17125595,"url":"https://github.com/jellybellydev/imageorientationfix","last_synced_at":"2025-08-20T12:31:12.265Z","repository":{"id":13908147,"uuid":"16606995","full_name":"JellyBellyDev/ImageOrientationFix","owner":"JellyBellyDev","description":"PHP library to fix image orientation by exif data.","archived":false,"fork":false,"pushed_at":"2024-10-08T07:53:12.000Z","size":3881,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-10T04:10:19.006Z","etag":null,"topics":["auto-rotate","exif","exif-data","hacktoberfest","image-orientation","landscape","php","php-library","portrait"],"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/JellyBellyDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"JellyBellyDev"}},"created_at":"2014-02-07T07:06:12.000Z","updated_at":"2024-10-08T07:53:12.000Z","dependencies_parsed_at":"2024-01-05T10:54:22.998Z","dependency_job_id":"d2dbf08a-acd0-4d98-91b3-c4fbbe697442","html_url":"https://github.com/JellyBellyDev/ImageOrientationFix","commit_stats":{"total_commits":49,"total_committers":3,"mean_commits":"16.333333333333332","dds":"0.24489795918367352","last_synced_commit":"3ed15e5a01994d2f1dbc9434ac9c038d37d73d49"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JellyBellyDev%2FImageOrientationFix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JellyBellyDev%2FImageOrientationFix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JellyBellyDev%2FImageOrientationFix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JellyBellyDev%2FImageOrientationFix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JellyBellyDev","download_url":"https://codeload.github.com/JellyBellyDev/ImageOrientationFix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230423559,"owners_count":18223435,"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":["auto-rotate","exif","exif-data","hacktoberfest","image-orientation","landscape","php","php-library","portrait"],"created_at":"2024-10-14T18:45:17.271Z","updated_at":"2024-12-19T11:11:57.660Z","avatar_url":"https://github.com/JellyBellyDev.png","language":"PHP","funding_links":["https://github.com/sponsors/JellyBellyDev"],"categories":[],"sub_categories":[],"readme":"# ImageOrientationFix\n\nPHP library to fix image orientation by exif data with thanks to method [exif_read_data](http://it2.php.net/manual/en/function.exif-read-data.php)\n\n[![Gitbub actions](https://github.com/JellyBellyDev/ImageOrientationFix/workflows/Build/badge.svg)](https://github.com/JellyBellyDev/ImageOrientationFix/actions)\n[![Latest Stable Version](https://poser.pugx.org/jellybellydev/image-orientation-fix/v/stable)](https://packagist.org/packages/jellybellydev/image-orientation-fix)\n[![PHP Version Require](http://poser.pugx.org/jellybellydev/image-orientation-fix/require/php)](https://packagist.org/packages/jellybellydev/image-orientation-fix)\n[![Total Downloads](https://poser.pugx.org/jellybellydev/image-orientation-fix/downloads)](https://packagist.org/packages/jellybellydev/image-orientation-fix)\n[![composer.lock](https://poser.pugx.org/jellybellydev/image-orientation-fix/composerlock)](https://packagist.org/packages/jellybellydev/image-orientation-fix)\n[![License](https://poser.pugx.org/jellybellydev/image-orientation-fix/license)](https://packagist.org/packages/jellybellydev/image-orientation-fix)\n[![codecov](https://codecov.io/gh/JellyBellyDev/ImageOrientationFix/branch/master/graph/badge.svg)](https://codecov.io/gh/JellyBellyDev/ImageOrientationFix)\n\n## Image Example\n\n![after](images/after_and_before.png)\n\n\n## How to install\n\n```bash\ncomposer require jellybellydev/image-orientation-fix\n```\n\n\n## How to use\n\n```php\nuse ImageOrientationFix\\ImageOrientationFixer;\n\n$iof = new ImageOrientationFixer('foo.jpg');\n$iof-\u003efix();\n```\nor\n```php\nuse ImageOrientationFix\\ImageOrientationFixer;\n\n$iof = new ImageOrientationFixer('/path/foo.jpg', '/path/foo_fixed.jpg');\n$iof-\u003efix();\n```\n\n## Contributing\n\nDependencies are managed through composer:\n\n```\n$ docker-compose up --build -d\n$ docker-compose run php74 composer install\n```\n\n\n### Run phpunit:\n\n```\n$ docker-compose run php74 composer test\n```\n\n\n### Run php-cs-fixer\n``` bash\ndocker-compose run php74 composer cs-fixer\n```\n\n\n## Changelog\n\nPlease refer to the [changelog notes](CHANGELOG.md).\n\n\n## Credits\n\nThanks to [recurser](https://github.com/recurser) for the [image example](https://github.com/recurser/exif-orientation-examples)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellybellydev%2Fimageorientationfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjellybellydev%2Fimageorientationfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellybellydev%2Fimageorientationfix/lists"}