webx-ui / delivery-novaposhta
Nova Poshta for WebX UI delivery: the carrier, its key and sender settings, a thin read-guarded client of its JSON API, and three method types — branch, parcel locker, courier.
Requires
- php: ^8.4
- illuminate/database: ^13.0
- illuminate/http: ^13.0
- illuminate/support: ^13.0
- webx-ui/localization: ^0.94.0
- webx-ui/module-delivery: ^0.94.0
Requires (Dev)
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.0 || ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Nova Poshta for WebX UI delivery (webx-ui/module-delivery):
the carrier novaposhta with its API key and sender settings, a thin client of its JSON API, and
three method types — a branch, a parcel locker and a courier to the door.
composer require webx-ui/delivery-novaposhta php artisan migrate
The migration adds three methods switched off. In the panel, «Delivery → Carriers → Nova Poshta»: enter the API key from the carrier's business account, «Test the connection», fill the settings, then switch on the methods the shop needs in «Delivery → Methods».
| Variable | What it does |
|---|---|
NOVAPOSHTA_READ_ONLY |
true — the client refuses every method that writes to the account |
NOVAPOSHTA_TIMEOUT |
seconds to wait for the API, 10 by default |
NOVAPOSHTA_JOURNAL |
path of the journal of calls (model, method, outcome); empty turns it off |
The key is stored encrypted by module-delivery and never reaches a log, the journal or an answer
of the panel.
The shop's guide — connecting the carrier, its directories, waybills and a read-only key:
Nova Poshta (apps/docs/guide/delivery-novaposhta.md).
Agents and contributors: read AGENTS.md.
MIT licence.