2017 © Pedro Peláez
 

symfony-bundle suggest-bundle

phlexible suggest bundle

image

phlexible/suggest-bundle

phlexible suggest bundle

  • Monday, July 30, 2018
  • by temp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 59 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

PhlexibleSuggestBundle

The PhlexibleSuggestBundle adds support for suggest fields for element types and meta sets in phlexible., (*1)

Installation

  1. Download PhlexibleSuggestBundle using composer
  2. Enable the Bundle
  3. Import PhlexibleSuggestBundle routing
  4. Update your database schema
  5. Clear the symfony cache

Step 1: Download PhlexibleSuggestBundle using composer

Add PhlexibleSuggestBundle by running the command:, (*2)

``` bash $ php composer.phar require phlexible/suggest-bundle "~1.0.0", (*3)


Composer will install the bundle to your project's `vendor/phlexible` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\SuggestBundle\PhlexibleSuggestBundle(), ); }

Step 3: Import PhlexibleElementFinderBundle routing

Import the PhlexibleElementFinderBundle routing., (*4)

For administration backend:, (*5)

``` yaml, (*6)

app/config/admin_routing.yml

phlexible_suggest: resource: "@PhlexibleSuggestBundle/Controller/" type: annotation, (*7)


### Step 4: Update your database schema Now that the bundle is set up, the last thing you need to do is update your database schema because the element finder includes entities that need to be installed in your database. For ORM run the following command. ``` bash $ php app/console doctrine:schema:update --force

Step 5: Clear the symfony cache

If you access your phlexible application with environment prod, clear the cache:, (*8)

bash $ php app/console cache:clear --env=prod, (*9)

The Versions

30/07 2018

dev-master

9999999-dev

phlexible suggest bundle

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

tag suggest