opositatest / report-bundle
此包已被废弃,不再维护。未建议替代包。
用于显示Sylius电商项目的统计数据集合
v1.0.0
2017-09-18 16:04 UTC
Requires
- php: ^7.1
- odiseoteam/odiseo-util-bundle: ^1.0
- odiseoteam/sylius-report-bundle: ^1.0
- sylius/sylius: ^1.0
Requires (Dev)
- phpspec/phpspec: ^3.0
- symfony/form: ^3.2
- symfony/validator: ^3.2
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创建。