icanhazstring / foundry-bundle
Additional configs and compiler passes to avoid some common problem when using zenstruck/foundry with symfony components
Installs: 5 572
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- symfony/config: ^5.2
- symfony/dependency-injection: ^5.2
- symfony/http-kernel: ^5.2
- zenstruck/foundry: ^1.11
Requires (Dev)
- roave/security-advisories: dev-latest
- tseho/doctrine-assigned-identity: ^0.1.0
Suggests
- tseho/doctrine-assigned-identity: This package allows you manually assign IDs to a Doctrine entity, even when the entity uses the stategies AUTO, SEQUENCE, IDENTITY or UUID
README
Delivers zenstruck/foundry
alongside some additional configs and compiler passes.
to avoid some common problems when using zenstruck/foundry
with symfony components.
Installation
$ 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:
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.