kreait/php-boilerplate
最新稳定版本:3.0.1
Composer 安装命令:
composer require kreait/php-boilerplate
包简介
A boilerplate for new composer based PHP projects.
关键字:
README 文档
README
A boilerplate for new composer based PHP projects.
Getting started
# With composer $ composer create-project kreait/php-boilerplate new-project # With git $ git clone git@github.com:kreait/php-boilerplate.git new-project && cd $_ && rm -rf .git && git init
Update composer.json
Replace the Namespaces in the autoload and autoload-dev sections with your project's namespaces
and run composer dump-autoload.
(Optional) Update .gitattributes
Remove the comments in .gitattributes so that unneeded files for your package won't get included in your releases.
(Optional) Add composer.lock to the .gitignore file
If you're creating an application instead of a library, it is considered good practice to commit the composer.lock file together with the rest of the code.
Start coding! 😄
统计信息
- 总下载量: 472
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-26