Skip to content

Commit 713f6fe

Browse files
author
Invoicetronic bot
committed
Publish SDKs for tag v1.0.0
1 parent d4e6fd4 commit 713f6fe

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

README.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,23 @@ Should also work with PHP 8.0.
1818

1919
### Composer
2020

21-
To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:
22-
23-
```json
24-
{
25-
"repositories": [
26-
{
27-
"type": "vcs",
28-
"url": "https://github.com/invoicetronic/php-sdk.git"
29-
}
30-
],
31-
"require": {
32-
"invoicetronic/php-sdk": "*@dev"
33-
}
34-
}
21+
To install the bindings via [Composer](https://getcomposer.org/), run the following command:
22+
23+
```bash
24+
$ composer require invoicetronic/php-sdk
3525
```
3626

3727
Then run `composer install`
3828

3929
### Manual Installation
4030

41-
Download the files and include `autoload.php`:
42-
31+
There are three options:
32+
- Download the latest release of the PHP SDK [Phar Archive](https://github.com/invoicetronic/php-sdk/releases) and simply include it in your project.
4333
```php
44-
<?php
45-
require_once('/path/to/PHP SDK for the Invoicetronic API/vendor/autoload.php');
34+
require_once('./invoicetronic-sdk.phar');
35+
```
36+
- download our SDK using [PHP-download](https://php-download.com/package/invoicetronic/php-sdk) and simply include it in your project.
37+
- create your own custom autoloader and download all the dependencies (transitive included) as explained [here](https://ehikioya.com/how-to-install-php-packages-without-composer/).
4638
```
4739
4840
## Getting Started

0 commit comments

Comments
 (0)