{"id":13617868,"url":"https://github.com/asdf-community/asdf-php","last_synced_at":"2026-03-11T13:31:02.241Z","repository":{"id":37725582,"uuid":"70976275","full_name":"asdf-community/asdf-php","owner":"asdf-community","description":"PHP plugin for the asdf version manager [maintainer=@Rusydy]","archived":false,"fork":false,"pushed_at":"2025-12-25T19:30:30.000Z","size":149,"stargazers_count":244,"open_issues_count":58,"forks_count":118,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-27T06:24:56.671Z","etag":null,"topics":["asdf","asdf-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/asdf-vm/asdf","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asdf-community.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":".github/CODEOWNERS","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":["smorimoto"]}},"created_at":"2016-10-15T08:33:34.000Z","updated_at":"2025-12-25T19:30:34.000Z","dependencies_parsed_at":"2025-04-14T06:36:28.710Z","dependency_job_id":"e48c37b5-5394-455f-b371-7692a03b5cd3","html_url":"https://github.com/asdf-community/asdf-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asdf-community/asdf-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asdf-community","download_url":"https://codeload.github.com/asdf-community/asdf-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asdf","asdf-plugin"],"created_at":"2024-08-01T20:01:49.660Z","updated_at":"2026-03-11T13:31:02.218Z","avatar_url":"https://github.com/asdf-community.png","language":"Shell","funding_links":["https://github.com/sponsors/smorimoto"],"categories":["Shell"],"sub_categories":[],"readme":"# asdf-php\n\n[PHP](https://www.php.net) plugin for asdf version manager\n\n_Original version of this plugin created by\n[@Stratus3D](https://github.com/Stratus3D)_\n\n## Build History\n\n[![Build history](https://buildstats.info/github/chart/asdf-community/asdf-php?branch=master)](https://github.com/asdf-community/asdf-php/actions)\n\n## Prerequirements\n\nCheck the [.github/workflows/workflow.yml](.github/workflows/workflow.yml) for\ndependencies, paths, and environment variables needed to install the latest PHP\nversion. To be honest, supporting a major version other than the latest without\nany extra work from the user is an endless endeavor that won't ever really work\ntoo well. It's not that we don't support them at all, but it's almost impossible\nfor us to support them.\n\n## Installation\n\n```bash\nasdf plugin-add php https://github.com/asdf-community/asdf-php.git\n```\n\n## Note\n\nComposer is installed globally alongside PHP by default. If your application requires additional php extensions, you may need to install them via `pecl`. For example:\n\n```bash\npecl install redis\npecl install imagick\n\necho \"extension=redis.so\nextension=imagick.so\" \u003e $(asdf where php)/conf.d/php.ini\n```\n\n#### macOS\n\nTo install PHP on macOS, you'll need a set of packages [installed via homebrew](https://github.com/asdf-community/asdf-php/blob/248e9c6e2a7824510788f05e8cee848a62200b65/.github/workflows/workflow.yml#L52).\n\nThere's also a set of optional packages which enable additional extensions to be enabled:\n\n```\nbrew install gmp libsodium imagemagick\n```\n\nNote that the supported extension are not exhaustive, so you may need edit the `bin/install` script to support additional extension. Feel free to submit a PR for any missing extensions.\n\n#### PHP-PEAR\n\nIf PHP PEAR is down you can install PHP without PEAR. Specify `PHP_WITHOUT_PEAR` variable with any value\n(except no), eg:\n\n```bash\nPHP_WITHOUT_PEAR=yes asdf install php \u003cversion\u003e\n```\n\n## Usage\n\nCheck [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to\ninstall \u0026 manage versions.\n\n## Global Composer Dependencies\n\nComposer is installed globally by default. To use it, you'll need to reshim:\n\n```shell\ncomposer global require friendsofphp/php-cs-fixer\nasdf reshim\nphp-cs-fixer --version\n```\n\n## License\n\nLicensed under the\n[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-community%2Fasdf-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasdf-community%2Fasdf-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-community%2Fasdf-php/lists"}