├── .github └── workflows │ └── ci.yml ├── LICENSE ├── README.md ├── composer.json ├── config ├── Migrations │ ├── 20160428093345_CaptchaInit.php │ └── 20160428093346_Binary.php ├── app.example.php └── bootstrap.php ├── docs ├── Active.md ├── Passive.md └── README.md ├── phpcs.xml ├── phpstan.neon ├── resources ├── fonts │ ├── COPYING │ ├── FreeSerif.ttf │ ├── cmex10.ttf │ ├── cmmi10.ttf │ ├── cmr10.ttf │ ├── index.php │ └── msam10.ttf ├── locales │ └── captcha.pot └── mathpublisher.php ├── src ├── CaptchaPlugin.php ├── Controller │ ├── CaptchaController.php │ └── Component │ │ ├── CaptchaComponent.php │ │ └── PreparerComponent.php ├── Database │ └── Type │ │ └── ImageType.php ├── Engine │ ├── EngineInterface.php │ ├── Math │ │ ├── MathInterface.php │ │ └── SimpleMath.php │ ├── MathEngine.php │ ├── Null │ │ ├── Hidden.php │ │ └── NullInterface.php │ └── NullEngine.php ├── Model │ ├── Behavior │ │ ├── CaptchaBehavior.php │ │ └── PassiveCaptchaBehavior.php │ ├── Entity │ │ └── Captcha.php │ ├── Rule │ │ └── MaxRule.php │ └── Table │ │ └── CaptchasTable.php └── View │ ├── CaptchaView.php │ └── Helper │ └── CaptchaHelper.php ├── templates └── Captcha │ ├── display.php │ ├── jpg │ └── display.php │ └── png │ └── display.php └── tests ├── Fixture ├── CaptchasFixture.php ├── CommentsFixture.php └── SessionsFixture.php ├── TestCase ├── Controller │ ├── CaptchaControllerTest.php │ └── Component │ │ └── CaptchaComponentTest.php ├── Engine │ ├── MathEngineTest.php │ └── NullEngineTest.php ├── Model │ ├── Behavior │ │ ├── CaptchaBehaviorTest.php │ │ └── PassiveCaptchaBehaviorTest.php │ └── Table │ │ └── CaptchasTableTest.php └── View │ └── Helper │ └── CaptchaHelperTest.php ├── config ├── bootstrap.php └── routes.php ├── schema.php └── shim.php /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/composer.json -------------------------------------------------------------------------------- /config/Migrations/20160428093345_CaptchaInit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/config/Migrations/20160428093345_CaptchaInit.php -------------------------------------------------------------------------------- /config/Migrations/20160428093346_Binary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/config/Migrations/20160428093346_Binary.php -------------------------------------------------------------------------------- /config/app.example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/config/app.example.php -------------------------------------------------------------------------------- /config/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/config/bootstrap.php -------------------------------------------------------------------------------- /docs/Active.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/docs/Active.md -------------------------------------------------------------------------------- /docs/Passive.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/docs/Passive.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/docs/README.md -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/phpstan.neon -------------------------------------------------------------------------------- /resources/fonts/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/COPYING -------------------------------------------------------------------------------- /resources/fonts/FreeSerif.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/FreeSerif.ttf -------------------------------------------------------------------------------- /resources/fonts/cmex10.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/cmex10.ttf -------------------------------------------------------------------------------- /resources/fonts/cmmi10.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/cmmi10.ttf -------------------------------------------------------------------------------- /resources/fonts/cmr10.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/cmr10.ttf -------------------------------------------------------------------------------- /resources/fonts/index.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/fonts/msam10.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/fonts/msam10.ttf -------------------------------------------------------------------------------- /resources/locales/captcha.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/locales/captcha.pot -------------------------------------------------------------------------------- /resources/mathpublisher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/resources/mathpublisher.php -------------------------------------------------------------------------------- /src/CaptchaPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/CaptchaPlugin.php -------------------------------------------------------------------------------- /src/Controller/CaptchaController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Controller/CaptchaController.php -------------------------------------------------------------------------------- /src/Controller/Component/CaptchaComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Controller/Component/CaptchaComponent.php -------------------------------------------------------------------------------- /src/Controller/Component/PreparerComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Controller/Component/PreparerComponent.php -------------------------------------------------------------------------------- /src/Database/Type/ImageType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Database/Type/ImageType.php -------------------------------------------------------------------------------- /src/Engine/EngineInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/EngineInterface.php -------------------------------------------------------------------------------- /src/Engine/Math/MathInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/Math/MathInterface.php -------------------------------------------------------------------------------- /src/Engine/Math/SimpleMath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/Math/SimpleMath.php -------------------------------------------------------------------------------- /src/Engine/MathEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/MathEngine.php -------------------------------------------------------------------------------- /src/Engine/Null/Hidden.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/Null/Hidden.php -------------------------------------------------------------------------------- /src/Engine/Null/NullInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/Null/NullInterface.php -------------------------------------------------------------------------------- /src/Engine/NullEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Engine/NullEngine.php -------------------------------------------------------------------------------- /src/Model/Behavior/CaptchaBehavior.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Model/Behavior/CaptchaBehavior.php -------------------------------------------------------------------------------- /src/Model/Behavior/PassiveCaptchaBehavior.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Model/Behavior/PassiveCaptchaBehavior.php -------------------------------------------------------------------------------- /src/Model/Entity/Captcha.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Model/Entity/Captcha.php -------------------------------------------------------------------------------- /src/Model/Rule/MaxRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Model/Rule/MaxRule.php -------------------------------------------------------------------------------- /src/Model/Table/CaptchasTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/Model/Table/CaptchasTable.php -------------------------------------------------------------------------------- /src/View/CaptchaView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/View/CaptchaView.php -------------------------------------------------------------------------------- /src/View/Helper/CaptchaHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/src/View/Helper/CaptchaHelper.php -------------------------------------------------------------------------------- /templates/Captcha/display.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/templates/Captcha/display.php -------------------------------------------------------------------------------- /templates/Captcha/jpg/display.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/templates/Captcha/jpg/display.php -------------------------------------------------------------------------------- /templates/Captcha/png/display.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/templates/Captcha/png/display.php -------------------------------------------------------------------------------- /tests/Fixture/CaptchasFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/Fixture/CaptchasFixture.php -------------------------------------------------------------------------------- /tests/Fixture/CommentsFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/Fixture/CommentsFixture.php -------------------------------------------------------------------------------- /tests/Fixture/SessionsFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/Fixture/SessionsFixture.php -------------------------------------------------------------------------------- /tests/TestCase/Controller/CaptchaControllerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Controller/CaptchaControllerTest.php -------------------------------------------------------------------------------- /tests/TestCase/Controller/Component/CaptchaComponentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Controller/Component/CaptchaComponentTest.php -------------------------------------------------------------------------------- /tests/TestCase/Engine/MathEngineTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Engine/MathEngineTest.php -------------------------------------------------------------------------------- /tests/TestCase/Engine/NullEngineTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Engine/NullEngineTest.php -------------------------------------------------------------------------------- /tests/TestCase/Model/Behavior/CaptchaBehaviorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Model/Behavior/CaptchaBehaviorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Model/Behavior/PassiveCaptchaBehaviorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Model/Behavior/PassiveCaptchaBehaviorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Model/Table/CaptchasTableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/Model/Table/CaptchasTableTest.php -------------------------------------------------------------------------------- /tests/TestCase/View/Helper/CaptchaHelperTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dereuromark/cakephp-captcha/HEAD/tests/TestCase/View/Helper/CaptchaHelperTest.php -------------------------------------------------------------------------------- /tests/config/bootstrap.php: -------------------------------------------------------------------------------- 1 |