Download the PHP package nova-bi/nova-databoards without Composer

On this page you can find all versions of the php package nova-bi/nova-databoards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-databoards

This package has been replaced by https://github.com/Nova-BI/nova-dashboard-manager

Nova Databoards

Provides ready-to-use Analytics Databoards for Laravel Nova

Seperation of metric calculation and visualisation

The Nova-Databoards metric classes are the container for all metric calculations. The calculations are adoptable to the supported visualisations, so e.g. within a Users-metric you can calculate e.g. the total number of users for a Value-Visualisation or provide Trend-Data for a Trend-Visualisation.

configurable and re-usable

With custom configurations you can make your Boards, Metrics, Filters and Visualisations re-usable - check out nova-bi/nova-databoards/src/Models/Datametricables/users.php how to use the same metric to show the number of total users and users with verified email.

Thanks to laravel-schemaless-attributes you can add configuration options to your boards, metrics, filters and visualisations without changing the database schema.

filterable and dynamic

By adding the Trait nova-bi/nova-databoards/src/Traits/DynamicMetricsTrait.php the Nova-Metrics (or any custom metric card) become attributable.

Thumbs up to Muzaffer Dede for developing Nova Global Filter, which is essential for dynamic updates of the widgets on changing filters.

Introduction

Data visualisation is a common business requirement. The default Nova Metrics are providing a simple way to display certain data from your application.

However the approach to bake metric calculation and visualisation into one file causes limitations if you e.g. want to re-use a metric for segments.

With Nova Metric you would require 3 files to visualize 3 filtered segments of the same KPI e.g.

In Nova Databoard you would develop 1 filterable datametric with configuration options and different visualisations like Value, Trend, Partition or custom visuals.

Once the datametrics are developed you can configure unlimited widgets and assign them to unlimited databoards.

Databoards are filterable and dynamic - so when changing a filter the widgets are reloads with the new data.

Installation

Add the package using composer

composer require nova-bi/nova-databoards

run Migrations

php artisan migrate

Add to the tools()-method in your NovaServiceProvider.php like this:

Recommended: Publish Configuration File

php artisan vendor:publish --provider="NovaBI\NovaDataboards\NovaDataboardsServiceProvider" --tag="config"

with showToolMenu you can configure if you want to use the Tool Menu default Resource Listing. Set to false when using with Collapsible Resource Manager.

Optional: Publish Migrations

php artisan vendor:publish --provider="NovaBI\NovaDataboards\NovaDataboardsServiceProvider" --tag="migrations"

Playground

By default the Playground-Setup is configured, which will give you following basic metrics from you Nova installation:

Following visualisations are available (depending on the metric)

And these Filters are available.

Direct Access to Dashboards

The nice Collapsible Resource Manager package allows you to customize the menu structure.

With the following code the Databoards are directly accessible through the Menu (see know issues below - do you know how to solve this?)

Known issue

Extending

Concept

Separation of Metric Calculation and Visualisation

Nova Databoards follow the Nova concept of Resources to represent Models and are structured as following:

\Nova\Databoardables -> \Models\Databoardables

\Nova\Datafilterables -> \Models\Datafilterables

\Nova\Datametricables -> \Models\Datametricables

\Nova\Datavisualables -> \Models\Datavisualables

You can place your custom Resources and Models in any subdirectory. To make them available please register in the configuration file config/nova-databoards.php. Please follow the Playground examples within the vendor/nova-bi/nova-databoards/src/directory.

Roadmap

Open Development tasks on github

Known issues

Contributing

If you would like to contribute please fork the project and submit a PR.

Check out https://github.com/Nova-BI/nova-databoards/issues for open development tasks and issues.

Credits notice

This package is highly depending on following selection of packages from the huge range of excellent packages for laravel and nova.

License

This software is released under The MIT License (MIT).


All versions of nova-databoards with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nova-bi/nova-databoards contains the following files

Loading the files please wait ....