PHPackages                             juistdit/manta-php-sdk - 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. juistdit/manta-php-sdk

ActiveLibrary[API Development](/categories/api)

juistdit/manta-php-sdk
======================

An SDK allowing brands/suppliers to communicate with mantagifts

v0.1-alpha(9y ago)16MITPHPPHP ^7.0

Since Mar 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/juistdit/manta-php-sdk)[ Packagist](https://packagist.org/packages/juistdit/manta-php-sdk)[ Docs](https://github.com/juistdit/manta-php-sdk)[ RSS](/packages/juistdit-manta-php-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

An SDK in PHP for Manta (In-development)
========================================

[](#an-sdk-in-php-for-manta-in-development)

This package enables brands/suppliers to communicate with mantagifts using their API back-end. Manta collects and distribute international brands. More information can found on .

A. Installing
-------------

[](#a-installing)

Installing the SKD can be done 2 ways:

### A1: Composer

[](#a1-composer)

Install using the [packagist package](https://packagist.org/packages/juistdit/manta-php-sdk)via [composer](https://getcomposer.org/):

```
composer require juistdit/manta-php-sdk

```

### A2: Phar Archive

[](#a2-phar-archive)

Install by [downloading](https://github.com/juistdit/manta-php-sdk/releases) the latest release and including it:

```
require_once __DIR__ . "/manta-php-sdk.phar";
```

B. Usage
--------

[](#b-usage)

After installing Manta using composer, the first step is to create a Manta SDK object and creating a session using your credentials:

```
$sdk = new Manta\Sdk;
$session = $sdk->login("brand@example.com", "123456789IsNotASafePassword");
```

C. Retrieving companies
-----------------------

[](#c-retrieving-companies)

To retrieve information about a company one can do:

```
$company = $session->getCompany($companyId);
```

Where `$companyId` is an integer with the company id about which you want receive information. The `$company` variable will be of the type `Manta\DataObjects\Company`.

**Note:** You can only retrieve information about companies that have made orders to your brand.

To retrieve all companies where your company has access to one can do:

```
$companies = $session->getCompanies();
```

The `$companies` variable will be an iterator returning `Manta\DataObjects\Company` objects. To retrieve the all company names, one can do:

```
$companies = $session->getCompanies();
foreach($companies as $company) {
	echo ' - ', $company->company, PHP_EOL;
}
```

D. Using phpunit to run tests
-----------------------------

[](#d-using-phpunit-to-run-tests)

From the root directory of the SDK, you can run the phpunit tests (see tests directory).

Command: `./vendor/bin/phpunit --configuration phpunit.xml`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.2% 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

Unknown

Total

1

Last Release

3389d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25660926?v=4)[JuistdIT](/maintainers/JuistdIT-BV)[@JuistdIT-BV](https://github.com/JuistdIT-BV)

---

Top Contributors

[![KAYLukas](https://avatars.githubusercontent.com/u/1674504?v=4)](https://github.com/KAYLukas "KAYLukas (25 commits)")[![JuistdIT-BV](https://avatars.githubusercontent.com/u/25660926?v=4)](https://github.com/JuistdIT-BV "JuistdIT-BV (2 commits)")[![Jurnjuistdit](https://avatars.githubusercontent.com/u/26766875?v=4)](https://github.com/Jurnjuistdit "Jurnjuistdit (2 commits)")

---

Tags

mantaphp7sdksdk-phpsdkmanta

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/juistdit-manta-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/juistdit-manta-php-sdk/health.svg)](https://phpackages.com/packages/juistdit-manta-php-sdk)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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