Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LubosRemplik/CakePHP-Fixtures
CakePHP Fixtures plugin to read fixtures and creating tables with data from tests
https://github.com/LubosRemplik/CakePHP-Fixtures
Last synced: about 1 month ago
JSON representation
CakePHP Fixtures plugin to read fixtures and creating tables with data from tests
- Host: GitHub
- URL: https://github.com/LubosRemplik/CakePHP-Fixtures
- Owner: LubosRemplik
- License: mit
- Created: 2016-08-15T07:06:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-27T13:35:38.000Z (almost 8 years ago)
- Last Synced: 2024-08-03T14:07:54.460Z (4 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-cakephp - Fixtures plugin - Fixtures plugin to read existing fixtures and create table/insert data for quick start with app. (Testing)
README
# CakePHP Fixtures
[![Build Status](https://travis-ci.org/LubosRemplik/CakePHP-Fixtures.svg)](https://travis-ci.org/LubosRemplik/CakePHP-Fixtures)
[![Latest Stable Version](https://poser.pugx.org/lubos/cakephp-fixtures/v/stable.svg)](https://packagist.org/packages/lubos/cakephp-fixtures)
[![Total Downloads](https://poser.pugx.org/lubos/cakephp-fixtures/downloads.svg)](https://packagist.org/packages/lubos/cakephp-fixtures)
[![Latest Unstable Version](https://poser.pugx.org/lubos/cakephp-fixtures/v/unstable.svg)](https://packagist.org/packages/lubos/cakephp-fixtures)
[![License](https://poser.pugx.org/lubos/cakephp-fixtures/license.svg)](https://packagist.org/packages/lubos/cakephp-fixtures)CakePHP Fixtures plugin to read fixtures and creating tables with data from tests.
## Installation & Configuration
```
composer require lubos/cakephp-fixtures
```Load plugin in bootstrap.php file
```
bin/cake plugin load Fixtures
```## Usage
run `bin/cake` to see shells and its options
Example:
```
bin/cake fixtures createTable "\Cake\Test\Fixture\ArticlesFixture"bin/cake fixtures insert "\Cake\Test\Fixture\ArticlesFixture"
```## Bugs & Features
For bugs and feature requests, please use the issues section of this repository.
If you want to help, pull requests are welcome.
Please follow few rules:- Fork & clone
- Code bugfix or feature
- Follow [CakePHP coding standards](https://github.com/cakephp/cakephp-codesniffer)
- Unit tests