首页 >后端开发 >php教程 >Slim Framework 3 骨架更快的撸一个 Web App

Slim Framework 3 骨架更快的撸一个 Web App

WBOY
WBOY原创
2016-06-20 12:31:101009浏览

基于 Slim Framework 3 构建的骨架,快速开发轻量级 Web App 。

以基本实现了 Authentication 可作为开发例子或改造属于你自己的果实。

你可以用 Laravel 的 Homestead 运行,各种环境各种运行,不多说,拉下去看看,就这么简单。

GitHub Stared This: https://github.com/HavenShen/slim-born

Installation

composer create-project havenshen/slim-born [my-app]

Use Packages

  • illuminate/database- It also serves as the database layer of the Laravel PHP framework.
  • Respect/Validation- The most awesome validation engine ever created for PHP.
  • slimphp/Slim- Slim Framework created.
  • slimphp/Slim-Csrf- Slim Framework created.
  • slimphp/Twig-View- Slim Framework created.
  • slimphp/Slim-Flash- Slim Framework created.

Directory Structure

|-- slim-born	|-- app		|-- Auth		|-- Controllers		|-- Middleware		|-- Models		|-- Validation		|-- Routes.php	|-- bootstrap		|-- app.php	|-- public	|-- resources	....

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn