dev-master
9999999-dev http://github.com/sinevia/php-library-apiPHP Library API
proprietary
api php library sinevia
v1.0.0
1.0.0.0 http://github.com/sinevia/php-library-apiPHP Library API
commercial
api php library sinevia
PHP Library API
A package to quickly set a PHP webservice, (*2)
composer require sinevia/php-library-api
$commands = [ 'ping' => 'PingController@ping', 'auth/login' => 'AuthController@login', 'auth/register' => 'AuthController@register', 'auth/password-restore' => 'AuthController@passwordRestore', 'account/password-change' => ['MiddlewareController@verifyUser','AccountController@passwordChange'], ]; $api = new Sinevia\ApiService; $api->addCommands($commands); die($api->run());
class PingController{ function ping(){ return (new Sinevia\ApiResponse)->success('pong'); } }
PHP Library API
proprietary
api php library sinevia
PHP Library API
commercial
api php library sinevia