{"id":19112910,"url":"https://github.com/chipslays/imgfy-api","last_synced_at":"2026-06-18T02:31:54.078Z","repository":{"id":62501853,"uuid":"336377284","full_name":"chipslays/imgfy-api","owner":"chipslays","description":"🎨 Official PHP API wrapper for Imgfy.cf","archived":false,"fork":false,"pushed_at":"2021-02-06T11:59:37.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T14:44:51.365Z","etag":null,"topics":["image-host","image-hosting","image-upload","image-upload-php","image-uploader"],"latest_commit_sha":null,"homepage":"https://imgfy.cf","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chipslays.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-05T20:08:20.000Z","updated_at":"2021-02-06T11:59:40.000Z","dependencies_parsed_at":"2022-11-02T12:16:02.703Z","dependency_job_id":null,"html_url":"https://github.com/chipslays/imgfy-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/chipslays/imgfy-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fimgfy-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fimgfy-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fimgfy-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fimgfy-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chipslays","download_url":"https://codeload.github.com/chipslays/imgfy-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fimgfy-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34474063,"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-18T02:00:06.871Z","response_time":128,"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":["image-host","image-hosting","image-upload","image-upload-php","image-uploader"],"created_at":"2024-11-09T04:34:30.200Z","updated_at":"2026-06-18T02:31:54.062Z","avatar_url":"https://github.com/chipslays.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 Imgfy [API](https://imgfy.cf/api)\n\n[**Imgfy**](https://imgfy.cf/) - is a simple and beautiful service for uploading images.\n\n## Installation\n```bash\n$ composer require chipslays/imgfy-api\n```\n\n## Methods\n\n### `upload`\n\nUpload image to Imgfy.cf:\n\n```\nImgfy::upload(string|array $images [, bool $secretly = false]) : array\n```\n\nUpload single image:\n\n```php\nuse Chipslays\\Imgfy\\Imgfy;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$response = Imgfy::upload('potato.png');\n\nprint_r($response);\n\nArray\n(\n    [0] =\u003e Array\n        (\n            [filename] =\u003e potato.png\n            [preview] =\u003e https://imgfy.cf/hs7oe\n            [source] =\u003e https://imgfy.cf/file/b49432863e12495ddf099.png\n        )\n)\n```\n\nUpload multiple images:\n\n```php\nuse Chipslays\\Imgfy\\Imgfy;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$response = Imgfy::upload([\n    'potato.png', \n    'chips.jpg', \n]);\n\nprint_r($response);\n\nArray\n(\n    [0] =\u003e Array\n        (\n            [filename] =\u003e potato.png\n            [preview] =\u003e https://imgfy.cf/hs7oe\n            [source] =\u003e https://imgfy.cf/file/b49432863e12495ddf099.png\n        )\n    [1] =\u003e Array\n        (\n            [filename] =\u003e chips.png\n            [preview] =\u003e https://imgfy.cf/hs7od\n            [source] =\u003e https://imgfy.cf/file/b39423123e15595dfd019.png\n        )\n)\n```\n\nGenerate super-secretly links:\n\n```php\nuse Chipslays\\Imgfy\\Imgfy;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$response = Imgfy::upload('potato.png', true);\n\nprint_r($response);\n\nArray\n(\n    [0] =\u003e Array\n        (\n            [filename] =\u003e potato.png\n            [preview] =\u003e https://imgfy.cf/z:maewitZhZRKPD\n            [source] =\u003e https://imgfy.cf/file/b32166863eaf495ddf079.png\n        )\n)\n```\n\nShort alias `upload_imgfy` function.\n\n```php\n$response = upload_imgfy('potato.png');\n$response = upload_imgfy(['potato.png', 'chips.jpg']);\n\n// super-secretly link\n$response = upload_imgfy('potato.png', true);\n$response = upload_imgfy(['potato.png', 'chips.jpg'], true);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchipslays%2Fimgfy-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchipslays%2Fimgfy-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchipslays%2Fimgfy-api/lists"}