aprchen/easy-ms

miro-service

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/aprchen/easy-ms

dev-master 2018-07-10 07:18 UTC

This package is not auto-updated.

Last update: 2025-10-08 16:08:01 UTC


README

使用 phalcon Micro 搭建 restful api

使用方法

composer require aprchen/easy-ms

入口文件示例

define('BASE_PATH', dirname(__DIR__));
define('APP_PATH', BASE_PATH . '/app');
require_once BASE_PATH . '/vendor/autoload.php';
$app = new MicroApp();
$app->setConfigPath(BASE_PATH."/config.ini");
$app->setBoots(
    new CollectionBootstrap(),
    new ServiceBootstrap()
);
$app->handle();