2017 © Pedro Peláez
 

symfony-bundle reportbuilderbundle

Report builder

image

brown298/reportbuilderbundle

Report builder

  • Tuesday, November 3, 2015
  • by johnbrown
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,508 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Symfony2/Doctrine2 Adhoc Report Builder Bundle

Build Status, (*1)

This bundle adds a dynamic reporting engine to your Symfony2/Doctrine project, (*2)

Install

Add the package brown298/reportbuilderbundle to your composer.json, (*3)

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

For more information about Composer, please visit http://getcomposer.org, (*4)

Add the controllers to the router, (*5)

#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, (*6)

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

Update Assetic Config

Add the report builder bundle to the assetic bundles, (*7)

# 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'

The Versions