https://github.com/qltysh/example-php
Qlty PHP Coverage Example (Laravel)
https://github.com/qltysh/example-php
Last synced: 3 months ago
JSON representation
Qlty PHP Coverage Example (Laravel)
- Host: GitHub
- URL: https://github.com/qltysh/example-php
- Owner: qltysh
- License: mit
- Created: 2024-03-07T15:06:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-20T21:03:36.000Z (about 1 year ago)
- Last Synced: 2025-04-13T13:13:37.944Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Qlty PHP Coverage Example
[Qlty](https://example.com) is a Code Health Platform with support for code coverage.
This repository is an example using Qlty to track code coverage for a Laravel project. Coverage data is generated during test suite run and then uploaded to Qlty.
This repository uses [PHPUnit](https://phpunit.de/index.html) for testing and generating coverage report.
## Requirements
- [PHP](https://www.php.net/) version 8.x or above
- [Composer](https://getcomposer.org/) 2.7.x or above
- [Laravel](https://laravel.com/) 9.x or above
- [PHPUnit](https://phpunit.de/index.html) 10.x or above
- [Pcov](https://github.com/krakjoe/pcov) 1.0.11 or above
- Run tests with `vendor/bin/phpunit`
- An account on [Qlty Cloud](https://qlty.sh) (free)
> [!NOTE]
>
> This repository is using GitHub's OpenID Connect (OIDC) to authenticate the coverage upload with Qlty Cloud instead of storing a coverage token as a GitHub Actions secret.
## Set up
See [`.github/workflows/main.yml`](./.github/workflows/main.yml) in this repository for a basic configuration.
## Documentation
- [Advanced code coverage configuration](https://example.com)
- [Alternative supported CI providers](https://example.com)
## Help and feedback
Join the our [Slack Community](https://example.com) for help and to provide feedback that we'll use to improve Qlty.
## License
[MIT License](./LICENSE.md)