enyosolutions/silex-pumped-distribution 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

enyosolutions/silex-pumped-distribution

Composer 安装命令:

composer require enyosolutions/silex-pumped-distribution

包简介

A Silex bundled distribution. This project is a base for your silex applications.

关键字:

README 文档

README

This project is a sample for a bootstrap silex application. It's based on lyrixx's Silex Kitchen edition. For more informations, see the dedicated page.

BASE PROJECT

lyrixx project is a great way to start working on silex with a proper structure. It features

  • Directory structure
  • MVCish approach
  • Doctrine DBAL
  • Translation
  • Bootstrap
  • Boilerplate

However i wasn't satisfied with some of the choices that where made in the project. So i made some changes :

CHANGES

  • Implemented a User management system : Simple User for Silex.
  • Implemented a proper mvc folder structure in the the "src/" directory
  • Added support for doctrine2 orm, it's a suggest package. The command line also support doctrine.
  • Created a controllers as services system See Silex services controllers.
  • Moved non source code elements to the folder "resources/" (console, routing, services registering etc)
  • Moved the twig templates to "src/"
  • Updated the layout using the SimpleUser version
  • Styled the css using the spacelab sheet from Bootswatch

INSTALLATION

Create a project using composer

    php composer.phar create-project -s dev enyosolutions/silex-pumped-skeleton PATH/TO/YOUR/APP
    cd PATH/TO/YOUR/APP

GETTING STARTED

The app is ready to fire. just navigate to your site with your browser.

You can then do the following :

  • Go to "resources/config" and edit your config files as you see fit
  • Create a controller in "src/Controllers"
  • Register it in "resources/controllers.php"
  • Create your routes in "resources/routes.php"
  • Create a twig template in "src/views"

You can now do everything you want. Add a redbeanphp to your vendors and you can start prototyping and building your app.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固