Download the PHP package infomedia/uskladjenost-cijena-php without Composer

On this page you can find all versions of the php package infomedia/uskladjenost-cijena-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package uskladjenost-cijena-php

Usklađenost cijena – PHP SDK

PHP klijent za API servisa Usklađenost cijena: sidrene cijene i javni strojno čitljiv cjenik po NN 101/2026. Pokriva cijeli API: trgovce, lokacije i kanale, katalog, cijene, odluke o usklađenosti, objave cjenika, uvoz datoteka i webhookove, uz provjeru potpisa webhook isporuka.

Zahtijeva PHP 8.1+ i Guzzle 7. API token (pc_live_… ili pc_test_…) izdajete u aplikaciji pod API pristup; token nosi opsege (scopes) i svaka metoda dolje navodi koji treba.

Brzi početak

Sve metode

Resurs Metoda Poziv Opseg
— ping() GET /api/v1/ping —
merchants() list() GET /merchants catalog:read
upsert($key, $data) PUT /merchants/{key} catalog:write
locations($merchantId) / channels($merchantId) GET /merchants/{id}/locations / channels catalog:read
upsertLocation($merchantId, $code, $data) / upsertChannel(...) PUT /merchants/{id}/locations/{code} catalog:write
items() list($filters) / all($filters) GET /items (kursor) catalog:read
get($externalId, $merchantId?, $sourceSystem?) GET /items/{externalId} catalog:read
upsert($externalId, $data) / bulk($items) PUT /items/{id} / POST /items/bulk catalog:write
prices() record($offerId, $event, $key?) POST /offers/{id}/price-events prices:write
recordByExternal($externalId, $event, $scope, $key?) POST /prices/by-external/{id} prices:write
bulk($events) POST /price-events/bulk prices:write
history($offerId, $since?, $cursor?, $limit?) GET /offers/{id}/price-events prices:read
offers() get($offerId) GET /offers/{id} prices:read
compliance() forOffer($offerId, $at?, $locale?) GET /offers/{id}/compliance compliance:read
byExternal($externalId, $scope) GET /compliance/by-external/{id} compliance:read
query($offerIds, $at?, $locale?) POST /compliance/query compliance:read
list($filters) / all($filters) GET /compliance compliance:read
publications() scopes() / status($scopeId) GET /publication-scopes publications:read
publish($scopeId) POST /publication-scopes/{id}/publish publications:manage
imports() upload($merchantId, $type, $file, $filename, $options) POST /imports (multipart) imports:write
get($importId) GET /imports/{id} imports:write
webhooks() list() / create($url, $events, $desc?) / test($id) / delete($id) /webhooks webhooks:manage

Svaka metoda vraća dekodirani JSON kao polje (data, next_cursor, summary…). Odbijanje API-ja je UskladjenostCijena\ApiException s errorCode (npr. validation, not_found, ambiguous, insufficient_scope), status (HTTP) i details (poruke po polju kod 422).

Webhookovi

Svaka isporuka nosi X-PC-Event, X-PC-Event-Id, X-PC-Timestamp i X-PC-Signature: v1=HMAC-SHA256(secret, timestamp + "." + body).

Razvoj

Dokumentacija API-ja: https://uskladjenost-cijena.com/api/docs (referenca) i /api/swagger (isprobajte s tokenom). Licenca MIT, © Info Media d.o.o.

Ostali SDK-ovi i dodaci

Ista obitelj za isti API, svaki u svom repozitoriju:


All versions of uskladjenost-cijena-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
guzzlehttp/guzzle Version ^7.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package infomedia/uskladjenost-cijena-php contains the following files

Loading the files please wait ...