diff --git a/README.md b/README.md index 70c973e8d..13cf049a5 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ and go from there. The documentation will be translated to English in the near f * Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile)) * MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona -* PHP: 8.1 / 8.2 / 8.3 / 8.4 +* PHP: 8.1 / 8.2 / 8.3 / 8.4 (8.2+ required for development dependencies) * PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter * Crontab (Recommended) @@ -98,6 +98,10 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito 3. [Check our system requirements](#-requirements) 4. After, run this command in the project directory to install Composer dependencies ```shell + # For production (PHP 8.1+) + composer install --no-dev + + # For development (PHP 8.2+ required) composer install ``` 5. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env` @@ -132,6 +136,9 @@ If you discover a security vulnerability within TorrentPier, please follow our [ TorrentPier includes a comprehensive testing suite built with **Pest PHP**. Run tests to ensure code quality and system reliability: +> [!NOTE] +> Testing requires **PHP 8.2+** and development dependencies. Install with `composer install` (without `--no-dev` flag). + ```shell # Run all tests ./vendor/bin/pest