kavinsky / laravel-mrw-api
An unofficial API implementation for MRW SOAP API.
v0.1.0
2025-04-09 09:12 UTC
Requires
- php: ^8.3
- ext-dom: *
- ext-mbstring: *
- ext-soap: *
- illuminate/contracts: ^10.0||^11.0||^12.0
- illuminate/support: ^10.0||^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
- wsdltophp/packagebase: ~5.0
Requires (Dev)
- larastan/larastan: ^2.9||^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^10.0.0||^9.0.0||^8.22.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.3||^2.0
- phpstan/phpstan-deprecation-rules: ^1.1||^2.0
- phpstan/phpstan-phpunit: ^1.3||^2.0
- rector/rector: ^2.0
README
Package still in development, do not use in production environments.
Installation
You can install the package via composer:
composer require kavinsky/laravel-mrw-api
Configure mrw
entry in your config/services.php
file:
return [ // ... 'mrw' => [ 'wsdl' => env('MRW_WSDL'), 'auth' => [ 'client_code' => env('MRW_CLIENT_CODE'), 'client_key' => env('MRW_CLIENT_KEY'), 'center_code' => env('MRW_CENTER_CODE'), 'franchise_code' => env('MRW_FRANCHISE_CODE'), ], // Options to pass to the Guzzle Client 'httpOptions' => [], ] ]
Usage
Still in progress. The package is not ready yet.
License
The MIT License (MIT). Please see License File for more information.