PHPackages                             ritik/dynamicgraphs - 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. ritik/dynamicgraphs

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

ritik/dynamicgraphs
===================

023PHP

Since Feb 2Pushed 7y agoCompare

[ Source](https://github.com/ritik118/graphics)[ Packagist](https://packagist.org/packages/ritik/dynamicgraphs)[ RSS](/packages/ritik-dynamicgraphs/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Dynamic Graphs for radio groups
===============================

[](#dynamic-graphs-for-radio-groups)

A laravel package to analyze json form for radio groups , analyze the data through various graphs like piechart,barchart,columnchart,linechart also write a comment for particular question and download the graph with the comment for reports.

**NOTE -** You should make a `virtual host` and run command `php artisan make:auth` before installing this package.

Installation
============

[](#installation)

You can install the package using composer

```
composer require ritik/dynamicgraphs

```

Publish the configurations

```
php artisan vendor:publish --provider="ritik\dynamicgraphs\DynamicGraphsServiceProvider"

```

Import the table using `php artisan migrate` command

**NOTE -** If you want to store your form in json format than replace the file `rawdata.json` from `storage\json` folder with your json file but with the same name as `rawdata.json`

**Example format for JSON form-**[rawdata.json](https://github.com/ritik118/graphcheck/blob/develop/src/storage/json/rawdata.json)

Storing data from json file into database for question and option table
-----------------------------------------------------------------------

[](#storing-data-from-json-file-into-database-for-question-and-option-table)

In your browser run the URL

```
your_virtual_host_name/store

```

To view the questions on which you can render graphs
----------------------------------------------------

[](#to-view-the-questions-on-which-you-can-render-graphs)

In your browser run the URL

```
your_virtual_host_name/questiontable

```

To view the options of the above questions
------------------------------------------

[](#to-view-the-options-of-the-above-questions)

In your browser run the URL

```
your_virtual_host_name/optiontable

```

Run the command `composer dump-autoload`

**Note-** Now store the answers in `answers` table to generate graph of data or run command `php artisan db:seed --class=answersTableSeeder` to store data of 10 users. Run `db:seed` command only for above `rawdata.json` file else store your own answers .

Setting up views
----------------

[](#setting-up-views)

To run the final project in your browser run the URL

```
your_virtual_host_name/printradio

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f817851532683a0151723a4f52abac06f2325381688a97576d3a733db9dadf7?d=identicon)[ritik118](/maintainers/ritik118)

---

Top Contributors

[![ritik118](https://avatars.githubusercontent.com/u/39779822?v=4)](https://github.com/ritik118 "ritik118 (37 commits)")

### Embed Badge

![Health badge](/badges/ritik-dynamicgraphs/health.svg)

```
[![Health](https://phpackages.com/badges/ritik-dynamicgraphs/health.svg)](https://phpackages.com/packages/ritik-dynamicgraphs)
```

###  Alternatives

[sylvainjule/footnotes

Footnotes plugin for Kirby 3, 4 and 5

582.7k](/packages/sylvainjule-footnotes)

PHPackages © 2026

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