PHPackages                             vitexsoftware/primaerp - 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. vitexsoftware/primaerp

ActiveLibrary[API Development](/categories/api)

vitexsoftware/primaerp
======================

PHP Based Library for easy interaction with primaERP api

412PHP

Since Nov 28Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/VitexSoftware/php-primaERP)[ Packagist](https://packagist.org/packages/vitexsoftware/primaerp)[ RSS](/packages/vitexsoftware-primaerp/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

primaERP PHP Library
====================

[](#primaerp-php-library)

PHP Library for easy interaction with [ABRA](https://www.abra.eu/)'s [primaERP](http://devdoc.primaerp.com/index.html)

[![Source Code](https://camo.githubusercontent.com/d62497c3fb80b9c5f2e8d171ed996c2c061b8854b816ad1f13592a1083b99331/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652f5669746578536f6674776172652f7068702d7072696d614552502d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/VitexSoftware/php-primaERP)[![Latest Version](https://camo.githubusercontent.com/74d64817f520bbff4b43dc178967754016eb1d7bd9c6e42664d90a78d2fa4e94/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5669746578536f6674776172652f7068702d7072696d614552502e7376673f7374796c653d666c61742d737175617265)](https://github.com/VitexSoftware/php-primaERP/releases)[![Software License](https://camo.githubusercontent.com/3d80983c491c8cbff571b0161062c36d18e36189014dd033ab66645363d5e4b1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d474e552d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/VitexSoftware/php-primaERP/blob/master/LICENSE)[![Build Status](https://camo.githubusercontent.com/a6c45cf86152bd45cd9cdf1bd095c4af49e14301327e5f244fabe32190171a9c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5669746578536f6674776172652f7068702d7072696d614552502f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/VitexSoftware/php-primaERP)[![Code Coverage](https://camo.githubusercontent.com/45a2782f83f117c4449df3b17755865007e524d79d86e871775c697fa8e3eb39/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5669746578536f6674776172652f7068702d7072696d614552502f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VitexSoftware/php-primaERP/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/e821c3c1ccd83906006847719c97f62f81874101dcf2a3d92c709fd210137db9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5669746578536f6674776172652f7068702d7072696d614552502e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/VitexSoftware/php-primaERP)[![Latest stable](https://camo.githubusercontent.com/105ce07edf8ad6d551b075b2dad222d6f9b4826e6ea8598130ad7d3456ce981c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f5669746578536f6674776172652f7068702d7072696d614552502e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/VitexSoftware/php-primaERP)

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

[](#installation)

```
composer require vitexsoftware/primaerp

```

Configuration
-------------

[](#configuration)

Please set up following constants:

```
/*
 * primaERP API user comany/account name
 */
define('PRIMAERP_COMPANY', 'vitexsoftware');

/*
 * URL primaERP API
 */
define('PRIMAERP_URL',
    'https://'.constant('PRIMAERP_COMPANY').'.api.primaerp.com');

/*
 * Login is Email primaERP API user
 */
define('PRIMAERP_LOGIN', 'email@domain.tld');

/*
 * primaERP API user password
 */
define('PRIMAERP_PASSWORD', 'password');

/*
 * primaERP API KEY
 */
define('PRIMAERP_APIKEY', '1af7a44b-81f1-4de1-11e7-1e675acb1221');
```

nebo je možné přihlašovací údaje zadávat při vytváření instance třídy.

```
$projector = new ApiClient(null, ['section' => 'time','user'=>'email@some.ser','password'=>'XXXX','apikey'=>'1af7a44b-81f1-4de1-11e7-1e675acb1221']);
$projects  = $projector->requestData('projects');
```

Tento způsob nastavení má vyšší prioritu než výše uvedené definovaní konstant.

Debian/Ubuntu
-------------

[](#debianubuntu)

Pro Linux jsou k dispozici .deb balíčky. Prosím použijte repo:

```
wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -
echo deb http://v.s.cz/ stable main > /etc/apt/sources.list.d/ease.list
aptitude update
aptitude install php-primaerp

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/f24039b55245f141b108d0245b5821fe6cc4bb0585e36283f97301cd3aa792bc?d=identicon)[vitex](/maintainers/vitex)

---

Top Contributors

[![Vitexus](https://avatars.githubusercontent.com/u/2621130?v=4)](https://github.com/Vitexus "Vitexus (7 commits)")

---

Tags

easephpphp-library

### Embed Badge

![Health badge](/badges/vitexsoftware-primaerp/health.svg)

```
[![Health](https://phpackages.com/badges/vitexsoftware-primaerp/health.svg)](https://phpackages.com/packages/vitexsoftware-primaerp)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M96](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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