cubetools / cube-common-bundle
Common Code for the CUBE Tools
Installs: 7 432
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 2
Type:symfony-bundle
Requires
- php: >=5.3.3
- friendsofsymfony/user-bundle: ^2.0
- phpoffice/phpspreadsheet: ^1.4
- symfony/config: ^2.7|^3.0|^4.0
- symfony/ldap: ^3.0|^4.0
Requires (Dev)
- cubetools/cube-common-develop: dev-development@dev
- phpstan/phpstan: ^0.12.26
- symfony/css-selector: ^3.4|^4.0
- symfony/dom-crawler: ^3.3|^4.0
- symfony/form: ^2.7|^3.0|^4.0
- symfony/http-foundation: ^2.7|^3.0|^4.0
- symfony/phpunit-bridge: ^2.7|^3.0|^4.0
Suggests
- symfony/dom-crawler: for DataHandling\XMLExtractor
- symfony/form: for Form\*
- symfony/http-foundation: for Form\*Session
- dev-master
- 1.9.21
- 1.9.20
- 1.9.19
- 1.9.18
- 1.9.17
- 1.9.16
- 1.9.15
- 1.9.14
- 1.9.13
- 1.9.12
- v1.9.11
- 1.9.10
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.1.0-beta2
- 1.1.0-beta1
- 1.1.0-beta
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-development
- dev-sql_string
- dev-65_translatable
- dev-warmup_git_version_cache
- dev-github_url_dummy_if_unknown
- dev-149_auditlog_errorwarn
- dev-array_traversable_check
- dev-redoColumnHidingModern
- dev-logSpeedup_TRIES
This package is auto-updated.
Last update: 2024-11-18 21:26:07 UTC
README
Common Code for the CUBE Tools
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:
$ 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.
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:
<?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
:
# 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
.
# 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).