monsieurbiz/sylius-blog-plugin


README

This plugin adds a blog to your Sylius project. It allows you to create blog articles, tags and authors.

Compatibility

Installation

If you want to use our recipes, you can add recipes endpoints to your composer.json by running this command:

composer config --no-plugins --json extra.symfony.endpoint '["https://api.github.com/repos/monsieurbiz/symfony-recipes/contents/index.json?ref=flex/master","flex://defaults"]'

Install the plugin via composer:

composer require monsieurbiz/sylius-blog-plugin:dev-master

Change your config/bundles.php file to add this line for the plugin declaration:

<?php

return [
    //..
    MonsieurBiz\SyliusBlogPlugin\MonsieurBizSyliusBlogPlugin::class => ['all' => true],
];

Add the plugin's routing by creating a new file in config/routes/monsieurbiz_sylius_blog_plugin.yaml with the following content:

imports:
    resource: '@MonsieurBizSyliusBlogPlugin/Resources/config/config.yaml'

Add the plugin's routing by creating a new file in config/routes/monsieurbiz_sylius_blog_plugin.yaml with the following content:

monsieurbiz_blog_plugin:
   resource: '@MonsieurBizSyliusBlogPlugin/Resources/config/routes.yaml'

And finally, update your database:

bin/console doctrine:migrations:migrate

License

This plugin is under the MIT license. Please see the LICENSE file for more information._