cblink / eleme-dispatch
eleme dispatch SDK
v1.1
2020-07-23 10:23 UTC
Requires
- ext-json: *
- hanson/foundation-sdk: ^2.0|^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- mockery/mockery: ~7.0|^1.3
- phpunit/phpunit: 0.9.*|^8.5
This package is auto-updated.
Last update: 2024-11-23 20:26:27 UTC
README
eleme dispatch SDK.
Installing
$ composer require cblink/eleme-dispatch -vvv
Usage
###配置项 $config = [ 'app_id' => 'app_id', 'secret_key' => 'secret_key', 'debug' => true, // 测试联调 'cache' => ''// 缓存 ];
delivery query
(new ElemeDispatch($config))->dispatch->deliveryQuery($data);
create eleme order
(new ElemeDispatch($config))->order->createOrder($data);
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT