{"id":23709927,"url":"https://github.com/nxtlvlsoftware/minimal-php-build-scripts","last_synced_at":"2025-07-22T06:05:30.681Z","repository":{"id":110553243,"uuid":"239489497","full_name":"NxtLvLSoftware/minimal-php-build-scripts","owner":"NxtLvLSoftware","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-16T07:34:54.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T06:17:38.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/NxtLvLSoftware.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-10T10:53:48.000Z","updated_at":"2020-02-16T07:34:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f3b3589-aa1d-406a-a02d-6b367788c8db","html_url":"https://github.com/NxtLvLSoftware/minimal-php-build-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NxtLvLSoftware/minimal-php-build-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Fminimal-php-build-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Fminimal-php-build-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Fminimal-php-build-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Fminimal-php-build-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NxtLvLSoftware","download_url":"https://codeload.github.com/NxtLvLSoftware/minimal-php-build-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Fminimal-php-build-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266437369,"owners_count":23928235,"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-22T02:00:09.085Z","response_time":66,"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":[],"created_at":"2024-12-30T18:58:55.641Z","updated_at":"2025-07-22T06:05:30.655Z","avatar_url":"https://github.com/NxtLvLSoftware.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Minimal PHP Build Scripts\n===================\n__Scripts used to compile minimal php builds on multiple platforms for extension CI/testing.__\n\n## compile.sh\n\nBash script used to compile PHP on MacOS and Linux platforms. Make sure you have\n``make autoconf automake libtool m4 wget bison g++ cmake``.\n\n### Additional notes\n#### Mac OSX (native compile)\n- Most dependencies can be installed using Homebrew\n- You will additionally need `glibtool` (GNU libtool, xcode libtool won't work)\n- You also MUST specify target as `mac` or `mac64` if building for Mac, on Mac.\n\n| Script flags     | Description                                                        |\n| --------------- | ------------------------------------------------------------------ |\n| -t              | Set target                                                         |\n| -j              | Set make threads to #                                              |\n| -s              | Will compile everything statically                                 |\n| -z              | Will enable php ZTS for the build                                  |\n\n### Example:\n\n| Target          | Arguments                                                          |\n| --------------- | ------------------------------------------------------------------ |\n| linux64         | ``-t linux64 -j $(nproc) -sz``                                     |\n| mac64           | ``-t mac64 -j $(sysctl -n hw.physicalcpu) -sz``                    |\n\n### Common pitfalls\n- Avoid using the script in directory trees containing spaces or any other special characters. Some libraries don't like\ntrying to be built in directory trees containing spaces, e.g. `/home/user/my folder/pocketmine-mp/` might experience\nproblems.\n\n## more platforms coming soon\nWindows support is planned.\n\n## Support and feature requests\nPlease submit anything that requires our attention to our [issue tracker](https://github.com/NxtLvLSoftware/minimal-php-build-scripts/issues)\non Github. We will attempt to respond to sensible requests in a reasonable time frame.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxtlvlsoftware%2Fminimal-php-build-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxtlvlsoftware%2Fminimal-php-build-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxtlvlsoftware%2Fminimal-php-build-scripts/lists"}