betalabs / engine-sdk-freight
Freight SDK for internal apps Engine
Installs: 14 635
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- betalabs/engine-contracts: ^1.1|^2.0
- laravel/framework: 5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0
- league/fractal: ^0.17.0
README
This package provides a freight calculation response from Engine in a faster way and can be used for developing internal apps.
Installation
$ composer require betalabs/engine-sdk-freight
Usage
Your internal app need a class that extends:
Betalabs\Engine\Freight::class
And you need to implement outbound and inbound adapters, resolving these attributes in superclass.