invoiceninja / sdk-php

PHP wrapper for Invoice Ninja's REST API
https://www.invoiceninja.com
83 stars 41 forks source link

How to pull data from invoicing.co #72

Closed stojankukrika closed 3 years ago

stojankukrika commented 3 years ago

Hu, I tried to use this package but looks like didn't work. I do not see any model which is mention in this package documentation. I tried to use Postman and laravel guzzle client with custom header (X-Ninja-Token) with the token that I generate on invoicing.co but get the error "Invalid token". Can anybody show me direction where and how to start? I am totally confused here.

hillelcoren commented 3 years ago

You need to use the main branch for v5

https://github.com/invoiceninja/sdk-php/tree/main

stojankukrika commented 3 years ago

how to use it in composer require file?

hillelcoren commented 3 years ago

https://stackoverflow.com/a/33526908/497368

stojankukrika commented 3 years ago

thank you a loot @hillelcoren !!!