An open API service indexing awesome lists of open source software.

https://github.com/icanhazstring/foundry-bundle

Additional configs and compiler passes to avoid some common problem when using zenstruck/foundry with symfony components
https://github.com/icanhazstring/foundry-bundle

Last synced: about 1 year ago
JSON representation

Additional configs and compiler passes to avoid some common problem when using zenstruck/foundry with symfony components

Awesome Lists containing this project

README

          

# foundry-bundle

Delivers `zenstruck/foundry` alongside some additional configs and compiler passes.
to avoid some common problems when using `zenstruck/foundry` with symfony components.

## Installation

```bash
$ composer req --dev icanhazstring/foundry-bundle
```

## Config
Enable the bundle by adding it to the list of registered bundles
in the `config/bundles.php` file of your project:

```php
return [
// ...
icanhazstring\FoundryBundle\FoundryBundle::class => ['test' => true],
];
```

## Suggestions
- https://github.com/tseho/doctrine-assigned-identity (`tseho/doctrine-assigned-identity`)

This package allows you to manually assign IDs to a Doctrine entity, even when the entity uses the stategies AUTO, SEQUENCE, IDENTITY or UUID.