Download the PHP package calvient/arbol without Composer
On this page you can find all versions of the php package calvient/arbol. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package arbol
A simple data visualization tool for Laravel apps.
Arbol is a simple data visualization tool for Laravel applications built using
It allows customers to create their own reports, extracts, and simple dashboards.
This is a simple tool that solves 80% of a complex problem! So you may still want a paid data visualization tool. But if you need something simple, this might just be for you.
Installation
You can install the package via composer:
Publish all the assets with:
Run migrations with:
Core concepts
Arbol works by using these 4 concepts:
- Series
- Slices
- Filters
- Formats
Series
A series is the raw data set that a user can interact with. For example, you might have a series for "Podcast Streams" -- which contains data from one or more sources. The only catch is it must return the data in a 2-dimensional table.
Slices
A slice is a way to group data. You might want to view "Podcast Streams" by state, for instance.
Filters
A filter is set of filters applied to your data that you define. For example, a user may only care to see "Podcast Streams" for the last week.
Quick Start
Install the package
composer require calvient/arbol
Publish the package assets and run migrations
php artisan vendor:publish --provider='Calvient\Arbol\ArbolServiceProvider'
php artisan migrate
Publish the package assets after each update
Add the following to composer.json under the "scripts" -> "post-update-cmd" key:
Make configurations
We assume your User model is App\Models\User
. If not, you can override it in the arbol.php config file.
Because Arbol can assign reports to users, you may also want to further limit which users Arbol can see. You can add a scope like the following to User.php.
Create a New Series
php artisan make:arbol-series PodcastStreams
Add Data and Configuration
Example:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Jonathan Minson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.