psa / cakephp-fixture-check
Plugin to compare fixtures with live DB tables
Installs: 9 420
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 2
Type:cakephp-plugin
Requires
Requires (Dev)
- phpunit/phpunit: <6.0
- squizlabs/php_codesniffer: ^3.0@dev
This package is auto-updated.
Last update: 2024-12-11 09:23:13 UTC
README
A shell that will compare fixtures against live DB tables to make it easy to spot differences.
Requirements
- CakePHP ^3.4
Installation
composer require --dev psa/cakephp-fixture-check
And in your bootstrap.php
(or better yet bootstrap_cli.php
):
Plugin::load('Psa/FixtureCheck');
Usage
bin/cake FixtureCheck
To run for specific fixtures and tables, use
bin/cake FixtureCheck -f Fixture1,Fixture2
License
Copyright 2015 - 2016 PSA Publishers
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.