PHPackages                             stefanius/laravel-fixtures - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. stefanius/laravel-fixtures

ActiveProject[Database &amp; ORM](/categories/database)

stefanius/laravel-fixtures
==========================

Load YAML fixtures in your Laravel project

0.1(9y ago)63.1k[1 issues](https://github.com/stefanius/laravel-fixtures/issues)MITPHPPHP &gt;=7.0

Since Jan 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stefanius/laravel-fixtures)[ Packagist](https://packagist.org/packages/stefanius/laravel-fixtures)[ RSS](/packages/stefanius-laravel-fixtures/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (8)Versions (14)Used By (0)

Laravel Fixtures
================

[](#laravel-fixtures)

The Yaml fixture seeder for the Laravel Framework.

[![Build Status](https://camo.githubusercontent.com/c5755d94b728f1b5c37b38ece8ab46e0a1c9a908865fa9e58299cd2c15a3dafc/68747470733a2f2f7472617669732d63692e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732e737667)](https://travis-ci.org/stefanius/laravel-fixtures)[![Latest Stable Version](https://camo.githubusercontent.com/5d739e4dd3ef7cac1a0f7bfd9187e37e5a1db85855ec687b52b4f1c38223034b/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f762f737461626c65)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Total Downloads](https://camo.githubusercontent.com/27c8feb8b81fddbb78ff2ebb7b9e56249801e70df46ac27782ba9483b0c764fa/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f646f776e6c6f616473)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Latest Unstable Version](https://camo.githubusercontent.com/05f271891194426b31e5624133575d12c0713c7a3cf0a7cd178a7d14a30adc72/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f762f756e737461626c65)](https://packagist.org/packages/stefanius/laravel-fixtures)[![License](https://camo.githubusercontent.com/fa92158406009aa953b676668dce179961ad3f34b2a7a4d1a264f9c0e3fc723a/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f6c6963656e7365)](https://packagist.org/packages/stefanius/laravel-fixtures)

Why this package?
-----------------

[](#why-this-package)

The Seeder classes are very powerfull and to be honest: This package has a lot less options. Imagine that you have lists of data you want to seed. The problem only is that the Seeder classes needs to be programmed. With lots and lots of array's, in my opinion it will end up in large PHP files and hardly to read and maintain.

This package provides a Yaml structure, based per-table but you can make relationships between them. See therefore the examples.

Installation
------------

[](#installation)

To install this package on your Laravel project, you only have to add it to your Composer file. There is no need (and also impossible) to add a Facade or ServiceProvider.

`shell> composer require stefanius/laravel-fixtures`

Example data
------------

[](#example-data)

When the documentation does not provide the information you needed or hoped for, you may want to check the example data. This data is also used to test the package and therefore it will give a good impression of the package. You can find the data:

In progress
-----------

[](#in-progress)

The package is almost stable but the readme.md file is still in progress. Keep in touch to see if there are any updates!

Badges
------

[](#badges)

Some badges are handy to place them on top. But, in a time of 'badge-festing' I want to join the party, and some badges are a bit obscure.

[![Total Downloads](https://camo.githubusercontent.com/27c8feb8b81fddbb78ff2ebb7b9e56249801e70df46ac27782ba9483b0c764fa/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f646f776e6c6f616473)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Monthly Downloads](https://camo.githubusercontent.com/eaf0c0bf1a45ca0e2c403cc47f30d664f9dee5290f4c39a420bc0450d6f35ee0/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f642f6d6f6e74686c79)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Daily Downloads](https://camo.githubusercontent.com/aa508c7a550c416b85337b6c729f46b7418a09b44679db24e612088322df2381/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f642f6461696c79)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Build Status](https://camo.githubusercontent.com/c5755d94b728f1b5c37b38ece8ab46e0a1c9a908865fa9e58299cd2c15a3dafc/68747470733a2f2f7472617669732d63692e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732e737667)](https://travis-ci.org/stefanius/laravel-fixtures)[![Latest Stable Version](https://camo.githubusercontent.com/5d739e4dd3ef7cac1a0f7bfd9187e37e5a1db85855ec687b52b4f1c38223034b/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f762f737461626c65)](https://packagist.org/packages/stefanius/laravel-fixtures)[![Latest Unstable Version](https://camo.githubusercontent.com/05f271891194426b31e5624133575d12c0713c7a3cf0a7cd178a7d14a30adc72/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f762f756e737461626c65)](https://packagist.org/packages/stefanius/laravel-fixtures)[![License](https://camo.githubusercontent.com/fa92158406009aa953b676668dce179961ad3f34b2a7a4d1a264f9c0e3fc723a/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f6c6963656e7365)](https://packagist.org/packages/stefanius/laravel-fixtures)[![composer.lock](https://camo.githubusercontent.com/3bdfef2de828fd50dfef828eb92b238132453b518dbdeb1985af9fb6dd5943f8/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6975732f6c61726176656c2d66697874757265732f636f6d706f7365726c6f636b)](https://packagist.org/packages/stefanius/laravel-fixtures)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

13

Last Release

3597d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.6.0

0.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47f66133b6b4806a16aaed043daa733f5e97adb7a10c9982d01a1cda9f492040?d=identicon)[stefanius](/maintainers/stefanius)

---

Top Contributors

[![stefanius](https://avatars.githubusercontent.com/u/2707905?v=4)](https://github.com/stefanius "stefanius (63 commits)")

---

Tags

laravelmigrationfixturesdatabaseyamlymlseederseed

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stefanius-laravel-fixtures/health.svg)

```
[![Health](https://phpackages.com/badges/stefanius-laravel-fixtures/health.svg)](https://phpackages.com/packages/stefanius-laravel-fixtures)
```

###  Alternatives

[jlapp/smart-seeder

Smart Seeder adds the same methology to seeding that is currently used with migrations in order to let you seed in batches, seed to production databases or other environments, and to rerun seeds without wiping out your data.

1903.1k](/packages/jlapp-smart-seeder)[eighty8/laravel-seeder

Versioned, environment-based Seeders in Laravel

1857.1k](/packages/eighty8-laravel-seeder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
