承接 ppetermann/slim3-skeleton 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ppetermann/slim3-skeleton

Composer 安装命令:

composer create-project ppetermann/slim3-skeleton

包简介

Simple Slim Framework 3 skeleton with Twig & Monolog.

README 文档

README

This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog.

Important: this is a fork of akrabat's slim 3 skeleton, this fork uses king23/di-interop instead of pimple.

You can read more about this fork in the blog post that caused it

Create your project:

$ composer create-project -n -s dev ppetermann/slim3-skeleton my-app

Run it:

  1. $ cd my-app
  2. $ php -S 0.0.0.0:8888 -t public public/index.php
  3. Browse to http://localhost:8888

Key directories

  • app: Application code
  • app/src: All class files within the App namespace
  • app/templates: Twig template files
  • cache/twig: Twig's Autocreated cache files
  • log: Log files
  • public: Webserver root
  • vendor: Composer dependencies

Key files

  • public/index.php: Entry point to application
  • app/container.php: instantiation of the containe + slim-default-dependencies
  • app/settings.php: Configuration
  • app/dependencies.php: Services for king23/di
  • app/middleware.php: Application middleware
  • app/routes.php: All application routes are here
  • app/src/Action/HomeAction.php: Action class for the home page
  • app/templates/home.twig: Twig template file for the home page

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-08-22