Skip to content
/ example-php Public template

Qlty PHP Coverage Example (Laravel)

License

Notifications You must be signed in to change notification settings

qltysh/example-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
Nov 18, 2024
Nov 20, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 13, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 13, 2024
Mar 12, 2024

Repository files navigation

Qlty PHP Coverage Example

Qlty 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 for testing and generating coverage report.

Requirements

  • PHP version 8.x or above
  • Composer 2.7.x or above
  • Laravel 9.x or above
  • PHPUnit 10.x or above
  • Pcov 1.0.11 or above
  • Run tests with vendor/bin/phpunit
  • An account on Qlty (free for open source)
  • QLTY_COVERAGE_TOKEN is set as a GitHub Actions repository secret

Set up

See .github/workflows/main.yml in this repository for a basic configuration.

Documentation

Help and feedback

Join the our Slack Community for help and to provide feedback that we'll use to improve Qlty.

License

MIT License