odiseoteam/blog-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

odiseoteam/blog-bundle

最新稳定版本:v1.2.4

Composer 安装命令:

composer require odiseoteam/blog-bundle

包简介

Bundle for Symfony to generate blog content.

README 文档

README

Odiseo
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

  1. Run composer require odiseoteam/blog-bundle.

  2. 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); }
  1. Import the configurations on your config.yml:
 - { resource: "@OdiseoBlogBundle/Resources/config/config.yml" }
  1. Import the routes:
odiseo_blog: prefix: /blog resource: "@OdiseoBlogBundle/Resources/config/routing/main.yml"
  1. 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.

统计信息

  • 总下载量: 108.21k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 4
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固