Download the PHP package yasser-elgammal/laravel-wasl-erental without Composer
On this page you can find all versions of the php package yasser-elgammal/laravel-wasl-erental. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yasser-elgammal/laravel-wasl-erental
More information about yasser-elgammal/laravel-wasl-erental
Files in yasser-elgammal/laravel-wasl-erental
Package laravel-wasl-erental
Short Description Laravel integration for Saudi TGA and Elm Rabet WASL eRental APIs for rental companies, vehicle eligibility, location updates, and rental operations.
License MIT
Informations about the package laravel-wasl-erental
Laravel WASL eRental
Laravel API client for Rabet WASL eRental / Rental Companies integrations in Saudi Arabia.
Package: yasser-elgammal/laravel-wasl-erental
About WASL Platform
WASL is an advanced digital platform launched by Saudi Arabia's Transport General Authority (TGA) in cooperation with Elm. It connects land-transport establishments with regulatory authorities to support vehicle tracking and the monitoring of transportation activities, including taxis, freight trucks, and freight brokers, helping improve safety, operational efficiency, and regulatory compliance across Saudi Arabia's transportation sector.
This Laravel package focuses specifically on integration with the Rabet WASL eRental API for rental companies. It provides fluent builders and raw service methods for vehicle registration, vehicle eligibility inquiry, current-location updates, and rental-operation registration. All operations return a WaslResponse DTO.
It does not create database tables, jobs, routes, scheduled tasks, or application-specific model updates.
Requirements
- PHP 8.0+
- Laravel 13 requires PHP 8.3+
- Laravel 9, 10, 11, 12, or 13
Installation
Publish and check the configuration:
Configuration
Never expose app-key in frontend or mobile applications. Send all WASL requests from your backend.
Quick Start
Vehicle inquiry also accepts the complete plate:
Use one plate-input style per inquiry. In plateLetters(), the arguments are ordered from the right side of the plate to the left: right, middle, then left.
Complete Guide
The Complete Guide is the full package reference. It covers:
- requirements
- configuration
- base URL
- facade entry points
- Fluent builder and raw-array usage
WaslResponsemethods- Technical success versus business success
- Vehicle registration
- Arabic plate letters and their right-to-left order
- Vehicle eligibility inquiry using either plate-input style
- Current-location updates and partial failures
- Rental-operation registration
- Date formatting
- connection, and configuration exceptions
- Optional request logging
- Suggested application workflow
- Troubleshooting
Supported Services
| Service | Endpoint |
|---|---|
| Vehicle registration | POST /api/eRental/v1/vehicles |
| Vehicle eligibility inquiry | GET /api/eRental/v1/inquiry/vehicles |
| Current-location update | POST /api/eRental/v1/locations |
| Rental-operation registration | POST /api/eRental/v1/rental-operation |
License
MIT.
All versions of laravel-wasl-erental with dependencies
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0|^13.0