xefi/faker-php-symfony
Integrates FakerPHP with Symfony, exposing Faker as a service and adding convenient Symfony-aware generators. Ideal for creating realistic fixtures, test data, and database seeds with minimal setup.
composer require --dev xefi/faker-php-symfony
README.md for bundle/service registration and usage examples.composer.json for PHP, fakerphp/faker, and Symfony version constraints.src/ to see what is actually auto-wired.fake(), model factories, seeders) unless you specifically need this package’s Symfony wiring..gitattributes file to slim down dist installs. There are no new features or breaking changes called out in the release notes.User::factory()->count(10)->create();
Only introduce this package if you are sharing test/fixture code with a Symfony application or need its Symfony bundle integration.fakerphp/faker and this package together so generated formats do not drift unexpectedly.composer update xefi/faker-php-symfony --with-dependencies in a branch and verify your app’s Symfony component constraints.composer why-not xefi/faker-php-symfony
composer show xefi/faker-php-symfony
.gitattributes only affects dist installs: It reduces package download size for Composer dist installs. It does not change runtime behavior.addProvider() or app-level test helpers. Do not patch vendor code; wrap the generator if the bundle does not expose the configuration you need.composer.lock, and verify that the service ID or autowiring alias matches the README. If autowiring fails in Laravel, that usually means you are using a Symfony-only integration in the wrong framework.How can I help you explore Laravel packages today?