Procházet zdrojové kódy

docs: describe supported PHP versions in README

Add a PHP version badge, restructure the version table with a status
column and state the exact CI-tested PHP versions (7.4, 8.0 - 8.5) in
the requirements.
Ne-Lexa před 3 týdny
rodič
revize
ce4e3b16b4
2 změnil soubory, kde provedl 8 přidání a 7 odebrání
  1. 1 1
      README.RU.md
  2. 7 6
      README.md

+ 1 - 1
README.RU.md

@@ -64,7 +64,7 @@
   + Установка метода шифрования для всех или для отдельных записей в архиве.
 
 ### Требования
-- `PHP` 7.4 или ^8.0 (предпочтительно 64-bit).
+- `PHP` 7.4, 8.0 - 8.5 (предпочтительно 64-bit). Библиотека тестируется на PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 и 8.5 на Linux, macOS и Windows.
 - Опционально php-расширение `bzip2` для поддержки BZIP2 компрессии.
 - Опционально php-расширение `openssl` для `WinZip Aes Encryption` шифрования.
 

+ 7 - 6
README.md

@@ -3,17 +3,18 @@
 `PhpZip` is a PHP library for extended work with ZIP archives.
 
 [![Packagist Version](https://img.shields.io/packagist/v/nelexa/zip.svg)](https://packagist.org/packages/nelexa/zip)
+[![PHP Version](https://img.shields.io/packagist/php-v/nelexa/zip.svg)](https://packagist.org/packages/nelexa/zip)
 [![Packagist Downloads](https://img.shields.io/packagist/dt/nelexa/zip.svg?color=%23ff007f)](https://packagist.org/packages/nelexa/zip)
 [![Build Status](https://github.com/Ne-Lexa/php-zip/workflows/build/badge.svg)](https://github.com/Ne-Lexa/php-zip/actions)
 [![License](https://img.shields.io/packagist/l/nelexa/zip.svg)](https://github.com/Ne-Lexa/php-zip/blob/master/LICENSE)
 
 [Russian Documentation](README.RU.md)
 
-### Versions & Dependencies
-| Version             | PHP        | Documentation                                                        |
-| ------------------- | ---------- | -------------------------------------------------------------------- |
-| ^4.0 (master)       | ^7.4\|^8.0 | current                                                              |
-| ^3.0                | ^5.5\|^7.0 | [Docs v3.3](https://github.com/Ne-Lexa/php-zip/blob/3.3.3/README.md) |
+### Supported Versions
+| Version             | PHP            | Status         | Documentation                                                        |
+| ------------------- | -------------- | -------------- | -------------------------------------------------------------------- |
+| ^4.0, ^4.1 (master) | 7.4, 8.0 - 8.5 | Active support | current                                                              |
+| ^3.0                | 5.5 - 7.x      | End of life    | [Docs v3.3](https://github.com/Ne-Lexa/php-zip/blob/3.3.3/README.md) |
 
 Table of contents
 -----------------
@@ -69,7 +70,7 @@ Table of contents
   + Set the encryption method for all or individual entries in the archive.
 
 ### Requirements
-- `PHP` >= 7.4 or `PHP` >= 8.0 (preferably 64-bit).
+- `PHP` 7.4, 8.0 - 8.5 (preferably 64-bit). The library is tested on PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5 on Linux, macOS and Windows.
 - Optional PHP extension `bzip2` for BZIP2 compression.
 - Optional PHP extension `openssl` for `WinZip AES Encryption` support.