chore: Update PHP version references to 8.2 in documentation and templates

This commit is contained in:
Yury Pikhtarev 2025-06-21 11:00:31 +04:00
commit 64ff6b8253
No known key found for this signature in database
3 changed files with 3 additions and 10 deletions

View file

@ -21,7 +21,7 @@ body:
attributes: attributes:
label: PHP & Platform label: PHP & Platform
description: Exact PHP and Platform (OS) versions your using. description: Exact PHP and Platform (OS) versions your using.
placeholder: 8.1.2 - Ubuntu 22.04 x64 placeholder: 8.2.2 - Ubuntu 22.04 x64
validations: validations:
required: true required: true
- type: checkboxes - type: checkboxes

View file

@ -8,7 +8,7 @@ TorrentPier is a BitTorrent tracker engine written in PHP, designed for hosting
## Technology Stack & Architecture ## Technology Stack & Architecture
- **PHP 8.1+** with modern features - **PHP 8.2+** with modern features
- **MySQL/MariaDB/Percona** database - **MySQL/MariaDB/Percona** database
- **Nette Database** with backward-compatible wrapper - **Nette Database** with backward-compatible wrapper
- **Composer** for dependency management - **Composer** for dependency management

View file

@ -69,7 +69,7 @@ For the installation, select one of the installation variants below:
Check out our [autoinstall](https://github.com/torrentpier/autoinstall) repository with detailed instructions. Check out our [autoinstall](https://github.com/torrentpier/autoinstall) repository with detailed instructions.
> [!IMPORTANT] > [!NOTE]
> Thanks to [Sergei Solovev](https://github.com/SeAnSolovev) for this installation script ❤️ > Thanks to [Sergei Solovev](https://github.com/SeAnSolovev) for this installation script ❤️
### Quick (For web-panels) ☕️ ### Quick (For web-panels) ☕️
@ -98,10 +98,6 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
3. [Check our system requirements](#-requirements) 3. [Check our system requirements](#-requirements)
4. After, run this command in the project directory to install Composer dependencies 4. After, run this command in the project directory to install Composer dependencies
```shell ```shell
# For production (PHP 8.1+)
composer install --no-dev
# For development (PHP 8.2+ required)
composer install composer install
``` ```
5. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env` 5. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env`
@ -136,9 +132,6 @@ 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: 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 ```shell
# Run all tests # Run all tests
./vendor/bin/pest ./vendor/bin/pest