vespolina/commerce-bundle
Composer 安装命令:
composer require vespolina/commerce-bundle
包简介
Vespolina Commerce bundle. Integrates vespolina libraries with Symfony2
README 文档
README
Vespolina Ecommerce integration with Symfony2
The admin page has javascript dependencies that can be handled by bower using the SpBowerBundle. If you don't have bower installed, you can install it using npm
$ npm install -g bower
1) Install VespolinaCommerceBundle
Install using composer.phar or composer binary:
$ php composer.phar require vespolina/commerce-bundle dev-master
2) Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FOS\RestBundle\FOSRestBundle(), new Sp\BowerBundle\SpBowerBundle(), new Vespolina\CommerceBundle\VespolinaCommerceBundle(), ); }
3) Required configuration:
# app/config/config.yml sp_bower: bundles: VespolinaCommerceBundle: ~ vespolina_commerce: db_driver: mongodb # mongodb or orm
4) Routing options
# app/config/routing.yml vespolina_admin: resource: "@VespolinaCommerceBundle/Resources/config/routing/admin.yml" prefix: /admin/ vespolina_commerce_checkout: resource: "@VespolinaCommerceBundle/Resources/config/routing/checkout.xml" prefix: / vespolina_commerce_cart: resource: "@VespolinaCommerceBundle/Resources/config/routing/cart.xml" prefix: / vespolina_commerce_product: resource: "@VespolinaCommerceBundle/Resources/config/routing/product.xml" prefix: / vespolina_taxonomy: resource: "@VespolinaCommerceBundle/Resources/config/routing/taxonomy.xml" prefix: /
统计信息
- 总下载量: 2.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-07-16