Code Monkey home page Code Monkey logo

we7coreteam / w7-rangine-empty Goto Github PK

View Code? Open in Web Editor NEW
282.0 10.0 52.0 315 KB

软擎是基于 Php 7.2+ 和 Swoole 4.4+ 的高性能、简单易用的开发框架。支持同时在 Swoole Server 和 php-fpm 两种模式下运行。内置了 Http (Swoole, Fpm),Tcp,WebSocket,Process,Crontab服务。集成了大量成熟的组件,可以用于构建高性能的Web系统、API、中间件、基础服务等等。

Home Page: https://www.rangine.com/

License: Apache License 2.0

PHP 68.37% HTML 28.01% Shell 2.67% JavaScript 0.03% Batchfile 0.93%
swoole we7 weengine laravel-orm crontab process fpm websocket php laravel-database

w7-rangine-empty's Introduction

Php Version Swoole Version Rangine Framework Version Illuminate Database Version Rangine Doc

w7Rangine

软擎是基于 Php 7.2+ 和 Swoole 4.4+ 的高性能、简单易用的开发框架。支持同时在 Swoole Server 和 php-fpm 两种模式下运行。内置了 Http (Swoole, Fpm),Tcp,WebSocket,Process,Crontab服务。集成了大量成熟的组件,可以用于构建高性能的Web系统、API、中间件、基础服务等等。

代码

Github : https://github.com/we7coreteam/w7-rangine-empty.git

Gitee : https://gitee.com/we7coreteam/w7swoole_empty.git

安装

composer install 前更改 composer 源,防止报错。

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

初始化骨架项目

composer create-project w7/rangine-demo ./project-name

初始化示例项目

示例项目中包含文档上的一些演示代码,仅供了解使用。

git clone https://github.com/we7coreteam/w7-rangine-empty.git ./rangine-demo-test
cd rangine-demo-test
sudo composer install

文档

https://wiki.w7.cc/chapter/1?id=1175#

功能

  • 基于 Swoole 扩展
  • HTTP 服务器 (PSR-7消息)
  • RPC 服务器 *
  • WebSocket 服务器
  • MVC 分层设计
  • 中间件 (PSR-15)
  • URL路由 (FastRoute)
  • 协程数据库连接(Pdo, Mysql)
  • 数据库连接池
  • ORM 模型 (Laravel Database)
  • DB查询门面 (Laravel Database)
  • 日志系统 (MonoLog)
  • 协程、异步任务投递
  • 类 Crontab 计划任务
  • 异步任务
  • 自定义事件侦听
  • Provider 扩展机制
  • Session 机制

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.