Download the PHP package networkrailbusinesssystems/badges without Composer
On this page you can find all versions of the php package networkrailbusinesssystems/badges. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download networkrailbusinesssystems/badges
More information about networkrailbusinesssystems/badges
Files in networkrailbusinesssystems/badges
Download networkrailbusinesssystems/badges
More information about networkrailbusinesssystems/badges
Files in networkrailbusinesssystems/badges
Vendor networkrailbusinesssystems
Package badges
Short Description Generate readme badges during your pre-push
License MIT
Package badges
Short Description Generate readme badges during your pre-push
License MIT
Please rate this library. Is it a good library?
Informations about the package badges
Readme Badges Generator
Generate badges as part of your pre-push hooks!
Installation
-
Add
networkrailbusinesssystems/badges
to your Composer dev dependencies -
Ensure that PHPUnit outputs logs and coverage with the following settings:
-
Add the following commands to the pre-push hook:
- Add the following lines to
readme.md
, excluding badges as required:
Debug driver
You must have either xdebug or PCOV installed to run coverage checks, and enable the coverage mode.
PCOV is generally newer and faster than XDebug, however it may not be as accurate.
XDebug
sudo apt install php-xdebug
- Add the following to the end of your
php.ini
:
PCOV
sudo apt install php8.2-dev
sudo apt install php-pear
sudo pecl install pcov
- Add the following to the end of your
php.ini
:
Usage
- Run
git push
as normal - The pre-push hooks will fire, running your tests and coverage
- The badges will automatically generate, update, and be added to the commit
All versions of badges with dependencies
PHP Build Version
Package Version
No informations.
The package networkrailbusinesssystems/badges contains the following files
Loading the files please wait ....