monsoon/framework
Composer 安装命令:
composer create-project monsoon/framework
包简介
A Simple and Rapid MVC Framework in PHP
README 文档
README
Monsoon PHP is an open-source, simple, fast, secure and free PHP web framework that assists developers in creating a secure application rapidly (RAD). You can maintain your Application’s code, as well as your REST API and CLI based scripts in a single codebase with Monsoon. Documentation is available at https://monsoonphp.com
Getting Started
Direct Download
- Download the framework as a zip file from Github repository or through composer
- Point your webserver's root to public/ folder
- Access the URL from your browser
Composer Download
- Give the command in terminal
composer create-project monsoon/framework . - Point your webserver's root to public/ folder
- Access the URL from your browser
Available Tools from Composer
This framework uses following packages when you install as composer-project.
- phinx
- php_codesniffer
- phpunit
- pdepend
- phpmd
Configuration File
Configuration file distributable file is available under src/Config/.env.php.dist. Remove the .dist extension to get started. More configuration parameters can be setup in src/Config/Config.php.
Database migrations with Phinx
Version your database changes with Phinx library. Run your migrations with this commands. See phinx.php for predefined values.
Running on PHP server
You can use PHP's internal webserver to run the application in your development system. Give this command in the terminal. The default URL will be http://localhost:8080
php -S localhost:8080 -t public
Alternatively, you can also run bin/start.sh.
sh bin/start.sh
Docker
To run this framework in a docker container, give this command in terminal. Dockerfile is available in data/docker/ folder
docker-compose up -d
The default URL will be http://localhost:8080
Gulp
You can install Gulp with NPM with these commands. See gulpfile.js for configurations.
npm install
gulp js|css|sass
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-03