Skip to content

mhdcodes/tryphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d09f9b5 Β· Jan 17, 2025

History

39 Commits
Nov 9, 2024
Oct 22, 2024
Nov 21, 2024
Oct 9, 2024
Oct 9, 2024
Nov 9, 2024
Nov 9, 2024
Nov 1, 2024
Oct 25, 2024
Nov 22, 2024
Nov 16, 2024
Oct 27, 2024
Dec 19, 2024
Jan 17, 2025
Nov 9, 2024
Nov 9, 2024

Repository files navigation

Try PHP

TryPHP's logo



License: MIT PRs Welcome

Effortlessly set up PHP on Linux with a simple curl command πŸš€.

⚑️ Quick Start

Install the latest version of PHP with this simple command:

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

The following command will automatically download and install the latest stable version of PHP:

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

Installing a specific version of PHP

If you need a specific PHP version, use one of the commands below. This is helpful when compatibility with specific frameworks or projects requires an older PHP version.

PHP7.4

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

PHP8.1

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

PHP8.2

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

PHP8.3

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

Installing PHP with specific Framework

You can install PHP with tailored presets for different frameworks or applications. For example, the Laravel preset will install PHP with all extensions required to run a Laravel application.

Laravel

curl -fsSL https://tryphp.dev/presets/laravel | bash

πŸ“š Documentation

For detailed information about features, configuration, and troubleshooting, visit our comprehensive documentation.

🀝 Contributing

We welcome contributions! Whether it's:

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

Check our Contributing Guidelines for more information.

πŸ” Security

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

πŸ“ License

TryPHP is open-sourced software licensed under the MIT license.

πŸ’– Support

If you find TryPHP helpful, please consider:

πŸ™ Acknowledgments

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

About

Effortlessly set up PHP on Linux with a simple curl command

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 2