MyGit

ComPHPPuebla/dbal-fixtures

Fork: 9 Star: 10 (更新于 2024-11-15 02:31:11)

license: MIT

Language: PHP .

Fixtures management with Doctrine DBAL

最后发布版本: 4.1.1 ( 2022-01-27 11:21:06)

GitHub网址

Doctrine DBAL fixtures

Build Status Latest Stable Version Latest Unstable Version License SensioLabsInsight

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-11-20 23:58:25 laravel/framework

2024-11-20 18:39:23 danielmiessler/SecLists

2024-11-16 21:54:23 w7corp/easywechat

2024-11-16 04:49:03 coollabsio/coolify

2024-11-13 23:19:14 symfony/symfony

2024-11-13 22:53:21 symfony/var-dumper