comphppuebla/dbal-fixtures
最新稳定版本:4.1.1
Composer 安装命令:
composer require comphppuebla/dbal-fixtures
包简介
Fixtures management with Doctrine DBAL
README 文档
README
Fixtures management using YAML files. It supports: foreign key references, and generation of fake data.
Installation
Install this package using composer
$ composer require comphppuebla/dbal-fixtures
Documentation
The following yml file will insert 3 rows into the table stations
using random values generated by Faker for all the columns
stations: station_[1..3]: name: "${company}" address_line_1: "${streetAddress}" location: "${city}" coordinates: "`PointFromText('POINT(${latitude} ${longitude})')`" created_at: "${date('Y-m-d H:i:s', 'yesterday')}" last_updated_at: "${date('Y-m-d H:i:s')}"
Please visit the documentation page for more details.
Contribute
Please refer to CONTRIBUTING for information on how to contribute to this package.
License
Released under the MIT License.
统计信息
- 总下载量: 35.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-16