PHPackages                             frankfont/uf-sprinkle-account-graphs - 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. frankfont/uf-sprinkle-account-graphs

ActiveUserfrosting-sprinkle[Utility &amp; Helpers](/categories/utility)

frankfont/uf-sprinkle-account-graphs
====================================

Visual charts of UserFrosting account information

v0.1.0-beta(5y ago)7256[1 issues](https://github.com/frankfont/uf-sprinkle-account-graphs/issues)MITJavaScriptPHP &gt;=7.0.0

Since Nov 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/frankfont/uf-sprinkle-account-graphs)[ Packagist](https://packagist.org/packages/frankfont/uf-sprinkle-account-graphs)[ RSS](/packages/frankfont-uf-sprinkle-account-graphs/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (8)Used By (0)

uf-sprinkle-account-graphs
==========================

[](#uf-sprinkle-account-graphs)

This is a custom sprinkle for the [UserFrosting](https://www.userfrosting.com/ "UserFrosting Website") framework to show visual charts of account information. (A "sprinkle" is a UserFrosting plugin/module.)

This sprinkle adds bar and pie charts into the standard UserFrosting administration screens. The charts show up automatically when you click on any of the following administration options from the left navigation area:

- Users
- Activities
- Roles
- Permissions
- Groups

There are several chart options displayed near the top of each page next to the label "Chart Options" as shown in the partial screenshot below. (The "none" option has been selected.) [![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-users-none.png "Example Chart Options")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-users-none.png)

Sample Screenshots
------------------

[](#sample-screenshots)

Users Bar Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-users-bar.png "Example Bar Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-users-bar.png)

Users Pie Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-users-pie.png "Example Pie Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-users-pie.png)

Activities Bar Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-activities-bar-7.png "Example 7 Day Bar Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-activities-bar-7.png)

Roles Bar Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-roles-bar.png "Example Bar Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-roles-bar.png)

Permissions Bar Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-permissions-bar.png "Example Bar Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-permissions-bar.png)

Groups Bar Chart:[![alt text](https://github.com/frankfont/uf-sprinkle-account-graphs/raw/master/docs/images/screenshots/s-groups-bar.png "Example Bar Chart")](https://github.com/frankfont/uf-sprinkle-account-graphs/blob/master/docs/images/screenshots/s-groups-bar.png)

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

[](#installation)

This sprinkle does not modify your database and can simply be installed by adding a dependency declaration into your [app/sprinkles.json](https://learn.userfrosting.com/sprinkles/community "UserFrosting Sprinkle Documentation") in the standard UserFrosting recommended manner.

### What to add into your sprinkles.json file

[](#what-to-add-into-your-sprinklesjson-file)

The example app/sprinkles.json file shown here adds this sprinkle into the require section and then declares it at the bottom of the base section too.

```
{
    "require": {
        "frankfont/uf-sprinkle-account-graphs" : ">=0.0"
    },
    "base": [
        "core",
        "account",
        "admin",
        "uf-sprinkle-account-graphs"
    ]
}
```

### Important Step: Apply your sprinkles.json File Updates

[](#important-step-apply-your-sprinklesjson-file-updates)

The sprinkle is downloaded and installed when you run the following command from your UserFrosting docroot:

```
composer update

```

After the update, you probably also need to run this UserFrosting command so that the assets get deployed ...

```
php bakery build-assets

```

Standard Configurations
-----------------------

[](#standard-configurations)

The *default.php* declares the default chart shown for each page. You can override these values with a app/.env file or by overriding the default.php entries in code. The values for the app/.env are as follows:

### app/.env example override entries

[](#appenv-example-override-entries)

#### Declare type of chart (none, bar, pie)

[](#declare-type-of-chart-none-bar-pie)

SPRINKLE.ACCOUNT\_GRAPHS.USERS.DEFAULT.TYPENAME=bar SPRINKLE.ACCOUNT\_GRAPHS.ACTIVITIES.DEFAULT.TYPENAME=bar SPRINKLE.ACCOUNT\_GRAPHS.ROLES.DEFAULT.TYPENAME=bar SPRINKLE.ACCOUNT\_GRAPHS.PERMISSIONS.DEFAULT.TYPENAME=bar SPRINKLE.ACCOUNT\_GRAPHS.GROUPS.DEFAULT.TYPENAME=bar

#### Declare alpha values for color palette \[&gt;0,&lt;=1\]

[](#declare-alpha-values-for-color-palette-01)

SPRINKLE.ACCOUNT\_GRAPHS.COLORS.DEFAULT.FILL.LIGHT\_ALPHA=.2 SPRINKLE.ACCOUNT\_GRAPHS.COLORS.DEFAULT.FILL.MEDIUM\_ALPHA=.5

In the example above, if you replace bar with none, then by default no chart is displayed.

Additional Pages
----------------

[](#additional-pages)

This sprinkle also makes available full size charts at the following URLs of your site.

- /graph/group/memberships
- /graph/role/memberships
- /graph/permission/memberships
- /graph/activity/view
- /graph/users/view

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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 ~187 days

Total

4

Last Release

2149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3124de55debd0c485ee5c18463e247f031f1cb223bfdf9cd24f3efa92b13d00?d=identicon)[frankfont](/maintainers/frankfont)

---

Top Contributors

[![frankfont](https://avatars.githubusercontent.com/u/7102352?v=4)](https://github.com/frankfont "frankfont (33 commits)")[![silvioq](https://avatars.githubusercontent.com/u/155036?v=4)](https://github.com/silvioq "silvioq (1 commits)")

---

Tags

chartsjsuserfrostinguserfrosting-sprinklephpjavascriptchartsuserfrostingSprinkle

### Embed Badge

![Health badge](/badges/frankfont-uf-sprinkle-account-graphs/health.svg)

```
[![Health](https://phpackages.com/badges/frankfont-uf-sprinkle-account-graphs/health.svg)](https://phpackages.com/packages/frankfont-uf-sprinkle-account-graphs)
```

###  Alternatives

[ghunti/highcharts-php

A php wrapper for highcharts and highstock javascript libraries

3772.3M5](/packages/ghunti-highcharts-php)[hisune/echarts-php

A php wrapper for echarts javascript libraries

327201.9k5](/packages/hisune-echarts-php)

PHPackages © 2026

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