{"id":25363511,"url":"https://github.com/vitexsoftware/php-primaerp","last_synced_at":"2025-10-30T01:32:00.739Z","repository":{"id":62544682,"uuid":"105883659","full_name":"VitexSoftware/php-primaERP","owner":"VitexSoftware","description":"PHP Library for easy interaction with ABRA's primaERP","archived":false,"fork":false,"pushed_at":"2023-11-28T12:41:21.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-29T14:43:41.489Z","etag":null,"topics":["easephp","php-library"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VitexSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-05T11:48:44.000Z","updated_at":"2024-03-29T14:43:41.490Z","dependencies_parsed_at":"2022-11-02T21:45:44.040Z","dependency_job_id":null,"html_url":"https://github.com/VitexSoftware/php-primaERP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2Fphp-primaERP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2Fphp-primaERP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2Fphp-primaERP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2Fphp-primaERP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VitexSoftware","download_url":"https://codeload.github.com/VitexSoftware/php-primaERP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238920984,"owners_count":19552678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["easephp","php-library"],"created_at":"2025-02-14T22:34:06.714Z","updated_at":"2025-10-30T01:31:55.417Z","avatar_url":"https://github.com/VitexSoftware.png","language":"PHP","readme":"# primaERP PHP Library\n\nPHP Library for easy interaction with [ABRA](https://www.abra.eu/)'s [primaERP](http://devdoc.primaerp.com/index.html)\n\n[![Source Code](http://img.shields.io/badge/source/VitexSoftware/php-primaERP-blue.svg?style=flat-square)](https://github.com/VitexSoftware/php-primaERP)\n[![Latest Version](https://img.shields.io/github/release/VitexSoftware/php-primaERP.svg?style=flat-square)](https://github.com/VitexSoftware/php-primaERP/releases)\n[![Software License](https://img.shields.io/badge/license-GNU-brightgreen.svg?style=flat-square)](https://github.com/VitexSoftware/php-primaERP/blob/master/LICENSE)\n[![Build Status](https://img.shields.io/travis/VitexSoftware/php-primaERP/master.svg?style=flat-square)](https://travis-ci.org/VitexSoftware/php-primaERP)\n[![Code Coverage](https://scrutinizer-ci.com/g/VitexSoftware/php-primaERP/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/VitexSoftware/php-primaERP/?branch=master)\n[![Total Downloads](https://img.shields.io/packagist/dt/VitexSoftware/php-primaERP.svg?style=flat-square)](https://packagist.org/packages/VitexSoftware/php-primaERP)\n[![Latest stable](https://img.shields.io/packagist/v/VitexSoftware/php-primaERP.svg?style=flat-square)](https://packagist.org/packages/VitexSoftware/php-primaERP)\n\nInstallation\n------------\n\n    composer require vitexsoftware/primaerp\n\nConfiguration\n-------------\n\nPlease set up following constants:\n\n```php\n/*\n * primaERP API user comany/account name\n */\ndefine('PRIMAERP_COMPANY', 'vitexsoftware');\n\n/*\n * URL primaERP API\n */\ndefine('PRIMAERP_URL',\n    'https://'.constant('PRIMAERP_COMPANY').'.api.primaerp.com');\n\n/*\n * Login is Email primaERP API user\n */\ndefine('PRIMAERP_LOGIN', 'email@domain.tld');\n\n/*\n * primaERP API user password\n */\ndefine('PRIMAERP_PASSWORD', 'password');\n\n/*\n * primaERP API KEY\n */\ndefine('PRIMAERP_APIKEY', '1af7a44b-81f1-4de1-11e7-1e675acb1221');\n\n```\n\nnebo je možné přihlašovací údaje zadávat při vytváření instance třídy.\n\n```php\n$projector = new ApiClient(null, ['section' =\u003e 'time','user'=\u003e'email@some.ser','password'=\u003e'XXXX','apikey'=\u003e'1af7a44b-81f1-4de1-11e7-1e675acb1221']);\n$projects  = $projector-\u003erequestData('projects');\n```\n\nTento způsob nastavení má vyšší prioritu než výše uvedené definovaní konstant.\n\n\nDebian/Ubuntu\n-------------\n\nPro Linux jsou k dispozici .deb balíčky. Prosím použijte repo:\n\n    wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -\n    echo deb http://v.s.cz/ stable main \u003e /etc/apt/sources.list.d/ease.list\n    aptitude update\n    aptitude install php-primaerp\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexsoftware%2Fphp-primaerp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitexsoftware%2Fphp-primaerp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexsoftware%2Fphp-primaerp/lists"}