欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2024-01-24 09:56:46
...
基于 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	....