Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-11-06 (Yesterday) ![]() | Not enough user ratings | Total: 1 This week: 1 | All time: 11,479 This week: 64![]() |
Version | License | PHP version | Categories | |||
php-project-template 1.0.0 | MIT/X Consortium ... | 8.2.0 | Project Management, Code Generation, P... |
Description | Author | |
This package can generate files for PHP projects from templates. |
|
ericsizemore/php-project-template
started as a template to be used for my own future repos/libraries, with the goal of eventually bringing my current repos to parity with this setup.
This package can be used to create a basic PHP library package/repository, complete with a directory structure and starting files (i.e. README, LICENSE, issue templates, PHPUnit configuration, etc.) commonly found in PHP libraries.
> [!WARNING] > > This project is not finished yet, work in progress.
You can install the package via composer:
$ composer create-project ericsizemore/php-project-template YOUR-PROJECT-NAME
You can also create a repository from this template on GitHub.
The continuous-integration.yml
workflow expects the project to exist on Scrutinizer so that it can upload coverage reports.
It also makes use of CodeCov, so it will require a new repository/action secret named CODECOV_TOKEN
.
Renovate
is used to handle automated updating of composer
dependencies. A merge-me.yml
workflow is provided to automatically merge PR's created by Renovate. This requires Allow auto-merge
to be enabled in repository settings, and a new repository/action secret named MERGE_ME
.
# Create a token with repository permissions:
# https://github.com/settings/tokens/new?scopes=repo&description=Merge+Me!+GitHub+Actions+Workflow
#
# Set MERGE_TOKEN as an environment variable on your repository:
# https://github.com/yourname/repo-name/settings/secrets/actions/new
The mutation-test
portion of the continuous-integration.yml
workflow sends mutation coverage (handled with Infection) information to Stryker and requires a new repository/action secret named STRYKER_DASHBOARD_API_KEY
.
// usage information here
See CONTRIBUTING.
Bugs and feature requests are tracked on GitHub.
See backward-compatibility.md for more information on Backwards Compatibility.
See the CHANGELOG for more information on what has changed recently.
See the LICENSE for more information on the license that applies to this project.
See SECURITY for more information on the security disclosure process.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Example | Example script | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.