PHPackages                             kolyya/fixtures-helper-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kolyya/fixtures-helper-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

kolyya/fixtures-helper-bundle
=============================

Symfony bundle with helpers for fixtures

0.0.7(4y ago)0395↓75%MITPHPPHP ^7.1|^8.0

Since Oct 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kolyya/fixtures-helper-bundle)[ Packagist](https://packagist.org/packages/kolyya/fixtures-helper-bundle)[ RSS](/packages/kolyya-fixtures-helper-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

Fixtures Helper Symfony Bundle
==============================

[](#fixtures-helper-symfony-bundle)

Symfony bundle with helpers for fixtures

### Load Command

[](#load-command)

`bin/console kolyya:fixtures:load`

Will completely clear the database. And load data from fixtures.

**Run the following commands:**

- `doctrine:schema:drop --full-database --force`
- `doctrine:schema:update --force`
- `doctrine:fixtures:load --append`

#### Options

[](#options)

- `--force` - Run the command without confirmation
- `--config[=CONFIG]` - The name of the config to run commands

To use your config, add it to the configuration.

```
kolyya_fixtures_helper:
    # ...
    load:
        my_config:
            drop: { "--em": 'my_em' }
            update: { "--em": 'my_em' }
            load: { "--em": 'my_em' }
```

### Upload File

[](#upload-file)

1. Create a directory, for example `/assets/fixtures/product`
2. Put files to upload there
3. Inherit DataFixtures class from `Kolyya\FixturesHelperBundle\DataFixtures\BaseUploadFileFixtures`
4. Add `getAssetPath` method to the DataFixtures class. It should return the relative path to the directory.

    ```
        // ...
        public function getAssetPath(): string
        {
            return '/assets/fixtures/product';
        }
        // ...
    ```
5. Get file

    ```
        // ...
        $imageFile = $this->getUploadedFile('image.jpg');
        $product->setImageFile($imageFile);
        // ...
    ```

Development
-----------

[](#development)

At the root of the symfony project, create a directory `Kolyya`.

Clone this repository to this directory:

```
git clone git@github.com:kolyya/fixtures-helper-bundle.git
```

Add to file `composer.json`:

```
{
  //...
  "autoload": {
    "psr-4": {
      //...
      "Kolyya\\FixturesHelperBundle\\": "Kolyya\\fixtures-helper-bundle"
    }
  },
}
```

And execute the command:

```
composer dump-autoload
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~90 days

Recently: every ~101 days

Total

7

Last Release

1485d ago

PHP version history (2 changes)0.0.1PHP ^7.1.3

0.0.4PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c424468b9642c806ad822b2e1f2ddbf6bd601b659aa6ea55db3ed625282a92d?d=identicon)[kolyya](/maintainers/kolyya)

---

Top Contributors

[![kolyya](https://avatars.githubusercontent.com/u/8344044?v=4)](https://github.com/kolyya "kolyya (19 commits)")

### Embed Badge

![Health badge](/badges/kolyya-fixtures-helper-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kolyya-fixtures-helper-bundle/health.svg)](https://phpackages.com/packages/kolyya-fixtures-helper-bundle)
```

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)[eureka2/g6k

Generator of simulator of calculation (calculator)

235.5k](/packages/eureka2-g6k)

PHPackages © 2026

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