icemanbsi/full-silex 问题修复 & 功能扩展

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

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

icemanbsi/full-silex

Composer 安装命令:

composer require icemanbsi/full-silex

包简介

Several Base Classes to make full stack framework from Silex micro framework

README 文档

README

Silex is a powerfull micro framework. Well, "micro" means you can create a small website within seconds. But sometimes you need to expand this framework into a full stack to moderate a bigger website. To make it happen at least you need to register several service providers, adding some functions in base controller, models, and many more.

Full Silex is the a fast track to build a full stack framework based on the amazing Silex Micro Framework. It contains several base classes such as Base Controller, Base Model, several Helpers, and many more.

Installation

1. Add full-silex as a required library in your composer project

composer require icemanbsi/full-silex

2. Prepare the project

you can copy the project template from /vendor/icemanbsi/full-silex/project-template into your project root.

3. Setting up the project

  • Make a duplicate of .htaccess.original and name it with .htaccess.
  • Set your database configurations and others in /resources/config/dev.php (for development) and /resources/config/prod.php (for production).
  • Inside the src/App/Application.php you need to override 'setControllerProviders' function. Please set your controller provider.
  • Now we move to your controller provider (such as src/App/DefaultControllerProvider.php). You can set your url rules inside 'setUrlRules' function. Don't forget to add a rule for '/' and bind it with name 'homepage'.

4. You are ready to go..

Add your controllers, models, template files, and others.

Credits

  1. Silex Framework
  2. Database migration by Ruckus (ruckusing/ruckusing-migrations)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固