QCharts is a powerful visual aid and a very handy tool to use when querying a lot of data from a database and sharing them between your team.
composer require arnulfosolis/qcharts @dev
composer install
Add the Bundles to the AppKernel.
QCharts\CoreBundle\CoreBundleQCharts\FrontendBundle\FrontendBundleQCharts\ApiBundle\ApiBundle
QCharts\DevApiBundle\DevApiBundle
instead.QCharts needs some configuration in the target project prior to the execution,
please refer to the CONFIG_README.md file under QCharts directory for a more in-depth installation guide.
#app/config/config.yml
#A minimum configuration of QCharts
qcharts:
urls:
limits:
paths:
roles:
charts:
Resolve QChart's User Interface on orm's definition to your User Class.
CONFIG_README.md file for further details.resolve_target_entitiesQCharts requires access to your target's database, since QCharts requires persisting information, so:
php app/console doctrine:database:create
php app/console doctrine:schema:update --force
FrontendBundle in Assetic's Configuration.php app/console assetic:dump
CoreBundle, which comes with all the important services needed to get your data formatted.ApiBundle that handles the QChart's API.
DevApiBundle, you'll benefit of Nelmio's
ApiDoc implementation (read DevApiBundle README for more information)
under the route /api/doc.FrontendBundle./query/register.
admin.
CONFIG_README.md file in the source
directory of QCharts.How can I help you explore Laravel packages today?