celdotro / marketplace
CEL.ro Marketplace API wrapper in PHP
Requires
- guzzlehttp/guzzle: ^6.2@dev
- sentry/sdk: 2.1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2.2.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.20
- 1.19.3
- 1.19.2
- 1.19.1
- 1.19.0
- 1.18.5
- 1.18.3
- 1.18.2
- 1.18.1
- 1.18.0
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.5
- 1.16.4
- 1.16.3
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.13.0
- 1.12.2
- 1.12.1
- 1.12.0
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- dev-dev-master
This package is auto-updated.
Last update: 2026-08-19 15:44:26 UTC
README
CEL.ro Marketplace API wrapper in PHP
Requirements
API Wrapper 2.x
PHP >= 7.2.5
API Wrapper 1.x
PHP >= 5.6
[RO] Daca sunteti interesati de crearea unui cont de testare, va rugam sa ne contactati la: mp [_ AT _] cel.ro
[EN] If you are interested in creating an account for testing purposes, please contact us at: mp [_ AT _] cel.ro
[RO] Postman
Pentru informatii referitoare la Postman, accesati: https://github.com/celdotro/marketplace/wiki/PostmanRO
[EN] Postman
For information regarding Postman, access: https://github.com/celdotro/marketplace/wiki/PostmanEN
[RO + EN] WIKI
[RO] Pentru a consulta documentatia, vizitati pagina de mai jos:
[EN] In order to read the documentation, visit the link below:
[RO] Instructiuni de instalare si configurare | [EN] Install and configure instructions
[RO] Informatii generale | [EN] General information
[RO] https://github.com/celdotro/marketplace/wiki/Informatii-generale
[EN] https://github.com/celdotro/marketplace/wiki/General-Information
[RO] Autentificare prin certificat de client (mTLS) | [EN] Client certificate (mTLS) authentication
[RO] Certificatul se genereaza din panoul de vanzator, sectiunea Cont > Informatii > Securitate, si se descarca o singura data: un singur fisier .pem care contine si certificatul si cheia privata. Cheia privata nu se stocheaza la noi si nu se poate recupera - daca o pierdeti, generati alt certificat (cel precedent se revoca instant).
[EN] Generate the certificate from the seller panel, under Account > Information > Security, and download it once: a single .pem file holding both the certificate and the private key. The private key is not stored on our side and cannot be recovered - if you lose it, generate a new certificate (the previous one is revoked instantly).
use celmarket\Auth; use celmarket\Config; // [RO] Calea fizica catre certificat | [EN] Filesystem path to the certificate Config::setCertificate('/path/to/cel-mp-12345-20260819.pem'); // [RO] Daca cheia privata are parola | [EN] If the private key has a passphrase // Config::setCertificate('/path/to/cel-mp-12345-20260819.pem', 'parola-cheii'); Auth::setUserDetails('username', 'password');
[RO] setCertificate comuta automat adresa API-ului de pe https://api-mp.cel.ro/ pe https://apimtls-mp.cel.ro/, singura care cere certificat. Apelati-l inainte de Auth::setUserDetails.
[EN] setCertificate automatically switches the API address from https://api-mp.cel.ro/ to https://apimtls-mp.cel.ro/, the only one requiring a certificate. Call it before Auth::setUserDetails.
| [RO] Adresa standard / [EN] Standard address | https://api-mp.cel.ro/market_api/ |
| [RO] Adresa cu certificat / [EN] Certificate address | https://apimtls-mp.cel.ro/market_api/ |
| [RO] Valabilitate certificat / [EN] Certificate validity | 90 [RO] zile / [EN] days |
Packagist
https://packagist.org/packages/celdotro/marketplace
Github
https://github.com/celdotro/marketplace
Contact
dp [_ AT _] cel.ro