{"id":15277455,"url":"https://github.com/tattersoftware/codeigniter4-thumbnails","last_synced_at":"2025-04-12T15:10:40.933Z","repository":{"id":35039345,"uuid":"199498591","full_name":"tattersoftware/codeigniter4-thumbnails","owner":"tattersoftware","description":"Modular thumbnail generation, for CodeIgniter 4","archived":false,"fork":false,"pushed_at":"2024-01-18T13:15:34.000Z","size":114,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-11T16:07:01.445Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tattersoftware.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":"SECURITY.md","support":null}},"created_at":"2019-07-29T17:32:28.000Z","updated_at":"2024-08-15T18:50:45.000Z","dependencies_parsed_at":"2022-08-08T04:01:10.777Z","dependency_job_id":null,"html_url":"https://github.com/tattersoftware/codeigniter4-thumbnails","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-thumbnails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-thumbnails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-thumbnails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-thumbnails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattersoftware","download_url":"https://codeload.github.com/tattersoftware/codeigniter4-thumbnails/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586231,"owners_count":21128997,"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-09-30T11:06:35.354Z","updated_at":"2025-04-12T15:10:40.912Z","avatar_url":"https://github.com/tattersoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tatter\\Thumbnails\nModular thumbnail generation, for CodeIgniter 4\n\n[![](https://github.com/tattersoftware/codeigniter4-thumbnails/workflows/PHPUnit/badge.svg)](https://github.com/tattersoftware/codeigniter4-thumbnails/actions/workflows/test.yml)\n[![](https://github.com/tattersoftware/codeigniter4-thumbnails/workflows/PHPStan/badge.svg)](https://github.com/tattersoftware/codeigniter4-thumbnails/actions/workflows/analyze.yml)\n[![](https://github.com/tattersoftware/codeigniter4-thumbnails/workflows/Deptrac/badge.svg)](https://github.com/tattersoftware/codeigniter4-thumbnails/actions/workflows/inspect.yml)\n[![Coverage Status](https://coveralls.io/repos/github/tattersoftware/codeigniter4-thumbnails/badge.svg?branch=develop)](https://coveralls.io/github/tattersoftware/codeigniter4-thumbnails?branch=develop)\n\n## Quick Start\n\n1. Install with Composer: `\u003e composer require tatter/thumbnails`\n2. Load the service: `$thumbnails = service('thumbnails');`\n3. Create your first thumbnail: `$thumbnails-\u003ecreate('bigfile.jpg', 'thumbnail.jpg');`\n\n## Features\n\n**Thumbnails** uses CodeIgniter4's native Image class for fast and efficient\nprocessing. It also checks for modular support files so it can grow to cover anything you\ncould possibly want to thumbnail: videos, 3D assets, text documents.\n\n## Installation\n\nInstall easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities\nand always be up-to-date:\n```bash\ncomposer require tatter/thumbnails\n```\n\nOr, install manually by downloading the source files and adding the directory to\n**app/Config/Autoload.php**.\n\n## Configuration (optional)\n\nThe library's default behavior can be altered by extending its config file. Copy\n**examples/Thumbnails.php** to **app/Config/** and follow the instructions\nin the comments. If no config file is found in **app/Config** the library will use its own.\n\n## Usage\n\n* Load the service: `$thumbnails = service('thumbnails');`\n* Use the config file to define parameters, or change them on-the-fly:\n```\n$thumbnails-\u003esetImageType(IMAGETYPE_PNG);\n$thumbnails-\u003esetWidth(120);\n```\n* Use the `create()` method to write the thumbnail out to a convenient location: `$thumbnails-\u003ecreate('bigfile.jpg', 'thumbnail.png');`\n\n## Extending\n\nThe library looks across all namespaces for a **Thumbnailers/** directory and loads any\nsupported classes it find. Each class defines the extensions it supports as well as its own\n`process()` method to generate the image. Add additional extension support from other modules,\nor write your own. Files will be processed by matching the extension to each handler's list\nof supported extension. You may also specify a specific handler to use by with the\n`setHandler(string $id)` method (see [Tatter\\Handlers](https://github.com/tattersoftware/codeigniter4-handlers)).\n\n## Contributing\n\nThis library will periodically update with new supported extensions, but please feel free\nto submit Pull Requests with additional handlers (or bug fixes).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-thumbnails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattersoftware%2Fcodeigniter4-thumbnails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-thumbnails/lists"}