2
2
3
3
![ banner] ( readme_files/banner.png )
4
4
5
- # Conekta PHP v.4.1.0
5
+ # Conekta PHP
6
6
7
7
![ php badge] ( readme_files/php-badge.png )
8
8
![ conekta badge] ( readme_files/conekta-badge.png )
@@ -13,7 +13,7 @@ This is a PHP library that allows interaction with [Conekta's API](https://api.c
13
13
14
14
## Requeriments
15
15
16
- PHPUnit 6.1 requires PHP 7; using the latest version of PHP is highly recommended.
16
+ PHPUnit ~ 8 requires PHP 7.2+ ; using the latest version of PHP is highly recommended.
17
17
18
18
## Installation
19
19
@@ -27,7 +27,7 @@ To get started, add the following to your PHP script:
27
27
28
28
You can also install this library with [ Composer] ( https://github.com/composer/composer ) :
29
29
30
- require: "conekta/conekta-php": "4.1 .0"
30
+ require: "conekta/conekta-php": "4.2 .0"
31
31
32
32
## Usage
33
33
@@ -89,23 +89,23 @@ Unit test based on PHP library [PHPUnit](https://github.com/sebastianbergmann/ph
89
89
For better usage install PHPUnit globally:
90
90
91
91
``` bash
92
- $ wget https://phar.phpunit.de/phpunit-6.1 .phar
92
+ $ wget https://phar.phpunit.de/phpunit-8.5.2 .phar
93
93
94
- $ chmod +x phpunit-6.1 .phar
94
+ $ chmod +x phpunit-8.5.2 .phar
95
95
96
- $ sudo mv phpunit-6.1 .phar /usr/local/bin/phpunit
96
+ $ sudo mv phpunit-8.5.2 .phar /usr/local/bin/phpunit
97
97
98
98
$ phpunit --version
99
99
100
100
ej. output
101
- PHPUnit 6.1.1 by Sebastian Bergmann and contributors.
101
+ PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
102
102
103
103
```
104
104
105
105
PHP version used
106
106
107
107
```
108
- PHP 7.0.17 (cli)
108
+ PHP 7.4.24 (cli)
109
109
```
110
110
111
111
Run test suite:
@@ -114,9 +114,9 @@ Run test suite:
114
114
phpunit test/Conekta-x.0
115
115
```
116
116
117
- _ note:_ for this PHPUnit version (6.1. x) only PHP 7 is supported for older PHP versions see PHPunit <a href =" https://phpunit.de/ " > documentation</a >
117
+ _ note:_ for this PHPUnit version (8. x) only PHP 7.2+ is supported for older PHP versions see PHPunit <a href =" https://phpunit.de/ " > documentation</a >
118
118
119
- ## Changelong
119
+ ## Changelog
120
120
121
121
Please see [ CHANGELOG] ( CHANGELOG.md ) for more information what has changed recently.
122
122
0 commit comments