RBCoreBundle :
Core pour RB en version Alphass, (*1)
routing :
rb_core:
resource: "@RBCoreBundle/Controller/"
type: annotation
prefix: /
config :
- { resource: "@RBCoreBundle/Resources/config/services.yml" }
AppKernel.php :
public function registerBundles()
{
$bundles = [
...
new RB\CoreBundle\RBCoreBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(),
Important : créer les fichiers :
- /app/config/rb_config.yml
- /app/config/rb_config.yml.dist
Ils doivent contenir les liens absolue et les urls vers les différents dossier et fichiers de l'application RB.
configuration knpPaginator :, (*2)
https://github.com/KnpLabs/KnpPaginatorBundle, (*3)
configuration knpMarkdown :, (*4)
http://github.com/KnpLabs/KnpMarkdownBundle
configuration du service, (*5)
php bin/console config:dump-reference knp_markdown
StofDoctrineExtensionsBundle :, (*6)
Documentation
http://symfony.com/doc/master/bundles/StofDoctrineExtensionsBundle/index.html, (*7)
http://atlantic18.github.io/DoctrineExtensions/, (*8)
tuto d'installation, (*9)
https://www.grafikart.fr/formations/sf2-ecommerce/doctrine-extension, (*10)
Si a l'update de composer :, (*11)
[RuntimeException]
Failed to execute git status --porcelain --untracked-files=no
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTool
s), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
installer :, (*12)
sudo xcode-select --install