2017 © Pedro Peláez
 

library kitchensink-bundle

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

image

opencaching/kitchensink-bundle

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

  • Sunday, November 12, 2017
  • by teiling88
  • Repository
  • 2 Watchers
  • 0 Stars
  • 148 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 3 % Grown

The README.md

a php5.6 fork from https://github.com/bestit/symfony-kitchensink-bundle, (*1)

bestit/kitchensink-bundle

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

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

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., (*4)

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:, (*5)

$ composer require bestit/kitchensink-bundle

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

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:, (*7)

<?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

12/11 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

12/11 2017

1.0.7

1.0.7.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

26/10 2017

1.0.6

1.0.6.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

26/10 2017

1.0.5

1.0.5.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Björn Lange

26/10 2017

1.0.4

1.0.4.0

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