ricci69/phpprojectgen
Composer 安装命令:
composer create-project ricci69/phpprojectgen
包简介
Set all necessary components to create a skeleton project in PHP (composer) with PHPunit test cases
README 文档
README
Set all necessary components to create a skeleton project in PHP (composer) with PHPunit test cases. Based on the excellent work of [Elminson De Oleo Baez]
Usage
After the download run
composer install
or if you want to install it via packagist
composer create-project ricci69/phpprojectgen
Configure your package (config.json)
{
"name": "Company",
"projectname": "NewProject",
"description": "Project description",
"phpunit": true,
"phpunitversion": "~9",
"developer": "author",
"email": "author@email.com",
"license": "MIT",
"minimum-stability": "stable",
"type": "project"
}
Execute
Just type
php generate.php
or navigate to
http://127.0.0.1/PHPProjectGen/generate.php
this will generate a zip file (projectname.zip) with this structure and the correct namespace
src/NewProject.php
tests/testNewProject.php
composer.json
README.md
After unzip the file you have to run
composer install
and you will have your project up and running in 30 seconds or less.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-17