Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Fixtures Bundle Laravel Package

eshta/fixtures-bundle

View on GitHub
Deep Wiki
Context7

EshtaFixturesBundle

Build Status

Based on doctrine fixtures, similar to doctrine data fixtures bundle, but it persists fixtures instead, so it detects if a certain fixture is loaded it will not load it like doctrine migrations, best used as a place for seeded data.

Setup

Installation

composer require eshta/fixtures-bundle
// app/AppKernel.php
// ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        // ...
        $bundles[] = new Eshta\FixturesBundle\EshtaFixturesBundle();

        return $bundles
    }

    // ...
}

Configuration

Exclude the fixtures log table from DBAL schema

doctrine:
    dbal:
        schema_filter: ~^(?!fixtures_log)~

Usage

Help:

app/console eshta:fixtures:load -h

Load:

app/console eshta:fixtures:load

It will load any outstanding fixtures only, it also supports ordering as with the normal fixtures bundle

Load file:

app/console eshta:fixtures:load [--force] <file>

Documentation

checkout doctrine fixtures bundle except for setup, the documentation is the same.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle