ernesto/proy-bundle

此包的最新版本(dev-master)没有可用的许可证信息。

一个简单的Symfony2额外包

安装: 8

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 0

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2016-09-13 21:21 UTC

This package is not auto-updated.

Last update: 2024-09-23 13:16:58 UTC


README

步骤 1: 下载包

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

$ composer require "tony/extra-bundle":"dev-master"

此命令要求您已全局安装Composer,如Composer文档中的安装章节所述。

步骤 2: 启用包

然后,通过将其添加到项目 app/AppKernel.php 文件中注册的包列表中来启用该包。

<?php
// app/AppKernel.php

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

            new ernesto\ProyBundle\ernestoProyBundle(),
        );

        // ...
    }

    // ...
}