• Stars
    star
    414
  • Rank 104,550 (Top 3 %)
  • Language
    PHP
  • Created over 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

EASYSWOOLE DEMO

关于具体 demo 在哪

demo/3.x 分支对应了 EasySwoole 3.x 版本的 demo3.x 主要是 EasySwoole 基础使用的例子,其他使用请看 3.x 对应的分支。

如何运行 DEMO

安装项目时请不要覆盖默认的配置文件(dev.php / produce.php)以及 EasySwooleEvent 事件注册文件(EasySwooleEvent.php

安装 EasySwoole

git clone https://github.com/easy-swoole/demo.git
cd demo
git checkout 3.x
composer install
php vendor/easyswoole/easyswoole/bin/easyswoole install
composer dump-autoload

配置数据库

dev.php 中的 MYSQL 配置项中配置数据库

安装项目数据库

运行 /Doc/sql.sql 文件

启动项目

启动项目

php easyswoole server start

访问 url

管理员登陆: http://127.0.0.1:9501/Api/Admin/Auth/login?account=xsk&password=123456 
公共请求banner: http://127.0.0.1:9501/Api/Common/Banner/getAll
会员登陆: http://127.0.0.1:9501/Api/User/Auth/login?userAccount=xsk&userPassword=123456

请先认真阅读手册 再进行体验

  • EASYSWOOLE 在线手册

  • QQ 交流群

    • VIP 群 579434607 (本群需要付费599元)
    • EasySwoole 官方一群 633921431(已满)
    • EasySwoole 官方二群 709134628(已满)
    • EasySwoole 官方三群 932625047(已满)
    • EasySwoole 官方四群 779897753(已满)
    • EasySwoole 官方五群 853946743
  • 商业支持:

More Repositories

1

easyswoole

swoole,easyswoole,swoole framework
PHP
4,737
star
2

doc-old

easyswoole文档
Shell
100
star
3

pay

A variety of payment solutions based on easyswoole.
PHP
86
star
4

wechat

Wechat based on easyswoole.
PHP
82
star
5

rpc

PHP
78
star
6

compiler

C
65
star
7

spider

a multi process spider base on easyswoole
PHP
53
star
8

kafka

PHP
42
star
9

mysqli

PHP
34
star
10

redis

PHP
34
star
11

orm

PHP
31
star
12

wstool

websocket test tool
JavaScript
29
star
13

doc

JavaScript
25
star
14

doc-3.3.x

JavaScript
25
star
15

verify-code

验证码生成类库
PHP
22
star
16

words-match

PHP
17
star
17

cache

配合easySwoole使用的轻量级缓存驱动
PHP
16
star
18

actor

PHP
15
star
19

elasticsearch

Elasticsearch client
PHP
14
star
20

component

PHP
13
star
21

code-generation

PHP
13
star
22

queue

A simple Queue implementation integrated into easySwoole
PHP
13
star
23

easy-whoops

Whoops to easySwoole framework 3.x
PHP
12
star
24

fast-cache

PHP
11
star
25

smtp

PHP
10
star
26

video-material

视频教材
10
star
27

pool

PHP
9
star
28

fast-db

PHP
8
star
29

utility

实用工具组件
PHP
8
star
30

http-client

PHP
7
star
31

apollo-config

PHP
7
star
32

curl

PHP
7
star
33

http

PHP
7
star
34

http-annotation

PHP
7
star
35

dns-server

PHP
6
star
36

redis-pool

PHP
6
star
37

ddl

PHP
6
star
38

mqtt

PHP
6
star
39

wsdebug

swoole 开发调试
PHP
6
star
40

atomic-limit

PHP
6
star
41

websocket-gate

PHP
6
star
42

consul

PHP
5
star
43

memcache

memcache
PHP
5
star
44

mysqli-pool

PHP
5
star
45

etcd-client

PHP
5
star
46

template

PHP
5
star
47

crypto

PHP
5
star
48

spl

PHP
5
star
49

hot-reload

auto hot reload manager
PHP
5
star
50

console

PHP
5
star
51

mongodb

PHP
5
star
52

task

PHP
5
star
53

app

the new easyswoole application
PHP
5
star
54

nsq

NSQ客户端
PHP
4
star
55

log

PHP
4
star
56

file-watcher

PHP
4
star
57

jwt

PHP
4
star
58

o-auth

PHP
4
star
59

validate

PHP
4
star
60

phpunit

PHP
3
star
61

tracker

PHP
3
star
62

admin

PHP
3
star
63

bridge

PHP
3
star
64

socket

PHP
3
star
65

database-migrate

PHP
3
star
66

session

PHP
3
star
67

easy-printer

Use cloud printer easily
PHP
3
star
68

oss

PHP
3
star
69

superDebug

superDebug
PHP
3
star
70

proxy

PHP
2
star
71

trace

PHP
2
star
72

memcache-pool

PHP
2
star
73

trigger

PHP
2
star
74

parsedown

PHP
2
star
75

linux-dash

PHP
2
star
76

doctrine-annotations

PHP
2
star
77

http-annotation-swagger

HTML
2
star
78

apollo

PHP
2
star
79

crontab

PHP
2
star
80

hyperf-orm

PHP
2
star
81

config

PHP
2
star
82

i18n

PHP
2
star
83

job-queue

PHP
2
star
84

annotation

PHP
2
star
85

u-editor

PHP
1
star
86

doc-3.7

JavaScript
1
star
87

doc-system

Less
1
star
88

policy

PHP
1
star
89

sync-invoker

PHP
1
star
90

command

PHP
1
star