ComPHPPuebla/dbal-fixtures
Fork: 9 Star: 10 (更新于 2024-12-08 02:40:12)
license: MIT
Language: PHP .
Fixtures management with Doctrine DBAL
最后发布版本: 4.1.1 ( 2022-01-27 11:21:06)
Doctrine DBAL fixtures
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.
最近版本更新:(数据更新于 2024-09-15 06:19:42)
2022-01-27 11:21:06 4.1.1
2018-04-28 04:03:25 4.1.0
2018-01-24 04:32:09 4.0.0
主题(topics):
database, doctrine-dbal, fixtures, php
ComPHPPuebla/dbal-fixtures同语言 PHP最近更新仓库
2024-12-13 19:38:03 coollabsio/coolify
2024-12-13 09:22:46 w7corp/easywechat
2024-12-11 20:15:22 symfony/symfony
2024-11-29 16:49:37 symfony/var-dumper
2024-11-20 23:58:25 laravel/framework
2024-11-20 18:39:23 danielmiessler/SecLists