PHPackages                             satthi/entity-column-check - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. satthi/entity-column-check

ActiveCakephp-plugin[File &amp; Storage](/categories/file-storage)

satthi/entity-column-check
==========================

CakePHP EntityColumnCheck

0.1.3(9y ago)032.7k↓100%MITPHP

Since Feb 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/satthi/entity-column-check)[ Packagist](https://packagist.org/packages/satthi/entity-column-check)[ Docs](https://github.com/satthi/entity-column-check)[ RSS](/packages/satthi-entity-column-check/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

entity-column-check
===================

[](#entity-column-check)

[![Build Status](https://camo.githubusercontent.com/a255e1b01d5de518621b22631d10596a5c750bb4000191d627e3228501249036/68747470733a2f2f7472617669732d63692e6f72672f7361747468692f656e746974792d636f6c756d6e2d636865636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/satthi/entity-column-check)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d023845bec14dc79abaabf6d4977589ec7702c5b83e8f6b7308dbb0c339dc2ef/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7361747468692f656e746974792d636f6c756d6e2d636865636b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/satthi/entity-column-check/?branch=master)

このプラグインはCakePHP3のEntityにおいて

- プロパティに設定されているもの
- DBのカラムに該当するもの
- 特定の例外のカラム

以外のものがセットされている場合にExceptionを返すプラグインです

インストール
------

[](#インストール)

composer.json

```
{
	"require": {
		"satthi/entity-column-check": "*"
	}
}

```

`composer install`

使い方
---

[](#使い方)

Entity

```
