Starter is a set of Symfony Bundles that helps you to easily create simple SaaS administration.
- Add the dependencie on composer.json file:
"require": {
"nobru/starter": "dev-master"
}
- Add the Starter bundles on app/AppKernel.php:
public function registerBundles()
{
$bundles = array(
...
new Starter\DashboardBundle\StarterDashboardBundle(),
new Starter\BaseBundle\StarterBaseBundle(),
new Starter\BillingBundle\StarterBillingBundle(),
new Starter\PlanBundle\StarterPlanBundle(),
new Starter\UserBundle\StarterUserBundle(),
);
...
}
- Add the starter route on app/config/routing.yml
main:
resource: "@StarterDashboardBundle/Resources/config/routing.yml"
prefix: /starter
- Add the StarterBaseBundle to the asstic config on app/config.yml
assetic:
debug: "%kernel.debug%"
use_controller: false
bundles: ["StarterBaseBundle"]