grossum/static-page-bundle

此包添加了静态页面实体,字段包括:标题、缩略名、描述、启用状态、位置、父级、子级、创建时间和更新时间

安装: 4

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 8

分支: 0

开放问题: 2

语言:JavaScript

类型:symfony-bundle

dev-master / 0.1.x-dev 2017-04-10 14:07 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:36:39 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

安装

步骤 1:下载包

打开命令行,进入你的项目目录,并执行以下命令以下载此包的最新稳定版本

$ composer require grossum/static-page-bundle "~1"

此命令要求你全局安装了Composer,详情请参考Composer文档的安装章节

步骤 2:启用包

然后,通过在你的项目中的 app/AppKernel.php 文件中添加以下行来启用此包

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
            new CoopTilleuls\Bundle\CKEditorSonataMediaBundle\CoopTilleulsCKEditorSonataMediaBundle(),
            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
            new Grossum\StaticPageBundle\GrossumStaticPageBundle(),
        );

        // ...
    }

    // ...
}