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
- Host: GitHub
- URL: https://github.com/icanhazstring/foundry-bundle
- Owner: icanhazstring
- License: mit
- Created: 2021-06-14T15:45:09.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-26T06:57:53.000Z (almost 5 years ago)
- Last Synced: 2025-03-07T11:37:17.239Z (over 1 year ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.