An open API service indexing awesome lists of open source software.

https://github.com/ravage84/cakephp-valid-foreign-key-behavior

A CakePHP 2.x behavior plugin to validate foreign keys
https://github.com/ravage84/cakephp-valid-foreign-key-behavior

behavior cakephp cakephp-plugin foreign-keys plugin

Last synced: 11 months ago
JSON representation

A CakePHP 2.x behavior plugin to validate foreign keys

Awesome Lists containing this project

README

          

CakePHP ValidForeignKey Behavior
================================

A CakePHP 2.x behavior plugin to validate foreign keys.

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ravage84/cakephp-valid-foreign-key-behavior/master/LICENSE.txt)
[![Build Status](https://travis-ci.org/ravage84/cakephp-valid-foreign-key-behavior.svg?branch=master)](https://travis-ci.org/ravage84/cakephp-valid-foreign-key-behavior)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/ravage84/cakephp-valid-foreign-key-behavior/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/ravage84/cakephp-valid-foreign-key-behavior/)
[![Latest Stable Version](https://poser.pugx.org/ravage84/cakephp-valid-foreign-key-behavior/v/stable)](https://packagist.org/packages/ravage84/cakephp-valid-foreign-key-behavior)
[![Latest Unstable Version](https://poser.pugx.org/ravage84/cakephp-valid-foreign-key-behavior/v/unstable)](https://packagist.org/packages/ravage84/cakephp-valid-foreign-key-behavior)
[![Total Downloads](https://poser.pugx.org/ravage84/cakephp-valid-foreign-key-behavior/d/total.png)](https://packagist.org/packages/ravage84/cakephp-fake-seeder)
[![composer.lock](https://poser.pugx.org/ravage84/cakephp-valid-foreign-key-behavior/composerlock)](https://packagist.org/packages/ravage84/cakephp-valid-foreign-key-behavior)
[![GitHub issues](https://img.shields.io/github/issues/ravage84/cakephp-valid-foreign-key-behavior.svg)](https://github.com/ravage84/cakephp-valid-foreign-key-behavior/issues)
[![GitHub forks](https://img.shields.io/github/forks/ravage84/cakephp-valid-foreign-key-behavior.svg)](https://github.com/ravage84/cakephp-valid-foreign-key-behavior/network)
[![GitHub stars](https://img.shields.io/github/stars/ravage84/cakephp-valid-foreign-key-behavior.svg)](https://github.com/ravage84/cakephp-valid-foreign-key-behavior/stargazers)

## Why should I use it?

TODO

## Installation

### Requirements

- PHP >= 5.4
- CakePHP 2.x (tested with TODO)

### Installation via composer

````
composer require ravage84/cakephp-valid-foreign-key-behavior
````

### Installation alternatives

Refer to the CakePHP CookBook section
[How To Install Plugins](http://book.cakephp.org/2.0/en/plugins/how-to-install-plugins.html).

## CakePHP Version Support

This plugin only supports CakePHP 2.x.

## Versioning

The releases of this plugin are versioned using [SemVer](http://semver.org/).

## Configuration

TODO

## How to use

TODO

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)

## Security

If you discover any security related issues, **please email** @ravage84 **instead** of using the issue tracker.

## Changelog

See [CHANGELOG.md](CHANGELOG.md)

## TODOs

- Add unit tests
- Add documentation

## License

This plugin is licensed under the [MIT License](LICENSE).

## Attribution

This project was inspired by the works of others, such as:

TODO