{"id":19021646,"url":"https://github.com/zephir-lang/setup-php-sdk","last_synced_at":"2025-07-21T15:04:17.517Z","repository":{"id":46673374,"uuid":"411800684","full_name":"zephir-lang/setup-php-sdk","owner":"zephir-lang","description":"GitHub Action to setup PHP SDK and Developer Pack for Windows PHP builds","archived":false,"fork":false,"pushed_at":"2021-10-07T13:50:46.000Z","size":30,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-20T15:10:11.715Z","etag":null,"topics":["hacktoberfest","php-sdk","zephir"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/zephir-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":["phalcon"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://opencollective.com/phalcon"]}},"created_at":"2021-09-29T19:15:33.000Z","updated_at":"2024-12-01T21:58:24.000Z","dependencies_parsed_at":"2022-09-13T07:21:28.265Z","dependency_job_id":null,"html_url":"https://github.com/zephir-lang/setup-php-sdk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zephir-lang/setup-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephir-lang%2Fsetup-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephir-lang%2Fsetup-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephir-lang%2Fsetup-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephir-lang%2Fsetup-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zephir-lang","download_url":"https://codeload.github.com/zephir-lang/setup-php-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephir-lang%2Fsetup-php-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266324443,"owners_count":23911226,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["hacktoberfest","php-sdk","zephir"],"created_at":"2024-11-08T20:22:52.647Z","updated_at":"2025-07-21T15:04:17.475Z","avatar_url":"https://github.com/zephir-lang.png","language":"PowerShell","readme":"# Setup PHP SDK tool kit for Windows PHP builds\n\n[![Test][test badge]][actions link]\n[![MIT License][license badge]](./LICENSE)\n\n[Github Action][ga-link] to set up an environment for building PHP extensions on Windows.\n\n#### This action sets up and configures:\n\n- [PHP SDK][php-sdk-link] - a tool kit for Windows PHP builds\n- [PHP Developer Pack][php-dev-pack-link] - libraries, c headers, scripts and `phpize` utility\n- SDK and Developer tools - added to the system path\n\n## Usage\n\n```yaml\n- name: Setup PHP SDK with Developer Pack\n  uses: zephir-lang/setup-php-sdk@v1.0\n  with:\n    php_version: '8.0'\n    ts: 'nts'\n    msvc: 'vs16'\n    arch: 'x64'\n    install_dir: 'C:\\tools'\n    cache_dir: 'C:\\Downloads'\n```\n\n## Inputs\n\n- `php_version`: the PHP version to build for (7.0, 7.1, 7.2, 7.3, 7.4, 8.0 or 8.1)\n- `ts`: thread-safety (nts or ts). TS refers to multithread capable builds. NTS refers to single thread only builds. Default: `nts`\n- `msvc`: the compiler toolset prefix, means Visual Studio version. (e.g: vc15 - Visual C++ 2017 compiler).\n- `arch`: the target architecture to build for (x64 or x86). Default: `x64`\n- `install_dir`: the target directory to install the sdk and devpack. (e.g: `C:\\tools`)\n- `cache_dir`: directory for downloaded files cache. If not specified - action will be using system tmp directory.\n\n\n## License\n\nSetup PHP SDK action licensed under the MIT License. See the [LICENSE](./LICENSE) file for more information.\n\n\u003c!-- All external links should be here --\u003e\n[ga-link]:              https://github.com/features/actions\n[php-sdk-link]:         https://github.com/microsoft/php-sdk-binary-tools\n[php-dev-pack-link]:    https://windows.php.net/\n\n[test badge]:           https://github.com/zephir-lang/setup-php-sdk/actions/workflows/main.yml/badge.svg\n[actions link]:         https://github.com/zephir-lang/setup-php-sdk/actions\n[license badge]:        https://poser.pugx.org/phalcon/zephir/license.svg\n","funding_links":["https://github.com/sponsors/phalcon","https://opencollective.com/phalcon"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephir-lang%2Fsetup-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephir-lang%2Fsetup-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephir-lang%2Fsetup-php-sdk/lists"}