colemando/ratchetio-bundle

将 Ratchet.io 错误报告集成到您的 Symfony2 应用程序中。

v0.2.0 2013-02-07 19:07 UTC

This package is not auto-updated.

Last update: 2024-09-28 13:35:39 UTC


README

ratchet.io 集成到您的 Symfony2 应用程序中。

安装

使用 composer 需要该包

$ composer require colemando/ratchetio-bundle

启用该包

Colemando\RatchetioBundle\ColemandoRatchetioBundle 添加到您的 AppKernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Colemando\RatchetioBundle\ColemandoRatchetioBundle(),
    );
}

配置您的访问令牌

在您的 symfony 配置文件(app/config.yml)中,您需要按照以下方式定义 ratchet.io 的 access_token

colemando_ratchetio:
  access_token: <your token here>