fra-c/slim-behat-skeleton
Composer 安装命令:
composer create-project fra-c/slim-behat-skeleton
包简介
README 文档
README
Skeleton application using Slim 3 and Behat.
The following instructions assume you're using Docker.
Install
Run the following command to create the project (replace [my-app-name]):
$ docker run -it --rm -v $(pwd):/app composer create-project fra-c/slim-behat-skeleton [my-app-name]
Create .env file and optionally edit to your needs:
$ cp .env.example .env
Run tests
Run Behat tests with:
docker-compose run --rm php vendor/bin/behat
Composer command
To run composer:
docker run -it --rm -v $(pwd):/app composer [command] [options] [...]
Example:
docker run -it --rm -v $(pwd):/app composer require --dev phpunit/phpunit
Note: Sometimes packages require extensions that won't be found in the composer image. To fix the problem run composer adding the flag --ignore-platform-reqs
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-24