odiseoteam / blog-bundle
Bundle for Symfony to generate blog content.
Installs: 88 475
Dependents: 2
Suggesters: 0
Security: 0
Stars: 19
Watchers: 5
Forks: 11
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- excelwebzone/recaptcha-bundle: ^1.5
- friendsofsymfony/ckeditor-bundle: ^1.1 || ^2.1
- knplabs/knp-gaufrette-bundle: ^0.5 || ^0.7 || ^0.8
- sylius/grid-bundle: ^1.6
- sylius/resource-bundle: ^1.9
- symfony/framework-bundle: ^4.4 || ^5.2 || ^6.0
- symfony/orm-pack: ^1.0
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- lakion/mink-debug-extension: ^2.0.0
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.74
- phpstan/phpstan-doctrine: 0.12.31
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- sylius-labs/coding-standard: ^3.1 || ^4.2
- symfony/browser-kit: ^4.4 || ^5.2 || ^6.0
- symfony/debug-bundle: ^4.4 || ^5.2 || ^6.0
- symfony/dotenv: ^4.4 || ^5.2 || ^6.0
- symfony/intl: ^4.4 || ^5.2 || ^6.0
- symfony/web-profiler-bundle: ^4.4 || ^5.2 || ^6.0
- vimeo/psalm: 4.4.1
This package is auto-updated.
Last update: 2024-12-13 23:52:01 UTC
README
Odiseo Blog Bundle
Description
This Bundle add blog capabilities to your Symfony project. It is admin agnostic, so you need to integrate on your preferred admin system.
Features
With this bundle you will get some models to manage a blog on your proyect. Also it comes with a Sylius Resource and Sylius Grid integrations.
Also this bundle uses the FOSCKEditorBundle. Follow the official instructions to install it properly.
Installation
-
Run
composer require odiseoteam/blog-bundle
. -
Add the plugin to the AppKernel but add it before SyliusResourceBundle. To do that you need change the registerBundles. This bundle uses the FOSCKEditorBundle so you need add it to the kernel too.
public function registerBundles(): array { $preResourceBundles = [ new \Odiseo\BlogBundle\OdiseoBlogBundle(), ]; $bundles = [ new \Sylius\Bundle\ResourceBundle\SyliusResourceBundle(), new \FOS\CKEditorBundle\FOSCKEditorBundle(), ... ]; return array_merge($preResourceBundles, parent::registerBundles(), $bundles); }
- Import the configurations on your config.yml:
- { resource: "@OdiseoBlogBundle/Resources/config/config.yml" }
- Import the routes:
odiseo_blog: prefix: /blog resource: "@OdiseoBlogBundle/Resources/config/routing/main.yml"
- Finish the installation updatating the database schema and installing assets:
php bin/console doctrine:schema:update --force
Usage
Available routes
Article comment create
You can use this partial route to embed the comment form:
{{ render(url('odiseo_blog_partial_comment_create', {'slug': article.slug, 'template': 'Main/Blog/_comment_create.html.twig'})) }}
Test the bundle
You can follow the instructions to test this bundle in the proper documentation page: Test the bundle.
Credits
This plugin is maintained by Odiseo, a team of senior developers. Contact us: team@odiseo.com.ar.