-
Add Github repository to composer.json:
{ "repositories": [ { "type": "vcs", "url": "git@bitbucket.org:ecolos/sylius-glossary-plugin.git" } ] }
-
Install package via composer from Bitbucket
composer require ecolos/sylius-glossary-plugin
-
Add to config/bundles.php
[ Ecolos\SyliusGlossaryPlugin\EcolosSyliusGlossaryPlugin::class => ['all' => true], ]
-
Clear the symfony cache
php bin/console cache:clear
-
Determine doctrine schema changes and migrate
php bin/console doctrine:migrations:diff php bin/console doctrine:migrations:execute --up XXXXXXXXXXXXX
-
Add to config/services.yaml
imports: - { resource: "@EcolosSyliusGlossaryPlugin/Resources/config/config.yaml" }
-
Add to config/routes.yaml
ecolos_sylius_glossary_plugin: resource: "@EcolosSyliusGlossaryPlugin/Resources/config/routing.yaml"
Check out the Glossar menu entry in the admin panel. Visit /glossaries on the frontend to view existing glossaries.
- Add tests