Download the PHP package intelli-dust/vario-ng without Composer
On this page you can find all versions of the php package intelli-dust/vario-ng. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download intelli-dust/vario-ng
More information about intelli-dust/vario-ng
Files in intelli-dust/vario-ng
Download intelli-dust/vario-ng
More information about intelli-dust/vario-ng
Files in intelli-dust/vario-ng
Vendor intelli-dust
Package vario-ng
Short Description VarioNG (VOLVO) REST API client for PHP
License GPL-3.0-only
Homepage https://github.com/IntelliDust/VarioNG
Package vario-ng
Short Description VarioNG (VOLVO) REST API client for PHP
License GPL-3.0-only
Homepage https://github.com/IntelliDust/VarioNG
Please rate this library. Is it a good library?
Informations about the package vario-ng
VarioNG REST Client (v3.0)
Rest Client for Volvo Cars VIBE (VarioNG) API - https://vibe.volvocars.biz/
⚠️ Breaking Changes in v3.0:
- New base URL:
vibe.volvocars.biz(oldvario-ng.comdeprecated as of Jan 15, 2026) postStockOnHand()removed, replaced withpostRetailerStockOnHand()andpostImporterStockOnHand()- Response format changed to include
details[]array - JWT token auto-refresh on expiration
Installation
Via Composer
Manual Installation
-
Clone the repository:
-
Install dependencies:
- Include in your project:
Configuration
Basic Configuration
Advanced Configuration
Environment Options
- production:
https://vibe.volvocars.biz/ws/dcs/ - qa:
https://qa-vibe.volvocars.biz/ws/dcs/
Workflow (Pracovný postup)
1. Inicializácia a autentifikácia
2. Odoslanie dát (Create/Update)
Všeobecný workflow pre všetky endpoint-y:
3. Mazanie dát (Delete)
Delete operácie vyžadujú iba kľúčové polia:
4. Kompletný workflow pre Job Card
5. Workflow pre Stock Inventory (Mesačný zber)
⚠️ Dôležité: Stock inventory sa odosiela raz za mesiac!
6. Best Practices
6.1 Vždy testujte najprv na QA prostredí
6.2 Logujte všetky operácie
6.3 Validujte dáta pred odoslaním
6.4 Spracovávajte všetky chyby
6.5 Použite transakčný prístup
7. Časté scenáre
7.1 Denne: Odoslanie job cards
7.2 Denne: Odoslanie sales parts
7.3 Mesačne: Stock inventory (prvý deň mesiaca)
7.4 Pri predaji vozidla: Car sales + Lead
8. Debugging
8.1 Zapnite error reporting
8.2 Logujte raw responses
8.3 Validujte JSON
Usage Examples
1. Authentication
2. Post Job Card (Service Work Order)
3. Post Sales Part Invoice
4. Post Retailer Stock Inventory
5. Post Importer Stock Inventory
6. Post Car Sales
7. Post Lead (with Test Drive and Offer)
8. Delete Operations
All methods support deletion via toDelete parameter:
Error Handling
Response Codes
| RC | Meaning | Action |
|---|---|---|
| 1 | Success | Operation completed |
| -1 | Authorization failed | Check credentials |
| 164 | JWT expired | Auto-refreshed by client |
| 4403 | Mandatory field empty | Check required fields |
| 4410 | Invalid field value | Validate data |
| 4411 | Duplicate submission | Already submitted this month |
| 4417 | Duplicate part code | Check for duplicates |
Example Error Handling
Migration from v1.0
Breaking Changes
1. URL Change (Required!)
2. Stock Inventory Split (Required!)
3. Response Format
Migration Checklist
- [ ] Update
base_urlor setenvironmentparameter - [ ] Replace
postStockOnHand()calls with appropriate method - [ ] Update response parsing if accessing raw responses
- [ ] Test on QA environment first
- [ ] Deploy before January 15, 2026
API Methods
| Method | Description | Category |
|---|---|---|
logIn() |
Authenticate and get JWT token | Auth |
postJobCard($data, $toDelete) |
Submit service work order | A&B |
postSalesPart($data, $toDelete) |
Submit parts sales invoice | F |
postRetailerStockOnHand($data) |
Submit retailer inventory | D1 |
postImporterStockOnHand($data) |
Submit importer inventory | D2 |
postSalesCar($data, $toDelete) |
Submit car sales invoice | H |
postLead($data, $toDelete) |
Submit lead/test drive/offer | J/K/L |
Testing
Run tests:
Or manually test endpoints in tests/ directory:
See tests/README.md for detailed testing instructions.
Requirements
- PHP >= 5.4.0
- ext-curl
- ext-json
- tcdent/php-restclient >= 0.1.7
License
GPL-3.0-only
Support
Issues: https://github.com/IntelliDust/VarioNG/issues
Documentation
docs/- Complete API specificationsTODO/- Migration plans and endpoint mappingtests/- Usage examples and test suite
Credits
- Author: Slavoj SANTA Hruska
- Email: [email protected]
- Homepage: https://github.com/IntelliDust/VarioNG
Changelog
v3.0.0 (2026-01-13)
- BREAKING: New base URL
vibe.volvocars.biz(old domain deprecated) - BREAKING:
postStockOnHand()removed, split intopostRetailerStockOnHand()andpostImporterStockOnHand() - BREAKING: Response format changed to include
details[]array - Added JWT token auto-refresh on expiration
- Added
postSalesCar()for vehicle sales tracking - Added
postLead()for lead management - Added delete support via
toDeleteparameter - Added environment switching (production/QA)
- Added UUID auto-generation for
bodID - Enhanced error handling with specific RC codes
v0.1.10 (Previous)
- Legacy v-1.0 implementation
All versions of vario-ng with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
tcdent/php-restclient Version >=0.1.7
ext-curl Version *
ext-json Version *
tcdent/php-restclient Version >=0.1.7
ext-curl Version *
ext-json Version *
The package intelli-dust/vario-ng contains the following files
Loading the files please wait ...