PHPackages                             leventcz/parasut-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. leventcz/parasut-php

ActiveLibrary[API Development](/categories/api)

leventcz/parasut-php
====================

Parasut API v4 client for PHP

v1.1.2(1y ago)56282[1 issues](https://github.com/leventcz/parasut-php/issues)MITPHPPHP ^8.2

Since Feb 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/leventcz/parasut-php)[ Packagist](https://packagist.org/packages/leventcz/parasut-php)[ RSS](/packages/leventcz-parasut-php/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ef9699e84875a7fc7a9de003283110cc4b1e6689df7509f29f2bc5129d769979/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6576656e74637a2f706172617375742d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leventcz/parasut-php)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d994e16d87973e1444169ff08e4c7f67d405124cae84fd58e2d4f3c42fe2476b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6576656e74637a2f706172617375742d7068702f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/leventcz/parasut-php/actions)[![Licence](https://camo.githubusercontent.com/1654bb70ebdbd0151ec5b01f53e676a1924187ced5e43a45249c7a80d48e892c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c6576656e74637a2f706172617375742d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/leventcz/parausut-php/actions)

Parasut PHP API Client
======================

[](#parasut-php-api-client)

Modern PHP API client that allows you to interact with the [Parasut API v4](https://apidocs.parasut.com/)

Installation
------------

[](#installation)

> **Requires [PHP 8.2+](https://php.net/releases/)**

```
composer require leventcz/parasut-php
```

Usage
-----

[](#usage)

### Initializing Client

[](#initializing-client)

```
$credentials = [
    'client_id' => 'YOUR_CLIENT_ID',
    'client_secret' => 'YOUR_CLIENT_SECRET',
    'company_id' => 'YOUR_COMPANY_ID',
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD'
];

$client = Parasut::client($credentials);
```

### Examples

[](#examples)

```
// paginate through sales invoices
$salesInvoices = $client
    ->salesInvoice()
    ->index(['page' => ['size' => 10, 'number' => 4]]);

$salesInvoices['data']; // array of sales invoices
$salesInvoices['meta']; // pagination meta

// retrieve the specified sales invoice with its payments
$salesInvoice = $client
    ->salesInvoice()
    ->show($id, ['include' => 'payments']);

$salesInvoice['data']; // sales invoice
$salesInvoice['included']; // array of payments
```

### Methods &amp; Parameters

[](#methods--parameters)

The methods fully follow the naming conventions of their related endpoints and take required and optional parameters as arguments.

```
// POST | https://api.parasut.com/v4/{company_id}/contacts/{id}/contact_debit_transactions
$client
    ->contact()
    ->contactDebitTransactions($id, $query, $body)

// PATCH | https://api.parasut.com/v4/{company_id}/employees/{id}/archive
$client
    ->employee()
    ->archive($id, $query)
```

### API Reference

[](#api-reference)

ResourceReference`salesInvoice()``contact()``purchaseBill()``bankFee()``salary()``tax()``employee()``eInvoiceInbox()``eArchive()``eInvoice()``eSmm()``account()``transaction()``product()``warehouse()``shipmentDocument()``stockMovement()``inventoryLevel()``itemCategory()``tag()``tracableJob()`License
-------

[](#license)

Parasut PHP is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 93% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Total

5

Last Release

664d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8389720?v=4)[Levent Corapsiz](/maintainers/leventcz)[@leventcz](https://github.com/leventcz)

---

Top Contributors

[![leventcz](https://avatars.githubusercontent.com/u/8389720?v=4)](https://github.com/leventcz "leventcz (53 commits)")[![egesu](https://avatars.githubusercontent.com/u/1211443?v=4)](https://github.com/egesu "egesu (2 commits)")[![mihajlstje](https://avatars.githubusercontent.com/u/54983935?v=4)](https://github.com/mihajlstje "mihajlstje (2 commits)")

---

Tags

apiclientparasutphpsdkphpsdkparasut

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/leventcz-parasut-php/health.svg)

```
[![Health](https://phpackages.com/badges/leventcz-parasut-php/health.svg)](https://phpackages.com/packages/leventcz-parasut-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M89](/packages/openai-php-laravel)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2312.4M25](/packages/php-opencloud-openstack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
