matthiez / sylius-glossary-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALLATION:

  1. Add Github repository to composer.json:

                {
                    "repositories": [
                        {
                            "type": "vcs",
                            "url":  "git@bitbucket.org:ecolos/sylius-glossary-plugin.git"
                        }
                    ]
                }
    
  2. Install package via composer from Bitbucket

    composer require ecolos/sylius-glossary-plugin
  3. Add to config/bundles.php

            [
                Ecolos\SyliusGlossaryPlugin\EcolosSyliusGlossaryPlugin::class => ['all' => true],
            ]
  4. Clear the symfony cache

    php bin/console cache:clear
  5. Determine doctrine schema changes and migrate

    php bin/console doctrine:migrations:diff
    php bin/console doctrine:migrations:execute --up XXXXXXXXXXXXX
  6. Add to config/services.yaml

    imports:
     - { resource: "@EcolosSyliusGlossaryPlugin/Resources/config/config.yaml" }
  7. Add to config/routes.yaml

    ecolos_sylius_glossary_plugin:
      resource: "@EcolosSyliusGlossaryPlugin/Resources/config/routing.yaml"
    

USAGE:

Check out the Glossar menu entry in the admin panel. Visit /glossaries on the frontend to view existing glossaries.

TODO:

  • Add tests

About

License:MIT License


Languages

Language:PHP 85.1%Language:HTML 8.5%Language:JavaScript 6.4%