Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhdcodes/tryphp

Effortlessly set up PHP on Linux with a simple curl command
https://github.com/mhdcodes/tryphp

composer php php81 php82 php83

Last synced: about 2 months ago
JSON representation

Effortlessly set up PHP on Linux with a simple curl command

Awesome Lists containing this project

README

        

# Try PHP

TryPHP's logo


[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)

Effortlessly set up PHP on Linux with a simple `curl` command 🚀.

## ⚡️ Quick Start

Install the latest version of PHP with this simple command:

```sh
curl -fsSL https://tryphp.dev/install.sh | bash
```

## ✨ Features

- 🔄 Install and switch between multiple PHP versions
- 📦 Automatic Composer installation
- 🧩 Automatic PHP extensions installation
- 🛠️ Development environment configuration
- 🔒 Secure installation process

## 🔧 System Requirements

- Ubuntu-based operating system
- curl or wget installed
- sudo privileges

## 🚀 Usage

### Installing latest PHP version

```sh
curl -fsSL https://tryphp.dev/install.sh | bash
```

### Installing specific version of PHP

#### PHP7.4

```sh
curl -fsSL https://tryphp.dev/7.4/install.sh | bash
```

#### PHP8.1

```sh
curl -fsSL https://tryphp.dev/8.1/install.sh | bash
```

#### PHP8.2

```sh
curl -fsSL https://tryphp.dev/8.2/install.sh | bash
```

#### PHP8.3

```sh
curl -fsSL https://tryphp.dev/8.3/install.sh | bash
```

## 📚 Documentation

For detailed information about features, configuration, and troubleshooting, visit our [comprehensive documentation](https://tryphp.dev).

## 🤝 Contributing

We welcome contributions! Whether it's:

- Reporting bugs
- Suggesting new features
- Improving documentation
- Submitting pull requests

Check our [Contributing Guidelines](CONTRIBUTING.md) for more information.

## 🔐 Security

TryPHP takes security seriously. If you discover any security-related issues, please email instead of using the issue tracker.

## 📝 License

TryPHP is open-sourced software licensed under the [MIT license](LICENSE).

## 💖 Support

If you find TryPHP helpful, please consider:

- Starring the repository
- Sharing it with others
- [Sponsoring the project](https://github.com/sponsors/mhdcodes)

## 🙏 Acknowledgments

Special thanks to all our contributors and the PHP community for their continued support and feedback.