2017 © Pedro Peláez
 

library kitchensink-bundle

Helps you create a kitchensink incl. route, template and services.

image

bestit/kitchensink-bundle

Helps you create a kitchensink incl. route, template and services.

  • Sunday, March 5, 2017
  • by WBLKonzept
  • Repository
  • 2 Watchers
  • 0 Stars
  • 7,561 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

bestit/kitchensink-bundle

Helps you create a kitchensink incl. route, template and services., (*1)

Build Status Scrutinizer Code Quality Code Coverage, (*2)

Usage

This bundle provides you with a simple controller (/kitchensink) and service structure, to load a template, defined through the config, filled with the data from the dataprovider implementing the DataProviderInterface of this bundle., (*3)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*4)

$ composer require bestit/kitchensink-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*5)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*6)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        // ...

        if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
            $bundles[] = new BestIt\KitchensinkBundle\BestItKitchensinkBundle();
        }        

        // ...
    }

    // ...
}

Step 3: Configure the bundle

# Default configuration for "BestItKitchensinkBundle"
best_it_kitchensink:

    # Which template should be used the render the kitchensink?
    template:             kitchensink/index.html.twig

    # The data provider service implementing the matching interface.
    data_provider:        ~ # Required

Step 4: Import routing files

# routing_dev.yml
best_it_kitchensink:
    resource: "@BestItKitchensinkBundle/Resources/config/routing.yml"

The Versions

05/03 2017

dev-master

9999999-dev

Helps you create a kitchensink incl. route, template and services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

05/03 2017

1.0.3

1.0.3.0

Helps you create a kitchensink incl. route, template and services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

27/02 2017

1.0.2

1.0.2.0

Helps you create a kitchensink incl. route, template and services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

27/02 2017

1.0.1

1.0.1.0

Helps you create a kitchensink incl. route, template and services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

27/02 2017

1.0.0

1.0.0.0

Helps you create a kitchensink incl. route, template and services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange