Affiliate bundle for Sylius.
- require the bundle with Composer:
$ composer require pentarim/sylius-affiliate-bundle
- enable the bundle in
app/AppKernel.php
:
public function registerBundles()
{
$bundles = array(
// ...
new \Pentarim\SyliusAffiliateBundle\SyliusAffiliateBundle(),
// ...
);
}
- register routes in
app/config/routing.yml
sylius_affiliate:
resource: "@SyliusAffiliateBundle/Resources/config/routing/main.yml"
- To create database tables and RBAC permissions run the following command:
$ app/console sylius:affiliate:install
There are "--skip-permissions" and "--skip-database" options for this command please check the help page for details
- Create menu entries for frontend and backend
TBC
TBC, for now please check Pentarim/SyliusAffiliateBundle/DependencyInjection/Configuration.php
Releases will be numbered with the format major.minor.patch
.
And constructed with the following guidelines.
- Breaking backwards compatibility bumps the major.
- New additions without breaking backwards compatibility bumps the minor.
- Bug fixes and misc changes bump the patch.
For more information on SemVer, please visit semver.org website.
This versioning method is same for all Sylius bundles and applications.
License can be found here.
The bundle was created by Laszlo Horvath, its based on prior work of Joseph Bielawski.
The work on this bundle was proudly sponsored by Locastic.