Home > Backend Development > PHP Tutorial > Slim Framework 3 骨架更快的撸一个 Web App

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

WBOY
Release: 2016-06-20 12:31:10
Original
1030 people have browsed it

基于 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]
Copy after login

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	....
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template