lvinkim / swim-skeleton
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- league/plates: ^3.3
- lvinkim/swim-kernel: ^0.1.0
Requires (Dev)
- phpunit/phpunit: ^6.2
- swoft/swoole-ide-helper: dev-master
README
swim 框架
安装
$ composer create-project lvinkim/swim-skeleton [my-app-name]
配置
$ cp .env.example .env
启动
开发模式(php -S)启动
$ php bin/console.php swim:dev:start 8080
# 如果使用 docker
$ docker-compose -f docker-compose-dev.yml up
生产模式(swoole)启动
$ php bin/server.php swoole:start 8080
# 如果使用 docker
$ docker-compose up