2017 © Pedro Peláez
 

symfony-bundle cube-common-bundle

Common Code for the CUBE Tools

image

cubetools/cube-common-bundle

Common Code for the CUBE Tools

  • Wednesday, July 18, 2018
  • by SimonHeimberg
  • Repository
  • 4 Watchers
  • 0 Stars
  • 3,510 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 14 Open issues
  • 57 Versions
  • 20 % Grown

The README.md

Common Code for the CUBE Tools, (*1)

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

$ composer require cubetools/cube-common-bundle

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

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

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new CubeTools\CubeCommonBundle\CubeToolsCubeCommonBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Import the routes

To give access to routing information, import routing into app/config/routing.yml:, (*5)

# app/config/routing.yml

# ...

_cube_common:
    resource: "@CubeToolsCubeCommonBundle/Resources/config/routing/all.yml"

Step 4 (optional): Set different user class

When FosUserBundle is enabled, the user class is set to the one configured for this bundle. To use a different user class (for the cube_common.user_settings service), set your User class in app/config/config.yml., (*6)

# app/config/config.yml
doctrine:
    # ...
    orm:
        # ...
        resolve_target_entities:
            Symfony\Component\Security\Core\User\UserInterface: YourBundle\Entity\YourUser

Use the bundle

Do some index page filtering, hide table columns dynamically with ColumnSelector, or use another functionality (see in src)., (*7)

The Versions

26/01 2018
19/12 2017
20/06 2017

1.0.5

1.0.5.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

13/06 2017

dev-4_NaturalSorting

dev-4_NaturalSorting http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

29/04 2017

1.0.4

1.0.4.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

07/04 2017

1.0.3

1.0.3.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

31/03 2017

1.0.2

1.0.2.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

09/03 2017

1.0.1

1.0.1.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

28/02 2017

v1.0.x-dev

1.0.9999999.9999999-dev http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

28/02 2017

1.0.0

1.0.0.0 http://www.cubetools.ch

Common Code for the CUBE Tools

  Sources   Download

MIT

The Requires

  • php >=5.3.3