brown298 / reportbuilderbundle
Report builder
v0.2.1
2015-11-01 11:08 UTC
Requires
- php: >=5.3.3
- brown298/data-tables-bundle: dev-master@dev
- psr/log: *
- symfony/symfony: >=2.2.0,!=2.5.2
- twig/twig: ~1.13@dev
Requires (Dev)
- brown298/test_extension: dev-master
- phake/phake: 2.0.*@dev
- phpunit/phpunit: ~3.7
This package is not auto-updated.
Last update: 2025-01-18 12:05:23 UTC
README
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'