vespolina / commerce-bundle
Vespolina Commerce bundle. Integrates vespolina libraries with Symfony2
Installs: 2 337
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 6
Forks: 6
Open Issues: 5
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.4.0
- friendsofsymfony/jsrouting-bundle: *
- friendsofsymfony/rest-bundle: *
- omnipay/omnipay: 1.1.*
- sp/bower-bundle: *
- symfony/symfony: >=2.1
- vespolina/action: *
- vespolina/commerce: dev-master
- vespolina/taxonomy: dev-master
Requires (Dev)
- phpspec/phpspec: dev-master
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-10-18 21:02:53 UTC
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: /