itafroma/skeleton
最新稳定版本:v1.0.0
Composer 安装命令:
composer require itafroma/skeleton
包简介
Skeleton package for PHP projects.
关键字:
README 文档
README
This is a placeholder/skeleton project to load the essential configuration and packages I use for development of PHP projects.
Conventions
Dependencies
- Composer for dependency management
- PSR-4 for autoloading
- PHPUnit for unit-testing
- Scrutinizer for code analysis and reporting, configured to match PSR-1 and PSR-2 (among other things: see .scrutinizer.yml)
- Travis CI for continuous integration
Directory structure:
- bin: Executable artifacts
- build: Automatically generated artifacts from your build/CI process. For example, PHPUnit test results will be placed here.
- config: Configuration files that are not required to be in the project root
- src: PSR-4-compliant code
- tests: PSR-4-compliant PHPUnit tests
- vendor: Dependency artifacts from Composer
Usage
First, load this package as a project via Composer:
# Replace [PROJECT] with the desired name of your project directory
composer create-project itafroma/skeleton [PROJECT]
Remove the existing VCS history when asked: this information is specific to this repository, not your new project.
Next, modify the existing files to be specific to your new project:
Finally, update your project's composer.lock:
composer update
Now you're ready to start development and push your new project to your favorite VCS.
Copyright and license
Where applicable, this project is released into the public domain. It is otherwise made available via the MIT license. A copy of the license can be found in the LICENSE file.
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-06