kay/smileybundle

Symfony SmileyBundle,方便在项目中集成表情符号

安装: 20

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

语言:JavaScript

类型:symfony-bundle

1.0.2 2016-11-24 16:02 UTC

This package is not auto-updated.

Last update: 2024-09-29 00:33:38 UTC


README

Latest Stable Version Total Downloads License

步骤 1:下载 Bundle

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

$ composer require kay/smileybundle dev-master

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

步骤 2:启用 Bundle

然后,将 Bundle 添加到项目 app/AppKernel.php 文件中注册的 Bundle 列表中以启用它

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Kay\SmileyBundle\KaySmileyBundle(),
        );
    }
}

步骤 3:使用方法

请参阅 SmileyBundle 的完整文档在 wiki 中