Skip to content

Commit ce09e7f

Browse files
Merge pull request ivancalle-sipay#1 from ivancalle-sipay/master
simplify composer
2 parents a57ef41 + 2260742 commit ce09e7f

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,9 @@ $path_autoload = "<directorio_de_descarga_de_php-sdk>/src/autoload.php";
5353

5454
Este paso se omite si se utiliza el método manual.
5555

56-
Crear archivo composer.json o añadir estos parámetros:
57-
58-
```json
59-
{
60-
"repositories": [
61-
{
62-
"type": "vcs",
63-
"url": "https://github.com/sipay/php-sdk.git"
64-
}
65-
],
66-
"require": {
67-
"sipay/php-sdk": "*"
68-
}
69-
}
70-
```
71-
y realizar los siguientes pasos
72-
7356
```bash
74-
$ php -r "readfile('https://getcomposer.org/installer');" | php
75-
$ php composer.phar install
57+
$ composer require sipay/php-sdk
58+
7659
```
7760

7861
Entonces establecemos la variable "path_autoload" a "vendor/autoload.php":

0 commit comments

Comments
 (0)