The Wix framework bundle provides an easy, powerful way to develop power Wix application for the Wix.com HTML5 editor using the Symfony2 framework.
Installing the Wix framework bundle is easy and can be achieved using composer.
For including WixFrameworkBundle as dependancy for your Symfony2 application just add the following row to your composer.json (within Symfony2 application root) file:
"require": {
"wix/framework-bundle": "dev-master"
}
Then, run composer:
composer.phar update wix/framework-bundle
Add the following lines to app/AppKernel.php
$bundles = array(
...
new Wix\FrameworkBundle\WixFrameworkBundle(),
...
);
Add you Wix app keys (You can get them by Creating Wix app via Wix Dev Center to config.yml :
wix_framework:
keys:
application_key: 238cmkd-asdk292-832d-sa33-489aklsd9393
application_secret: 238cmkd-asdk292-832d-sa33-489aklsd9393