{"id":50943650,"url":"https://github.com/tempestphp/responsive-image","last_synced_at":"2026-06-17T17:36:29.718Z","repository":{"id":361121207,"uuid":"1251276271","full_name":"tempestphp/responsive-image","owner":"tempestphp","description":"Server-side responsive images with PHP","archived":false,"fork":false,"pushed_at":"2026-05-29T08:41:53.000Z","size":365,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T10:09:19.687Z","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/tempestphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"tempestphp"}},"created_at":"2026-05-27T12:21:12.000Z","updated_at":"2026-05-29T08:41:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tempestphp/responsive-image","commit_stats":null,"previous_names":["tempestphp/responsive-image"],"tags_count":null,"template":false,"template_full_name":"tempestphp/package","purl":"pkg:github/tempestphp/responsive-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fresponsive-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fresponsive-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fresponsive-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fresponsive-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tempestphp","download_url":"https://codeload.github.com/tempestphp/responsive-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fresponsive-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34459609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-17T17:36:29.056Z","updated_at":"2026-06-17T17:36:29.712Z","avatar_url":"https://github.com/tempestphp.png","language":"PHP","funding_links":["https://github.com/sponsors/tempestphp"],"categories":[],"sub_categories":[],"readme":"# Responsive images with PHP\n\nGenerate responsive images with PHP and render the correct HTML.\n\n\u003e [!IMPORTANT]\n\u003e This package is still a work in progress! Feel free to open issues.\n\n## Quickstart\n\n```sh\ncomposer require tempest/responsive-image\n```\n\n```php\nuse Tempest\\ResponsiveImage\\ResponsiveImageFactory;\nuse Tempest\\ResponsiveImage\\ResponsiveImageConfig;\n\n$config = new ResponsiveImageConfig(\n    srcPath: __DIR__ . '/path/to/image/sources',\n    publicPath: __DIR__ . '/../public',\n);\n\n$imageFactory = new ResponsiveImageFactory($config);\n\n$image = $imageFactory-\u003ecreate('/parrot.jpg');\n\necho $image-\u003ehtml;\n\n// \u003cimg src=\"/parrot.jpg\" srcset=\"/parrot-1920-1280.jpg 1920w, /parrot-1606-1070.jpg 1606w, /parrot-1214-809.jpg 1214w, /parrot-607-404.jpg 607w\"\u003e\n```\n\n## In depth\n\nRead the full docs here: [https://tempestphp.com/docs/packages/responsive-image](https://tempestphp.com/docs/packages/responsive-image)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempestphp%2Fresponsive-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftempestphp%2Fresponsive-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempestphp%2Fresponsive-image/lists"}