定制 eshta/fixtures-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

eshta/fixtures-bundle

Composer 安装命令:

composer require eshta/fixtures-bundle

包简介

Doctrine Persistent Fixtures

README 文档

README

Build Status

Based on doctrine fixtures, similar to doctrine data fixtures bundle, but it persists fixtures instead, so it detects if a certain fixture is loaded it will not load it like doctrine migrations, best used as a place for seeded data.

Setup

Installation

composer require eshta/fixtures-bundle
// app/AppKernel.php
// ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        // ...
        $bundles[] = new Eshta\FixturesBundle\EshtaFixturesBundle();

        return $bundles
    }

    // ...
}

Configuration

Exclude the fixtures log table from DBAL schema

doctrine:
    dbal:
        schema_filter: ~^(?!fixtures_log)~

Usage

Help:

app/console eshta:fixtures:load -h

Load:

app/console eshta:fixtures:load

It will load any outstanding fixtures only, it also supports ordering as with the normal fixtures bundle

Load file:

app/console eshta:fixtures:load [--force] <file>

Documentation

checkout doctrine fixtures bundle except for setup, the documentation is the same.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固