Giter VIP home page Giter VIP logo

php-msf-demo's Introduction

PHP-MSF DEMO

PHP微服务框架即“Micro Service Framework For PHP”示例项目

How to Start

# Step1. 下载项目
git clone https://github.com/pinguo/php-msf-demo.git
# Step2. 安装docker镜像构建开发环境.进入项目目录
sh build.sh
# Step3. 参考Step2输出的信息,使用ssh或者exec进入容器, 到达项目根目录, 安装依赖
composer install
# Step4. 启动服务器, 可以使用supervisorctl执行update或者执行php server.php 即可。
php server.php

Notice

  • php-msf-demo示例项目使用的是最新的php-msf代码,即dev-master分支,生产环境请使用release的相关版本。
  • 在有些环境中执行php server.php,由于inotify的原因并不能自动热更新代码,请尝试使用nodemon --exec "php" server.php
  • 使用过程中如果有问题可以参见框架文档 PHP-MSF开发手册 以及 常见问题及其解决方式

LICENSE

GNU General Public License, version 2 see https://www.gnu.org/licenses/gpl-2.0.html

php-msf-demo's People

Contributors

pinguo-xudianyang avatar xudianyang avatar pinguo-xiaoshiyong avatar pinguo-zhanglu avatar shellvon avatar

Watchers

James Cloos avatar 安仔 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.