{"id":17959618,"url":"https://github.com/imjoehaines/flowder-yaml-loader","last_synced_at":"2026-05-21T05:02:24.299Z","repository":{"id":56990397,"uuid":"87582490","full_name":"imjoehaines/flowder-yaml-loader","owner":"imjoehaines","description":"A YAML file loader for Flowder","archived":false,"fork":false,"pushed_at":"2018-02-14T11:44:50.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T12:56:54.421Z","etag":null,"topics":["fixture-loading","fixtures","flowder","testing","yaml"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imjoehaines.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-07T20:00:44.000Z","updated_at":"2017-04-13T13:09:26.000Z","dependencies_parsed_at":"2022-08-21T10:10:44.961Z","dependency_job_id":null,"html_url":"https://github.com/imjoehaines/flowder-yaml-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imjoehaines/flowder-yaml-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fflowder-yaml-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fflowder-yaml-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fflowder-yaml-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fflowder-yaml-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imjoehaines","download_url":"https://codeload.github.com/imjoehaines/flowder-yaml-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fflowder-yaml-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265611807,"owners_count":23797967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fixture-loading","fixtures","flowder","testing","yaml"],"created_at":"2024-10-29T11:03:51.566Z","updated_at":"2025-11-11T19:33:04.092Z","avatar_url":"https://github.com/imjoehaines.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flowder YAML Loader [![Latest Stable Version](https://poser.pugx.org/imjoehaines/flowder-yaml-loader/v/stable)](https://packagist.org/packages/imjoehaines/flowder-yaml-loader) [![Build Status](https://travis-ci.org/imjoehaines/flowder-yaml-loader.svg?branch=master)](https://travis-ci.org/imjoehaines/flowder-yaml-loader) [![codecov](https://codecov.io/gh/imjoehaines/flowder-yaml-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/imjoehaines/flowder-yaml-loader)\n\nA YAML file loader for [Flowder](https://github.com/imjoehaines/flowder)\n\n## Usage\n\n1. Install Flowder YAML Loader as a development dependency through [Composer](https://getcomposer.org/)\n\n   ```sh\n   $ composer install imjoehaines/flowder-yaml-loader --dev\n   ```\n\n2. Pass an instance of `Imjoehaines\\FlowderYaml\\YamlLoader` to Flowder, as detailed in the [Flowder readme](https://github.com/imjoehaines/flowder/blob/master/README.md#usage)\n\n3. Pass the path to a YAML file to `Flowder::loadFixtures`, your YAML file should contain an array of arrays where each \"inner\" array is a database row. For example\n\n```yaml\nrow_1:\n    column_1: value 1\n    column_2: 2\n    column_3: three\nrow_2:\n    column_1: value 4\n    column_2: 5\n    column_3: six\n```\n\nAny YAML array syntax supported by [Symfony's Yaml Component](http://symfony.com/doc/current/components/yaml.html) is supported, so all of the following examples will result in the exact same data as above\n\n```yaml\n-\n    column_1: value 1\n    column_2: 2\n    column_3: three\n-\n    column_1: value 4\n    column_2: 5\n    column_3: six\n```\n\n```yaml\n[\n    {\n        \"column_1\": \"value 1\",\n        \"column_2\": 2,\n        \"column_3\": \"three\"\n    },\n    {\n        \"column_1\": \"value 4\",\n        \"column_2\": 5,\n        \"column_3\": \"six\"\n    }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjoehaines%2Fflowder-yaml-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimjoehaines%2Fflowder-yaml-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjoehaines%2Fflowder-yaml-loader/lists"}