avro/blog-bundle

另一个非常简单的Symfony2博客bundle

安装: 68

依赖者: 0

建议者: 0

安全: 0

星标: 1

关注者: 2

分支: 0

公开问题: 1

语言:JavaScript

类型:symfony-bundle

v0.2.1 2013-01-05 16:56 UTC

This package is not auto-updated.

Last update: 2024-09-22 03:47:39 UTC


README

另一个Symfony2博客bundle。

它很简单。我喜欢它。

状态

这个bundle正在开发中,可能会破坏。

存储层

  • Doctrine Mongodb

安装

这个bundle在Packagist上有列出。

只需将其添加到您的app/composer.json文件中

    "avro/blog-bundle": "*"

在kernel中启用bundle

// app/AppKernel.php
    new Avro\BlogBundle\AvroBlogBundle(),

配置

将以下所需配置添加到您的app/config/config.yml文件中

avro_blog:
    db_driver: mongodb # supports mongodb
    list_count: 10 # The number of posts to show on the blog roll

将路由添加到您的app/config/routing.yml文件中

AvroBlogBundle:
    resource: "@AvroBlogBundle/Resources/config/routing/routing.yml"