dervis / parasut
Parasut api for PHP
Installs: 64
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 2
Open Issues: 0
pkg:composer/dervis/parasut
This package is auto-updated.
Last update: 2025-11-26 07:33:59 UTC
README
Install
composer require dervis/parasut
Guide
Configuration
include 'vendor/autoload.php';
use Parasut\Client;
$parasut = new Client([
"client_id" => "...",
"username" => "...",
"password" => "****",
'company_id' => "...",
"grant_type" => "password",
"redirect_uri" => "urn:ietf:wg:oauth:2.0:oob"
]);
Authorize
$parasut->authorize();
Use Services
$parasut->open('service_name');
Service name list
- Account
- Category
- Contact
- Employee
- Invoice
- Product
- Trackable
Services have
uniqueandgeneralmethods, open method is called to use services
$parasut->open('service_name')->methods;
- Account
- Category
- Contact
- Employee
- Invoice
- Product
- Trackable
General Methods
-
show()
->show($filter:array, $page:default(1), $size:default(15)); -
find()
->find($id:requirement); -
create()
->create($data:requirement); -
update()
->update($id:requirement, $data:requirement); -
delete()
->delete($id:requirement);
Unique Methods
- Account
- General Methods
- transactions()
- Category
- General Methods
- Contact
- General Methods
- Employee
- General Methods
- archive()
- unArchive()
- Invoice
- General Methods
- archive()
- eArchives()
- eInvoices()
- cancel()
- pay()
- pdf()
- recover()
- unArchive()
- Product
- General Methods
- Trackable
- checkStatus()