转载

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

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

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

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

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

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

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  .... 
原文  http://havenshen.com/articles/2016/04/slim3-skeleton-application-authentication.html
正文到此结束
Loading...