{"id":29544669,"url":"https://github.com/turkeryildirim/php-figma-api","last_synced_at":"2026-03-07T02:32:32.361Z","repository":{"id":295984470,"uuid":"991933439","full_name":"turkeryildirim/php-figma-api","owner":"turkeryildirim","description":"A PHP library for Figma's rest API","archived":false,"fork":false,"pushed_at":"2025-06-02T14:49:52.000Z","size":373,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T18:32:56.435Z","etag":null,"topics":["api","figma","library","php","rest","rest-api","wrapper"],"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/turkeryildirim.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-28T11:16:24.000Z","updated_at":"2025-05-31T13:54:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"af37beec-4153-4ed6-8f75-9a33f51fb987","html_url":"https://github.com/turkeryildirim/php-figma-api","commit_stats":null,"previous_names":["turkeryildirim/php-figma-api"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/turkeryildirim/php-figma-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turkeryildirim%2Fphp-figma-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turkeryildirim%2Fphp-figma-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turkeryildirim%2Fphp-figma-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turkeryildirim%2Fphp-figma-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turkeryildirim","download_url":"https://codeload.github.com/turkeryildirim/php-figma-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turkeryildirim%2Fphp-figma-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"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":["api","figma","library","php","rest","rest-api","wrapper"],"created_at":"2025-07-17T15:03:07.358Z","updated_at":"2026-03-07T02:32:32.342Z","avatar_url":"https://github.com/turkeryildirim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Library for Figma Rest API\n\nA PHP library for Figma's rest API but does not cover all endpoints and properties \"fully\".\n\n## Description\n\nThis library was developed for the Figma REST API, but it doesn't support all API endpoints and properties. This is\nbecause some endpoints are only accessible to enterprise accounts, and since I don't have access to such an account,\nthese endpoints were disregarded.\n\nDue to inconsistencies in property naming across various endpoints (e.g., style_type and styleType), all naming\nconventions used within this library have been standardized to camel case, rather than adhering to the existing\ninconsistent naming in the API.\n\n## Supported API endpoints\n* Comments\n* Reactions\n* Components\n* Component Sets\n* Files\n* Projects\n* Styles\n* Users\n* Version history\n\n## Disregarded API endpoints\n* Webhooks\n* Activity logs\n* Payments\n* Variables\n* Dev resources\n* Library analytics\n\n## Installation\n\nYou can install php figma api library using Composer:\n\n```\ncomposer require turkeryildirim/figma-api\n```\n\nYou will then need to:\n\n* run ``composer install`` to get these dependencies added to your vendor directory\n* add the autoloader to your application with this line: ``require(\"vendor/autoload.php\")``\n\n## Documentation\n\nYou can read more details about API endpoints and properties\nfrom [official Figma rest api  documentation](https://www.figma.com/developers/api).\n\nAll fields are populated with response data received from the API endpoint, ensuring consistency with the designated \ndata type. For instance, if a field is defined as a boolean, but the response data from the endpoint returns it as a \nstring (e.g., \"remote\": \"false\"), it will still be converted to a boolean data type.\n\nAll empty fields in the response data (whether null or empty) are converted to null, regardless of the field’s original \ntype. For example, the children field is defined as an array but if the response data returns an empty array, this \nfield will be marked as null.\n\nFields that are defined for the relevant response but are absent from the response data will also be marked as null \n(e.g., user email).\n\nBy default all GET responses are stored into array cache driver for 5 minutes. You can pass your own cache driver, \njust check out samples folder.\n\nAlso almost every action are stored as a log with default Monolog driver and ErrorLogHandler. You can pass your own \ndriver, just check out samples folder.\n\n## How to use\nJust check out [samples](https://github.com/turkeryildirim/php-figma-api/tree/main/samples) \nand [tests](https://github.com/turkeryildirim/php-figma-api/tree/main/test)\n\n###\n\n## License\n\nPHP library for Figma rest api is licensed\nunder [MIT](https://github.com/turkeryildirim/php-figma-api/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeryildirim%2Fphp-figma-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturkeryildirim%2Fphp-figma-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeryildirim%2Fphp-figma-api/lists"}