rookiejin / swoole Goto Github PK
View Code? Open in Web Editor NEWa simple swoole framework
a simple swoole framework
How big is your brother?
.
├── swoole # 框架源码文件夹
│ ├── composer.json
│ ├── README.md
│ └── src
├── swoole_tools # 热重启文件夹
│ ├── composer.json
│ ├── README.md
│ └── src
├ test # 本地实际项目
├── app # 应用文件夹
│ ├── Controller # 控制器文件夹
│ │ └── Home.php #控制器
│ ├── helper.php # 自定义函数
│ └── Model # 模型
├── composer.json
├── composer.lock
├── config # 配置文件夹
│ ├── app.php # app 配置 Application::getInstance('config')->app ['xxx'] 获取
│ ├── router.php # 路由配置
│ └── server.php # 服务器配置
├── index.php # 服务器端入口脚本
├── reload.php # 热重启脚本
└── vendor # composer商店目录 vendor 文件夹的内容会自动生成 执行 composer install 就行了。
├── autoload.php
├── bin
├── composer
│ ├── autoload_classmap.php
│ ├── autoload_files.php
│ ├── autoload_namespaces.php
│ ├── autoload_psr4.php
│ ├── autoload_real.php
│ ├── autoload_static.php
│ ├── ClassLoader.php
│ ├── installed.json
│ └── LICENSE
├── eaglewu
│ └── swoole-ide-helper
├── psr
│ └── container
├── rookiejin # 软连接指向项目目录 不要手动生成,composer install 自动生成。
│ ├── swoole -> ../../../swoole
│ └── swoole_tools -> ../../../swoole_tools
└── symfony
├── polyfill-mbstring
└── var-dumper
// swoole && swoole_tools && test 属于平级文件夹
// test 里面的composer.json结构:
{
"name": "rookiejin/test",
"require": {
"rookiejin/swoole": "*",
"rookiejin/swoole_tools":"*",
"psr/container": "^1.0"
},
"autoload":{
"psr-4":{
"App\\":"app/"
},
"files":[
"app/helper.php"
]
},
"repositories": [
{
"type": "path",
"url": "../swoole"
},{
"type":"path",
"url":"../swoole_tools"
}
],
"require-dev": {
"eaglewu/swoole-ide-helper": "dev-master",
"symfony/var-dumper": "^3.3"
}
}
// swoole_ tools 直接克隆下来就行了
// swoole 框架文件夹也直接克隆 然后在项目里面修改 vendor/rookiejin/swoole 文件夹的代码。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.