mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * Update README.md Co-authored-by: BSKY <git@bsky.moe>
76 lines
4.8 KiB
Markdown
76 lines
4.8 KiB
Markdown
<div align="center">
|
|
<h1>asdf-php</h1>
|
|
<span><a href="https://www.php.net">PHP</a> plugin for asdf version manager</span>
|
|
</div>
|
|
<hr />
|
|
|
|
[](https://github.com/asdf-community/asdf-php/actions)
|
|
[](#contributors-)
|
|
[](http://makeapullrequest.com)
|
|
[](https://github.com/asdf-community/asdf-php/blob/master/LICENSE)
|
|
|
|
_Original version of this plugin created by
|
|
[@Stratus3D](https://github.com/Stratus3D)_
|
|
|
|
## Prerequirements
|
|
|
|
Check the [.github/workflows/workflow.yml](.github/workflows/workflow.yml) for
|
|
dependencies, paths, and environment variables needed to install the latest PHP
|
|
version. To be honest, supporting a major version other than the latest without
|
|
any extra work from the user is an endless endeavor that won't ever really work
|
|
too well. It's not that we don't support them at all, but it's almost impossible
|
|
for us to support them.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
asdf plugin-add php https://github.com/asdf-community/asdf-php.git
|
|
```
|
|
|
|
#### Note: PHP-PEAR
|
|
|
|
PHP PEAR is down without ETA for when the server will be back. To install PHP
|
|
without PEAR you can specify a `PHP_WITHOUT_PEAR` variable with any value
|
|
(except no), eg:
|
|
|
|
```bash
|
|
PHP_WITHOUT_PEAR=yes asdf install php <version>
|
|
```
|
|
|
|
## Usage
|
|
|
|
Check [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to
|
|
install & manage versions.
|
|
|
|
## Contributors ✨
|
|
|
|
Thanks goes to these wonderful people
|
|
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
<!-- prettier-ignore-start -->
|
|
<!-- markdownlint-disable -->
|
|
<table>
|
|
<tr>
|
|
<td align="center"><a href="https://stratus3d.com/"><img src="https://avatars1.githubusercontent.com/u/1520926?v=4" width="100px;" alt=""/><br /><sub><b>Trevor Brown</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=Stratus3D" title="Code">💻</a></td>
|
|
<td align="center"><a href="https://oscardearriba.com"><img src="https://avatars3.githubusercontent.com/u/563391?v=4" width="100px;" alt=""/><br /><sub><b>Óscar de Arriba</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=odarriba" title="Documentation">📖</a> <a href="#maintenance-odarriba" title="Maintenance">🚧</a> <a href="#infra-odarriba" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
<td align="center"><a href="https://bsky.moe"><img src="https://avatars3.githubusercontent.com/u/38746192?v=4" width="100px;" alt=""/><br /><sub><b>BSKY</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=imbsky" title="Code">💻</a> <a href="https://github.com/asdf-community/asdf-php/commits?author=imbsky" title="Documentation">📖</a> <a href="#maintenance-imbsky" title="Maintenance">🚧</a> <a href="#infra-imbsky" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
<td align="center"><a href="https://www.bixels.nl"><img src="https://avatars1.githubusercontent.com/u/334814?v=4" width="100px;" alt=""/><br /><sub><b>Choong Wei Tjeng</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=bixelsnl" title="Documentation">📖</a> <a href="#infra-bixelsnl" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
<td align="center"><a href="http://eher.com.br"><img src="https://avatars0.githubusercontent.com/u/398034?v=4" width="100px;" alt=""/><br /><sub><b>Alexandre Eher</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=EHER" title="Code">💻</a> <a href="https://github.com/asdf-community/asdf-php/commits?author=EHER" title="Documentation">📖</a> <a href="#infra-EHER" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
<td align="center"><a href="http://salzsee.info"><img src="https://avatars0.githubusercontent.com/u/99911?v=4" width="100px;" alt=""/><br /><sub><b>Ben Rexin</b></sub></a><br /><a href="https://github.com/asdf-community/asdf-php/commits?author=salzig" title="Code">💻</a> <a href="https://github.com/asdf-community/asdf-php/commits?author=salzig" title="Documentation">📖</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- markdownlint-enable -->
|
|
<!-- prettier-ignore-end -->
|
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
|
|
This project follows the
|
|
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
specification. Contributions of any kind welcome!
|
|
|
|
## License
|
|
|
|
Licensed under the
|
|
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|