phpcommerce / phpcommerce
PHPCommerce Core
dev-master
2016-04-11 15:24 UTC
Requires
- php: >=5.6.0
- ext-curl: *
- doctrine/common: ~2.5
- doctrine/dbal: ~2.5
- doctrine/doctrine-bundle: ~1.4
- doctrine/doctrine-cache-bundle: ~1.0
- doctrine/doctrine-migrations-bundle: 1.0.*
- doctrine/migrations: ~1
- doctrine/orm: ~2.5
- guzzlehttp/guzzle: ~6
- psr/log: 1.0.0
- sensio/distribution-bundle: ~3.0
- sensio/framework-extra-bundle: ~3.0.7
- symfony-cmf/routing-bundle: ~1.3.4
- symfony/monolog-bundle: ~2.4
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: ~2.6
Requires (Dev)
- phpunit/phpunit: ~4.6.7
This package is not auto-updated.
Last update: 2024-04-23 01:47:30 UTC
README
To get started add phpcommerce/phpcommerce
as a composer dependency and add the following bundles to your Symfony project:
Add to your AppKernel.php
:
public function registerBundles() { $bundles = array( //... new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new PHPCommerce\Bundle\PHPCommerceBundle() ); return $bundles; }
Add to your parameters.yml
:
parameters: php_commerce.root_dir: %kernel.root_dir%/../vendor/phpcommerce/phpcommerce php_commerce.database.driver: pdo_mysql php_commerce.database.host: 127.0.0.1 php_commerce.database.port: 3306 php_commerce.database.name: phpcommerce php_commerce.database.user: root php_commerce.database.password: root
Import routes in your routing.yml
:
# app/config/routing.yml phpcommerce: resource: '@PHPCommerceBundle/Resources/config/routing.yml' prefix: /