MyGit

ComPHPPuebla/dbal-fixtures

Fork: 9 Star: 10 (更新于 2024-09-27 11:45:06)

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-10-04 05:05:21 coollabsio/coolify

2024-10-02 22:48:51 nextcloud/server

2024-09-27 04:15:58 statamic/cms

2024-09-26 16:18:25 webonyx/graphql-php

2024-09-24 18:16:56 JhumanJ/OpnForm

2024-09-21 14:15:59 symfony/var-dumper