基于 Slim Framework 的简单辅助工具,用于生成 RESTful API 和应用程序,需要 PHP 7.
Slim Framework based simple helper to generate RESTful API's and applications, requires PHP 7.
KAPI means "door" in Turkish.
git clone https://github.com/emir/kapi myproject
cd myproject
composer installIt will create an example project.
$EDITOR .envphinx migratecd myproject
php -S localhost:8080 -t publicThat's all! :)
You should define your URLs in routes.php:
# src/routes.php
withJson($books);
}
}Done!
暂无开放 Issues,或尚未同步最近议题。