6
6
[ ![ CI] ( https://github.com/josantonius/php-json/actions/workflows/ci.yml/badge.svg?branch=main )] ( https://github.com/josantonius/php-json/actions/workflows/ci.yml )
7
7
[ ![ PSR2] ( https://img.shields.io/badge/PSR-2-1abc9c.svg )] ( http://www.php-fig.org/psr/psr-2/ )
8
8
[ ![ PSR4] ( https://img.shields.io/badge/PSR-4-9b59b6.svg )] ( http://www.php-fig.org/psr/psr-4/ )
9
- [ ![ CodeCov] ( https://codecov.io/gh/josantonius/php-json/branch/master /graph/badge.svg )] ( https://codecov.io/gh/josantonius/php-json )
9
+ [ ![ CodeCov] ( https://codecov.io/gh/josantonius/php-json/branch/main /graph/badge.svg )] ( https://codecov.io/gh/josantonius/php-json )
10
10
11
11
** Traducciones** : [ English] ( /README.md )
12
12
@@ -31,8 +31,10 @@ Biblioteca PHP para la gestión de archivos JSON.
31
31
32
32
## Requisitos
33
33
34
- Esta biblioteca es compatible con las versiones de PHP:
35
- ** 5.6** | ** 7.0** | ** 7.1** | ** 7.2** | ** 7.3** | ** 7.4** .
34
+ Esta biblioteca es compatible desde la versión ** 8.0** de PHP hasta la versión ** 8.1** de PHP.
35
+
36
+ Para versiones anteriores de PHP (desde la ** 5.6** hasta la ** 7.4** ) puedes utilizar la
37
+ [ versión 1.1.9] ( https://github.com/josantonius/php-json/tree/1.1.9 ) de esta biblioteca.
36
38
37
39
## Instalación
38
40
@@ -59,20 +61,20 @@ git clone https://github.com/josantonius/php-json.git
59
61
60
62
O ** instalarlo manualmente** :
61
63
62
- Descargar [ Json.php] ( https://raw.githubusercontent.com/josantonius/php-json/master /src/Json.php ) ,
63
- [ JsonLastError.php] ( https://raw.githubusercontent.com/josantonius/php-json/master /src/JsonLastError.php ) y
64
- [ JsonException.php] ( https://raw.githubusercontent.com/josantonius/php-json/master /src/Exception/JsonException.php ) :
64
+ Descargar [ Json.php] ( https://raw.githubusercontent.com/josantonius/php-json/main /src/Json.php ) ,
65
+ [ JsonLastError.php] ( https://raw.githubusercontent.com/josantonius/php-json/main /src/JsonLastError.php ) y
66
+ [ JsonException.php] ( https://raw.githubusercontent.com/josantonius/php-json/main /src/Exception/JsonException.php ) :
65
67
66
68
``` console
67
- wget https://raw.githubusercontent.com/josantonius/php-json/master /src/Json.php
69
+ wget https://raw.githubusercontent.com/josantonius/php-json/main /src/Json.php
68
70
```
69
71
70
72
``` console
71
- wget https://raw.githubusercontent.com/josantonius/php-json/master /src/JsonLastError.php
73
+ wget https://raw.githubusercontent.com/josantonius/php-json/main /src/JsonLastError.php
72
74
```
73
75
74
76
``` console
75
- wget https://raw.githubusercontent.com/josantonius/php-json/master /src/Exception/JsonException.php
77
+ wget https://raw.githubusercontent.com/josantonius/php-json/main /src/Exception/JsonException.php
76
78
```
77
79
78
80
## Métodos disponibles
0 commit comments