opositatest/report-bundle

Bundle to show statistics over a project ecommerce with sylius

Installs: 491

Dependents: 0

Suggesters: 0

Stars: 5

Watchers: 5

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.0.0 2017-09-18 16:04 UTC

README

Bundle to show statistics over a project ecommerce with Sylius.

Installation

Step 1: Install Sylius 1.0

$ wget http://getcomposer.org/composer.phar
$ php composer.phar create-project sylius/sylius-standard path/to/install
$ cd path/to/install
$ php app/console sylius:install

Step 2: Install the bundle via composer

Add manually the following line to the composer.json file:

{
    "require": {
        // ...
        "opositatest/report-bundle": "^1.0"
    }
}

Step 3: Enable the bundle

Enable the bundles in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new \Sylius\Bundle\ReportBundle\SyliusReportBundle(),
        new \Opos\Bundle\ReportBundle\OposReportBundle(),
    );
}

Step 4: Import routing

Add the routes on app/config/routing.yml:

sylius_admin_report:
    resource: "@SyliusReportBundle/Resources/config/routing.yml"
    prefix: /admin

Now, go to the Report menu in the admin and you can choose some news Data Fetchers.

MIT License

License can be found here.

Authors

The bundle was originally created by Odiseo Team for OpositaTest.