brown298/reportbuilderbundle

Report builder

Installs: 1 885

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

v0.2.1 2015-11-01 11:08 UTC

This package is not auto-updated.

Last update: 2024-04-13 08:22:32 UTC


README

Build Status

This bundle adds a dynamic reporting engine to your Symfony2/Doctrine project

Install

Add the package brown298/reportbuilderbundle to your composer.json

{
    "require" : {
        "brown298/reportbuilderbundle": "dev-master"
    }
}

For more information about Composer, please visit http://getcomposer.org

Add the controllers to the router

#app/config/routing.yml
brown298_report_builder:
    resource: "@Brown298ReportBuilderBundle/Resources/config/routing.yml"
    prefix:   /

Create the doctrine tables:

app/console doctrine:schema:update --force

Configure

Add Brown298ReportBuilderBundle to your application kernel

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Brown298\ReportBuilderBundle\Brown298ReportBuilderBundle(),
        // ...
    );
}

Update Assetic Config

Add the report builder bundle to the assetic bundles

# Assetic Configuration
        assetic:
        bundles:        [ "Brown298ReportBuilderBundle" ]

Configure Options

# config.yml
brown298_report_builder:
    builder:
        system_reports: true      # enable/disable system reports - default: true
        shared_reports: true      # enable/disable report sharing - default: true
        metadata_type: annotation # annotation/yml; where the report options are stored - default: annotation
        security_type: null       # null/role/custom; determines the security structure - default: null
        base_entities:            # starting point for the report
            - 'Full Entity Name'