mwsimple / bamboo
Bamboo, an e-commerce suite built with Elcodi
Requires
- php: ^5.4|^7.0
- ext-bcmath: *
- ext-openssl: *
- acasademont/i18n-routing-bundle: 2.0.0
- doctrine/annotations: ^1.2
- doctrine/common: ^2.5
- doctrine/dbal: ^2.5
- doctrine/doctrine-bundle: ^1.5.0
- doctrine/doctrine-fixtures-bundle: ^2.2
- doctrine/doctrine-migrations-bundle: ^1.0
- doctrine/orm: ^2.5
- guzzlehttp/guzzle: ^5.2
- hwi/oauth-bundle: ^0.4.0
- incenteev/composer-parameter-handler: ^2.0
- jms/aop-bundle: ^1.0
- jms/serializer-bundle: ^0.13.0
- knplabs/knp-gaufrette-bundle: ^0.3.0
- mmoreram/cache-flush-bundle: ^0.2
- mmoreram/controller-extra-bundle: ^1.2.1
- mmoreram/extractor: ^1.2
- mmoreram/http-headers-bundle: 1.0.0
- mmoreram/symfony-bundle-dependencies: ^1.1.1
- mwsimple/elcodi: ^2.0.2
- ocramius/proxy-manager: ^1.0
- ornicar/gravatar-bundle: 1.1.3
- paymentsuite/paymentsuite: ^2.0.3
- predis/predis: ^1.0.1
- sensio/distribution-bundle: ^3.0
- sensio/framework-extra-bundle: ^3.0
- snc/redis-bundle: ^1.1.9
- symfony/assetic-bundle: ^2.7|^3.0
- symfony/monolog-bundle: ^2.7|^3.0
- symfony/swiftmailer-bundle: ^2.3.8|^3.0
- symfony/symfony: ~2.7.0
- twig/extensions: ^1.0
- twig/twig: ^1.23
Requires (Dev)
- behat/behat: ^3.0
- behat/mink: ^1.6
- behat/mink-browserkit-driver: ^1.2
- behat/mink-extension: ^2.0.1
- behat/mink-selenium2-driver: ^1.2
- behat/symfony2-extension: ^2.0
- doctrine/data-fixtures: ^1.1
- fabpot/php-cs-fixer: 1.4.2
- mmoreram/php-formatter: 1.1.0
- mmoreram/translation-server: ^1.0.1
- phpunit/phpunit: 4.8.19
- visithor/visithor-bundle: ^0.2.0
Suggests
- ext-redis: If doctrine cache works on top of redis
Replaces
- elcodi-plugin/custom-shipping: v2.0.1
- elcodi-plugin/disqus: v2.0.1
- elcodi-plugin/facebook: v2.0.1
- elcodi-plugin/free-payment: v2.0.1
- elcodi-plugin/google-analytics: v2.0.1
- elcodi-plugin/paypal-web-checkout: v2.0.1
- elcodi-plugin/pinterest: v2.0.1
- elcodi-plugin/product-csv: v2.0.1
- elcodi-plugin/store-setup-wizard: v2.0.1
- elcodi-plugin/stripe: v2.0.1
- elcodi-plugin/twitter: v2.0.1
- elcodi-templates/store-template-bundle: v2.0.1
- elcodi-templates/template: v2.0.1
- dev-master
- v2.0.1
- v2.0.0
- 1.0.x-dev
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta3
- v1.0.0-beta2
- v1.0.0-beta1
- v0.5.18
- v0.5.17
- v0.5.15
- v0.5.14
- v0.5.13
- v0.5.12
- v0.5.11
- v0.5.10
- v0.5.8
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.18
- v0.4.17
- v0.4.16
- v0.4.15
- 0.4.14
- v0.4.13
- v0.4.12
- v0.4.11
- v0.4.10
- v0.4.9
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- dev-mws_althos
- dev-feature/new-purchasable-architecture-and-packs
- dev-feature/api-component
- dev-feature/template-converter
This package is auto-updated.
Last update: 2024-11-10 12:31:16 UTC
README
Welcome to Bamboo e-commerce - a fully-functional e-commerce application built using Elcodi components on top of the Symfony framework.
Yes, you got it right! Bamboo uses the Symfony framework but our components are framework agnostic, that is, they only depend on the Symfony components as opposed to the whole framework or any of its distributions.
Why should I use Bamboo? That's simple, to sell your products. We provide you with an interface to sell your products and manage your store. You only have to focus on offering a good product, we take care of the rest.
Elcodi was awarded as the Best Open Source project of 2015 by the Symfony Community awards.
Requirements
We're trying to build this project with a light default dependencies. These are ours.
PHP
To use Bamboo and Elcodi you need a PHP version not lower than 5.4. For more info just visit their installation page
PHP GD
This PHP extension is used to being already installed when you add PHP in your distribution
Images are a really important part of an store. Bamboo uses PHP GD to resize and optimize all product images. For more info just visit their installation page
After that, you will be able to change the adapter and use other implementations.
MySQL
And, where do you save your data? By default we use MySQL, remember to install it as well as its extension for PHP. For more info just visit their installation page
Composer
Composer is required to manage dependencies.
if you have not yet installed Composer, download it following the instructions on http://getcomposer.org/ or just run the following command:
$ curl -s http://getcomposer.org/installer | php
Installation
If you're used to working with LAMP environment, then you will have Bamboo running in your computer in less than 5 minutes.
1. Install the project
After installing composer you can create your new Bamboo project.
$ php composer.phar create-project mwsimple/bamboo bamboo -sdev
Update
$ cd bamboo
$ php composer.phar update
The installation process will ask you for some parameters like the database driver, username, password, database name, etc
Enter your directory to start the configuration step and use our magic command to create a complete development environment. Just one single line to rule them all
$ cd bamboo/
$ php app/console elcodi:install
By default only Spain will be installed. We have focused this step to run as
fast as possible, so then, you'll be able to install more countries. You can add
some countries in addition by using the --country
command option.
$ php app/console elcodi:install --country=FR --country=IT
2. Run the server
Our store is ready to run. Use the built-in server to take a look at the project.
$ php app/console server:run
3. Visit your store
You're done! Visit http://localhost:8000
in your browser and take a look at
what we have for you :) Use these Customer credentials in the store
Customer username: customer@customer.com
Customer password: 1234
And for the admin panel, use this Admin credentials.
Admin username: admin@admin.com
Admin password: 1234
Remember to remove these users properly as soon as you're in production.
Metrics
Metrics are not enabled by default. If you want to enable them, then you need to install Redis. For more info just visit their installation page
In order to use the last Redis features, like the HyperLogLog
commands, be
sure your Redis version is at least v2.8.9
.
Cache
By default, Bamboo is installed without any doctrine cache. You can change this
settings by changing the file app/cache/config/common/cache.yml
and by
changing the value array
for another one.
You can check some documentation about different types of cache in the Doctrine Cache Bundle repository page.
The most used cache type in Bamboo is redis
. Make sure then that you have the
php redis extension installed properly.
Tests
We are doing some tests, and this will be in cresciendo. You can ensure yourself that all the cases we've been working on are actually green. We are using Behat and PHPUnit, so you only need to execute all suites by using this piece of code.
$ php bin/behat $ php bin/phpunit -c app $ php app/console visithor:go --format=pretty --env=test
Issues
You can report any issue on Bamboo or Elcodi
Need help
If you need any help with the installation or understanding elcodi or bamboo you can contact us on gitter. We will be glad to help you, just ask for help.