承接 ibrows/loggable-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ibrows/loggable-bundle

最新稳定版本:3.0.0-beta2

Composer 安装命令:

composer require ibrows/loggable-bundle

包简介

Extended Loggable Bundle

README 文档

README

Symfony2 Bundle that will track every Entity change on your Project and save it to a log table. Your Project get's some kind of confirmability with this Bundle.

It also provide some methods to get back an entity to a earlier version.

Install & setup the bundle

  1. Add IbrowsLoggableBundle in your composer.json:

    {
        "require": {
            "ibrows/loggable-bundle": "~1.0",
        }
    }
  2. Now tell composer to download the bundle by running the command:

    $ php composer.phar update ibrows/loggable-bundle

    Composer will install the bundle to your project's ibrows/loggable-bundle directory. ( PSR-4 )

  3. Add the bundles to your AppKernel class

    // app/AppKernerl.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
            new Ibrows\LoggableBundle\IbrowsLoggableBundle(),
            // ...
        );
        // ...
    }
  4. Recommend config of stof_doctrine_extensions

    stof_doctrine_extensions:
        orm:
            default:
              softdeleteable: true
              loggable: true
        class:
            loggable: Ibrows\LoggableBundle\Listener\LoggableListener

统计信息

  • 总下载量: 3.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-22