Code Monkey home page Code Monkey logo

httpgateway's Introduction

微信网关系统

基于PHP的微信网关系统,运行于nuix内核服务器(包括树莓派),使用 PHP7+SWOOLE强力驱动。

微信语音指令,支持http协议


软件支持
  • PHP7.0以上版本
  • 树莓派debian、Ubuntu、其他nuix内核系统
  • swoole 1.9X
  • 花生壳
使用方法
php server.php

程序默认端口为 8090
配置更改:server.php


安装说明
安装PHP7(至少包含mb_string拓展)

~$ sudo apt-get install php
安装swoole拓展

~$ git clone https://github.com/swoole/swoole-src.git
~$ cd swoole
~$ phpize
~$ ./configure
~$ make 
~$ sudo make install

安装花生壳

phddns start(启动)| stop(停止)| restart(重启)
需要自行注册: http://hsk.oray.com/
开通内网穿透,设置为本机ip 端口

	
~$ wget http://hsk.oray.com/download/download?id=25
~$ dpkg -i phddns_rapi_3.0.1.armhf.deb
~$ phddns start
	
安装程序
	
~$ git clone https://github.com/EthanChenLi/httpgateway.git
~$ cd httpgateway
~$ php server.php
	

更新说明: 2017.8.8

  • 新增毫秒级定时任务,支持循环周期,循环次数,手动停止,无需依赖系统定时任务。
  • 优化程序结构

httpgateway's People

Contributors

ethanchenli avatar

Watchers

James Cloos avatar St.John 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.