Skip to content

Commit 28f4707

Browse files
committed
Add sonarcloud badges and update style
1 parent 94ecc7a commit 28f4707

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

README.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# phpcfdi/credentials
22

33
[![Source Code][badge-source]][source]
4+
[![Packagist PHP Version Support][badge-php-version]][php-version]
5+
[![Discord][badge-discord]][discord]
46
[![Latest Version][badge-release]][release]
57
[![Software License][badge-license]][license]
68
[![Build Status][badge-build]][build]
7-
[![Scrutinizer][badge-quality]][quality]
8-
[![Coverage Status][badge-coverage]][coverage]
9+
[![Reliability][badge-reliability]][reliability]
10+
[![Maintainability][badge-maintainability]][maintainability]
11+
[![Code Coverage][badge-coverage]][coverage]
12+
[![Violations][badge-violations]][violations]
913
[![Total Downloads][badge-downloads]][downloads]
1014

1115
> Library to use eFirma (fiel) and CSD (sellos) from SAT
@@ -138,17 +142,25 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
138142
[todo]: https://github.com/phpcfdi/credentials/blob/main/docs/TODO.md
139143

140144
[source]: https://github.com/phpcfdi/credentials
145+
[php-version]: https://packagist.org/packages/phpcfdi/credentials
146+
[discord]: https://discord.gg/aFGYXvX
141147
[release]: https://github.com/phpcfdi/credentials/releases
142148
[license]: https://github.com/phpcfdi/credentials/blob/main/LICENSE
143149
[build]: https://github.com/phpcfdi/credentials/actions/workflows/build.yml?query=branch:main
144-
[quality]: https://scrutinizer-ci.com/g/phpcfdi/credentials/
145-
[coverage]: https://scrutinizer-ci.com/g/phpcfdi/credentials/code-structure/main/code-coverage
150+
[reliability]:https://sonarcloud.io/component_measures?id=phpcfdi_credentials&metric=Reliability
151+
[maintainability]: https://sonarcloud.io/component_measures?id=phpcfdi_credentials&metric=Maintainability
152+
[coverage]: https://sonarcloud.io/component_measures?id=phpcfdi_credentials&metric=Coverage
153+
[violations]: https://sonarcloud.io/project/issues?id=phpcfdi_credentials&resolved=false
146154
[downloads]: https://packagist.org/packages/phpcfdi/credentials
147155

148-
[badge-source]: https://img.shields.io/badge/source-phpcfdi/credentials-blue?style=flat-square
149-
[badge-release]: https://img.shields.io/github/release/phpcfdi/credentials?style=flat-square
150-
[badge-license]: https://img.shields.io/github/license/phpcfdi/credentials?style=flat-square
156+
[badge-source]: https://img.shields.io/badge/source-phpcfdi/cfdi--sat--scraper-blue?logo=github
157+
[badge-discord]: https://img.shields.io/discord/459860554090283019?logo=discord
158+
[badge-php-version]: https://img.shields.io/packagist/php-v/phpcfdi/credentials?logo=php
159+
[badge-release]: https://img.shields.io/github/release/phpcfdi/credentials?logo=git
160+
[badge-license]: https://img.shields.io/github/license/phpcfdi/credentials?logo=open-source-initiative
151161
[badge-build]: https://img.shields.io/github/workflow/status/phpcfdi/credentials/build/main?style=flat-square
152-
[badge-quality]: https://img.shields.io/scrutinizer/g/phpcfdi/credentials/main?style=flat-square
153-
[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/phpcfdi/credentials/main?style=flat-square
154-
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/credentials?style=flat-square
162+
[badge-reliability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_credentials&metric=reliability_rating
163+
[badge-maintainability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_credentials&metric=sqale_rating
164+
[badge-coverage]: https://img.shields.io/sonar/coverage/phpcfdi_credentials/main?logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
165+
[badge-violations]: https://img.shields.io/sonar/violations/phpcfdi_credentials/main?format=long&logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
166+
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/credentials?logo=packagist

0 commit comments

Comments
 (0)