68publishers / fixtures-bundle
Fixtures bundle based on Alice project.
Installs: 3 270
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.2 || ^8.1
- doctrine/event-manager: ^1.1 || ^2.0
- nelmio/alice: ^3.7
- nette/di: ^2.4.16 || ^3.0
- nette/finder: ^2.4 || ^3.0
- nette/utils: ^2.4.2 || ^3.0 || ^4.0
- theofidry/alice-data-fixtures: ^1.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- mockery/mockery: ^1.4
- nette/application: ^2.4 || ^3.0
- nette/tester: ^2.3
- roave/security-advisories: dev-master
Suggests
- symfony/console: For fixtures commands
- dev-master
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1
- dev-feature/excluded-tables
- dev-feature/objects
- dev-feature/interface-renaming
- dev-feature/preloaded-unique-values
- dev-feature/nested-parameters
- dev-feature/dynamic-parameters-workaround
- dev-feature/sortable-data-loader
This package is auto-updated.
Last update: 2024-12-06 01:38:41 UTC
README
⚠️ Warning! This package does not have active support, it exists only for the historical needs of the author.
Fixtures Bundle
A Nette bundle to manage fixtures with an integration of packages nelmio/alice and theofidry/AliceDataFixtures.
The bundle supports Nette in versions 2.4
and 3
!
Installation
The best way to install 68publishers/fixtures-bundle is using Composer:
$ composer require 68publishers/fixtures-bundle
Integration of Alice
Alice is a fixture generator that can hydrate entities or any objects from YAML, JSON, or raw PHP definitions. This package adds also a parser for NEON files.
Continue to the integration guide here.
Integration of AliceDataFixtures
A package AliceDataFixtures provides a persistent layer for data fixtures. The only supported ORM/ODM is Doctrine:
- Doctrine ORM 2.5+
- Doctrine ODM 1.2+
- Doctrine PHPCR 1.4+
Eloquent and Propel 2 are not supported by this integration.
Continue to the integration guide here.
Integration of Fixtures Bundle
The Fixtures Bundle wraps functionality from both integrations and allows you to run fixtures in defined scenarios.
Continue to the integration guide here.
Contributing
Before committing any changes, don't forget to run
$ vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run
and
$ composer run tests