marcincook/laravel-renteon-api-client
最新稳定版本:v0.1.0
Composer 安装命令:
composer require marcincook/laravel-renteon-api-client
包简介
Laravel client for the Renteon REST API (multi-country, manager-style facade).
README 文档
README
A Laravel client for the Renteon REST API, with first-class support for multi-country setups (PL / ES / LT / …) and a manager-style facade familiar to Laravel developers.
Official Renteon API reference: https://demo.s2.renteon.com/en/Api/Help/Referenceex
Status
🚧 Early development — v0.1.0 is available but the API surface may still change before v1.0.0.
Requirements
- PHP 8.3+
- Laravel 11, 12 or 13
Installation
composer require marcincook/laravel-renteon-api-client
Publish the config:
php artisan vendor:publish --tag=renteon-config
Configuration
Set environment variables for each country you operate in:
RENTEON_DEFAULT_COUNTRY=pl RENTEON_PL_API_ENABLED=true RENTEON_PL_API_BASE_URL=https://your-tenant.renteon.com RENTEON_PL_API_USERNAME=... RENTEON_PL_API_PASSWORD=... RENTEON_PL_API_CLIENT_ID=... RENTEON_PL_API_SECRET=... RENTEON_PL_API_SALT=00000000
The same set of variables is available for RENTEON_ES_* and RENTEON_LT_*.
Usage
use Renteon; // Default country (config('renteon.default')) $bookings = Renteon::bookings()->searchBookings([ 'dateFrom' => '2026-05-01', 'dateTo' => '2026-05-31', ]); // Explicit country $cars = Renteon::for('es')->cars()->searchCars(['officeId' => 12]);
License
MIT — see LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 111
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-15