Download the PHP package javer/influxdb-admin-bundle without Composer
On this page you can find all versions of the php package javer/influxdb-admin-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package influxdb-admin-bundle
JaverInfluxDBAdminBundle
This bundle integrates the InfluxDB Object Document Mapper (ODM) library into SonataAdminBundle so that you can persist and retrieve objects to and from InfluxDB.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Configuration
Full configuration options:
Admin class definition
Example of CpuLoadAdmin
definition:
Please note that you must use influxdb
as manager_type
to work with InfluxDB measurement class.
Pager pager_type
can be either default
or simple
.
Example of CpuLoad
measurement class:
Example of CpuLoadAdmin
class:
Please note that you must explicitly implement generateBaseRouteName()
and generateBaseRoutePattern()
because they results cannot detected automatically from the measurement class name.
List field definition
These fields are used to display the information inside the list table.
Example
Available types
The most important option for each field is the type
. The available types include:
- datetime (
FieldDescriptionInterface::TYPE_DATETIME
) - boolean (
FieldDescriptionInterface::TYPE_BOOLEAN
) - integer (
FieldDescriptionInterface::TYPE_INTEGER
) - float (
FieldDescriptionInterface::TYPE_FLOAT
) - string (
FieldDescriptionInterface::TYPE_STRING
)
If no type is set, the Admin
class will use the type defined in the doctrine mapping definition.
Filter field definition
These fields are displayed inside the filter box. They allow you to filter the list of entities by a number of different methods.
Example
Available types
The most important option for each filter is the type
. The available types from namespace Javer\InfluxDB\AdminBundle\Filter
are:
- BooleanFilter
- NumberFilter
- StringFilter
- ChoiceFilter
- CallbackFilter
- DateFilter
- DateTimeFilter
- DateRangeFilter
- DateTimeRangeFilter
Form field definition
These fields are used to edit data on the edit page.
Example
Available types
- checkbox
- integer
- text
- choice
- datetime
If no type is set, the Admin
class will use the one set in the doctrine mapping definition.
InfluxDB Proxy Query
The ProxyQuery
object is used to add missing features from the original Doctrine Query builder:
All versions of influxdb-admin-bundle with dependencies
javer/influxdb-odm Version ^1.0.4
javer/influxdb-odm-bundle Version ^1.0
sonata-project/admin-bundle Version ^4.17
sonata-project/form-extensions Version ^1.15 || ^2.0
symfony/config Version ^5.4 || ^6.0 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0
symfony/form Version ^5.4 || ^6.0 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.0 || ^7.0
symfony/yaml Version ^5.4 || ^6.0 || ^7.0