opositatest/report-bundle

此包已被废弃,不再维护。未建议替代包。

用于显示Sylius电商项目的统计数据集合

安装: 547

依赖: 0

建议者: 0

安全性: 0

星标: 5

关注者: 12

分支: 0

公开问题: 0

类型:symfony-bundle

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

This package is auto-updated.

Last update: 2024-08-29 04:09:13 UTC


README

用于显示Sylius电商项目的统计数据集合。

安装

步骤1:安装Sylius 1.0

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

步骤2:通过composer安装包

将以下行手动添加到 composer.json 文件中

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

步骤3:启用包

在kernel中启用包

<?php
// app/AppKernel.php

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

步骤4:导入路由

在app/config/routing.yml中添加路由

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

现在,转到管理员的报告菜单,您可以选择一些新闻数据抓取器。

MIT许可证

许可证可以在此处找到。

作者

此包最初由Odiseo Team为OpositaTest创建。