Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guanhui07/webman-skeleton
webman skeleton,websocket-server,workerman,laravel-orm,amqp,console
https://github.com/guanhui07/webman-skeleton
amqp cache console framework http orm php webman websocket websocket-server workerman
Last synced: 10 days ago
JSON representation
webman skeleton,websocket-server,workerman,laravel-orm,amqp,console
- Host: GitHub
- URL: https://github.com/guanhui07/webman-skeleton
- Owner: guanhui07
- License: mit
- Created: 2023-02-15T07:00:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-01T07:31:12.000Z (15 days ago)
- Last Synced: 2024-11-01T08:20:38.788Z (15 days ago)
- Topics: amqp, cache, console, framework, http, orm, php, webman, websocket, websocket-server, workerman
- Language: PHP
- Homepage: https://packagist.org/packages/guanhui07/webman-skeleton
- Size: 122 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: support/Plugin.php
Awesome Lists containing this project
README
# webman-skeleton
## install
```
composer create-project guanhui07/webman-skeleton
composer install
```## aop
https://github.com/hyperf/aop-integrationapp/aspect/DebugAspect.php
## command
命令行
https://www.workerman.net/plugin/1php webman make:command test:command
php webman test:command
## crontab
app/crontab/TestCrontab.php
config/crontab.php
app/process/Task.php 获取 配置执行
https://www.workerman.net/doc/webman/components/crontab.html
## event
配置
config/plugin/yzh52521/event/app.phphttps://www.workerman.net/plugin/27
触发
```php
event('test',[new TestEvent(['test'=>'event data'])]);
```## websocket gateway
https://www.workerman.net/plugin/5是否开启ws
config/plugin/webman/gateway-worker/app.phpconfig/plugin/webman/gateway-worker/process.php