https://github.com/guanguans/package-skeleton
A PHP package template repository. - 一个 PHP 软件包模板存储库。
https://github.com/guanguans/package-skeleton
package skeleton skeleton-template template template-library template-project template-repository
Last synced: 10 months ago
JSON representation
A PHP package template repository. - 一个 PHP 软件包模板存储库。
- Host: GitHub
- URL: https://github.com/guanguans/package-skeleton
- Owner: guanguans
- License: mit
- Created: 2020-10-28T09:52:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-10T23:10:58.000Z (about 1 year ago)
- Last Synced: 2025-06-25T00:05:13.169Z (12 months ago)
- Topics: package, skeleton, skeleton-template, template, template-library, template-project, template-repository
- Language: PHP
- Homepage: https://www.guanguans.cn/package-skeleton/#/
- Size: 3.35 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-zh_CN.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# package-skeleton
[简体中文](README-zh_CN.md) | [ENGLISH](README.md)
> [!NOTE]
> 一个 PHP 软件包模板存储库。- A PHP package template repository。
[](https://github.com/guanguans/package-skeleton/actions)
[](https://github.com/guanguans/package-skeleton/actions/workflows/phpstan.yml)
[](https://github.com/guanguans/package-skeleton/actions)
[](https://github.com/guanguans/package-skeleton/actions/workflows/rector.yml)
[](https://codecov.io/gh/guanguans/package-skeleton)
[](https://packagist.org/packages/guanguans/package-skeleton)

[](https://packagist.org/packages/guanguans/package-skeleton)
[](https://packagist.org/packages/guanguans/package-skeleton)
## 功能
* ...
## 环境要求
* PHP >= 8.0
## 安装
```bash
composer require guanguans/package-skeleton --ansi -v
```
## 使用
1. 执行 `$ git clone https://github.com/guanguans/package-skeleton.git`
2. 替换 `guanguans/package-skeleton` -> `vendorName/package-name`
3. 替换 `Guanguans\\PackageSkeleton` -> `VendorName\\PackageName`
4. 替换 `Guanguans\PackageSkeleton` -> `VendorName\PackageName`
5. 替换 `GuanguansPackageSkeletonUpdateHelper` -> `VendorNamePackageNameUpdateHelper`
6. 替换 `package-skeleton` -> `your repository name`
7. 替换 `ityaozm@gmail.com` -> `your email`
8. 执行 `$ composer install && composer dumpautoload`
9. 执行 `$ rm .git/ && git init && git add . && git commit -m 'Build the basic skeleton'`
## 测试
```bash
composer test
```
## 变更日志
请参阅 [CHANGELOG](CHANGELOG.md) 获取最近有关更改的更多信息。
## 贡献指南
请参阅 [CONTRIBUTING](.github/CONTRIBUTING.md) 有关详细信息。
## 安全漏洞
请查看[我们的安全政策](../../security/policy)了解如何报告安全漏洞。
## 贡献者
* [guanguans](https://github.com/guanguans)
* [所有贡献者](../../contributors)
## 协议
MIT 许可证 (MIT)。有关更多信息,请参见[协议文件](LICENSE)。