Skip to content

Commit 417e7c3

Browse files
committed
updated php version
- Updated minimal required PHP version to PHP 8.1
1 parent 82609d2 commit 417e7c3

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@ Inspired from discussion that I came across on a stackoverflow thread, specifica
88

99
and implemented this library, to check if an input is a valid JSON string and likewise to also provide the json decoded content (array or object), as per choice, and when using specific methods for the purpose. More example inputs are considered, to make the implementation more robust while offer good performance. Benchmarks are yet to be made.
1010

11+
12+
### Getting started
13+
With Composer, run
14+
15+
```sh
16+
composer require easeappphp/json-decode :^1.0.3
17+
```
18+
1119
## License
1220
This software is distributed under the [MIT](https://opensource.org/licenses/MIT) license. Please read [LICENSE](https://github.com/easeappphp/PDOLight/blob/main/LICENSE) for information on the software availability and distribution.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"homepage": "https://www.easeapp.org/",
66
"type": "library",
77
"require": {
8-
"php": ">=7.3"
8+
"php": ">=8.1"
99
},
1010
"require-dev": {
11-
"php": ">=7.3"
11+
"php": ">=8.1"
1212
},
1313
"license": "MIT",
1414
"authors": [

src/JSONDecode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
*
1212
* Author: Raghuveer Dendukuri
1313
*
14-
* Version: 1.0.2
14+
* Version: 1.0.3
1515
*
1616
* Description: This is to do json_decode operation only on valid json string and in a highly performing way.
1717
*
1818
* License: MIT
1919
*
20-
* @copyright 2021 Raghuveer Dendukuri
20+
* @copyright 2023 Raghuveer Dendukuri
2121
*/
2222

2323
class JSONDecode {

0 commit comments

Comments
 (0)