PHPackages                             processton-io/processton-stats-card - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. processton-io/processton-stats-card

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

processton-io/processton-stats-card
===================================

This package will generate stats card

1.1.0(1y ago)0441MITPHPPHP ^8.0|^8.1

Since May 20Pushed 1y agoCompare

[ Source](https://github.com/processton-io/processton-stats-card)[ Packagist](https://packagist.org/packages/processton-io/processton-stats-card)[ Docs](https://github.com/processton-io/processton-stats-card)[ RSS](/packages/processton-io-processton-stats-card/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (1)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4ac853c8d1632dc51105fe4c326c6c753d5357bbb55fe3c2dc73314437a721eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f63657373746f6e2d696f2f70726f63657373746f6e2d73746174732d636172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/processton-io/processton-stats-card)[![Total Downloads](https://camo.githubusercontent.com/077cdd87fd660d205a1fef842a7086c5d75ca4d7f55f163f5ce87e623e24e856/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f63657373746f6e2d696f2f70726f63657373746f6e2d73746174732d636172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/processton-io/processton-stats-card)[![GitHub Actions](https://github.com/processton-io/processton-stats-card/actions/workflows/main.yml/badge.svg)](https://github.com/processton-io/processton-stats-card/actions/workflows/main.yml/badge.svg)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require processton-io/processton-stats-card
```

Usage
-----

[](#usage)

### generateStatsCard

[](#generatestatscard)

```
ProcesstonStatsCard::generateStatsCard(
    $title,
    $value,
    $icon,
    $subTitle,
    $format,
    $attachments,
    $width,
    $name,
)
```

### generateStatsCardByURL

[](#generatestatscardbyurl)

```
ProcesstonStatsCard::generateStatsCardByURL(
    $dataSrc,
    $title,
    $subTitle,
    $attachments,
    $width,
    $name
);
```

### generateStatsCardData

[](#generatestatscarddata)

```
ProcesstonStatsCard::generateStatsCardData(
    $title,
    $value,
    $format,
    $icon,
    $subTitle
);
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ahmad Faryab Kokab](https://github.com/processton)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Total

2

Last Release

677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83275f3144d4cc4092e54dd8d5acf6a048536f6d7e454d741ae82a61f904c737?d=identicon)[ahmadkokab](/maintainers/ahmadkokab)

---

Top Contributors

[![afaryab](https://avatars.githubusercontent.com/u/68786248?v=4)](https://github.com/afaryab "afaryab (8 commits)")

---

Tags

processtonprocesston-ioprocesston-stats-card

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/processton-io-processton-stats-card/health.svg)

```
[![Health](https://phpackages.com/badges/processton-io-processton-stats-card/health.svg)](https://phpackages.com/packages/processton-io-processton-stats-card)
```

###  Alternatives

[prooph/event-sourcing

PHP EventSourcing library

267808.5k18](/packages/prooph-event-sourcing)[sybio/gif-frame-extractor

PHP class that separates all the frames (and their duration) of an animated GIF

179417.2k8](/packages/sybio-gif-frame-extractor)[dreamonkey/laravel-cloudfront-url-signer

Laravel 5.6+ wrapper around CloudFront canned signed URLs

54750.7k](/packages/dreamonkey-laravel-cloudfront-url-signer)[judev/php-htmltruncator

HTML Truncation library, ported from the html\_truncator rubygem

26286.5k6](/packages/judev-php-htmltruncator)[paulzi/yii2-sortable

Sortable Behavior for Yii2

15310.5k4](/packages/paulzi-yii2-sortable)[causal/extractor

This extension detects and extracts metadata (EXIF / IPTC / XMP / ...) from potentially thousand different file types (such as MS Word/Powerpoint/Excel documents, PDF and images) and bring them automatically and natively to TYPO3 when uploading assets. Works with built-in PHP functions but takes advantage of Apache Tika and other external tools for enhanced metadata extraction.

16244.5k](/packages/causal-extractor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
