surebert/framework 问题修复 & 功能扩展

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

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

surebert/framework

最新稳定版本:1.9.2

Composer 安装命令:

composer require surebert/framework

包简介

An all purpose PHP 7 MVC framework

README 文档

README

Composer

Download composer in order to download the required dependencies.

Composer can be found at http://getcomposer.org/download/ OR you can download it using curl

curl -s https://getcomposer.org/installer | php

Then use composer to start a new surebert web project with the framework modules required.

composer create-project surebert/webapp-basic -s dev $YOUR_APPLICATION_NAME 

Serving your project

Once they are installed you can begin working on your project. You will need to serve your applications /public directory. This can be done via apache on nginx in production but you can simply user php 5.4 new built in server for testing. To do so cd into the /public directory and type

cd /PATH/TO/YOUR/PROJECT/public
php -S 127.0.0.1:9000

Immediately you will see you projects /private/view/home/index.view file served.

If serving with apache add the site to your httpd.conf or httpd-vhosts.conf file

<VirtualHost *:80>
    ServerName YOUR.DOMAIN
    DocumentRoot /PATH/TO/$YOUR_APPLICATION_NAME/public
    CustomLog /PATH/TO/$YOUR_APPLICATION_NAME_access.log combined
    ErrorLog  /PATH/TO/$YOUR_APPLICATION_NAME_error.log
    RewriteEngine On
    RewriteBase /
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule .* index.php [L]
</VirtualHost>

For more information see the wiki on gitlab https://gitlab.com/paulvisco/surebert-framework/wikis/home

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固