iportillo/skeleton-php
最新稳定版本:v3.0.0
Composer 安装命令:
composer create-project iportillo/skeleton-php
包简介
Basic PHP skeleton with the PSR-4 specification for class autoloading
README 文档
README
Basic php skeleton with the PSR-4 specification, for class autoloading.
Integrated into the skeleton linter for static analysis and code styles and automatic code refactoring.
Requires PHP 8.2+
Create new project
For initial new project, execute this command:
composer create-project iportillo/skeleton-php project-name
Commands in skeleton
Use codebase with Pint:
composer lint
Run refactors using Rector
composer refacto
Run static analysis using PHPStan:
composer test:types
Run unit tests using PEST
composer test:unit
Run the entire test suite:
composer test
Running server
cd public
php -S localhost:8000
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-08