Skip to content

nobru/Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Starter admin for Symfony2

Starter is a set of Symfony Bundles that helps you to easily create simple SaaS administration.

Installation

  1. Add the dependencie on composer.json file:
    "require": {
        "nobru/starter": "dev-master"
    }

  1. 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(),
        );

        ...
    }
  1. Add the starter route on app/config/routing.yml
main:
    resource: "@StarterDashboardBundle/Resources/config/routing.yml"
    prefix: /starter
  1. Add the StarterBaseBundle to the asstic config on app/config.yml
assetic:
    debug:          "%kernel.debug%"
    use_controller: false
    bundles:        ["StarterBaseBundle"]