https://github.com/ghostwriter/coding-standard
PHP Coding Standard
https://github.com/ghostwriter/coding-standard
coding-standard ghostwriter php
Last synced: 8 months ago
JSON representation
PHP Coding Standard
- Host: GitHub
- URL: https://github.com/ghostwriter/coding-standard
- Owner: ghostwriter
- License: other
- Created: 2023-01-05T04:46:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T00:40:17.000Z (8 months ago)
- Last Synced: 2025-04-22T01:28:02.213Z (8 months ago)
- Topics: coding-standard, ghostwriter, php
- Language: PHP
- Homepage: https://github.com/ghostwriter
- Size: 52.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Coding Standard
[](https://github.com/sponsors/ghostwriter)
[](https://github.com/ghostwriter/coding-standard/actions/workflows/automation.yml)
[](https://www.php.net/supported-versions)
[](https://packagist.org/packages/ghostwriter/coding-standard)
## Installation
You can install the package via composer:
``` bash
composer require ghostwriter/coding-standard:dev-main --dev
```
## Usage
```sh
composer ghostwriter:infection:run Run the project's Infection test suite
composer ghostwriter:infection:update-config Update the project's Infection configuration file
composer ghostwriter:phpunit:migrate Migrate the project's PHPUnit configuration to the latest version
composer ghostwriter:phpunit:test Run the project's PHPUnit test suite
composer ghostwriter:psalm Run Psalm to analyze the project's codebase
composer ghostwriter:psalm:baseline Use Psalm to create a baseline for the project's codebase
composer ghostwriter:psalm:update Use Psalm to update the baseline for the project's codebase
composer ghostwriter:psalm:security Use Psalm to analyze the project's codebase for security issues
```
## Credits
- [`Nathanael Esayeas`](https://github.com/ghostwriter)
- [`phive`](https://github.com/phar-io/phive)
- [`All Contributors`](https://github.com/ghostwriter/coding-standard/contributors)
### Changelog
Please see [CHANGELOG.md](./CHANGELOG.md) for more information on what has changed recently.
### License
Please see [LICENSE](./LICENSE) for more information on the license that applies to this project.
### Security
Please see [SECURITY.md](./SECURITY.md) for more information on security disclosure process.