# gwyn **Repository Path**: JesusSlim/gwyn ## Basic Information - **Project Name**: gwyn - **Description**: service 2 api , chains service & closure 2 api. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: https://github.com/jesusslim/gwyn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-06-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gwyn service 2 api easily ## Require swoole composer jesusslim/pinject ## Example1 ### simple example ... \gwyn\Example\Foo::run(); then php index.php post url: http://localhost:9876?service=test_closure post params: a = 3 b = 4 result: { "status": 1, "result": 12 } ### chains example ... \gwyn\Example\Foo::runMulti(); then php index.php post url: http://localhost:9876?services=test_class|sum2,test_closure post params: a = 15 result: { "status": 1, "result": 3200 } ## Example2 see [mobile location example](https://github.com/jesusslim/mobile_location_example)