├── .coveralls.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── docs ├── configuration.md ├── customisation.md ├── examples.md ├── examples │ ├── UploadAndDeleteImageListener.md │ └── UploadFilenameListener.md ├── faq.md ├── installation.md ├── shell.md ├── upgrading.md └── validation.md ├── phpstan.neon ├── phpunit.xml ├── src ├── Database │ └── Type │ │ └── FileType.php ├── Exception │ ├── CannotUploadFileException.php │ └── InvalidClassException.php ├── Lib │ ├── ImageTransform.php │ ├── ImageTransformInterface.php │ ├── ProfferPath.php │ └── ProfferPathInterface.php ├── Model │ ├── Behavior │ │ └── ProfferBehavior.php │ └── Validation │ │ └── ProfferRules.php ├── Plugin.php └── Shell │ └── ProfferShell.php └── tests ├── Fixture ├── image_480x640.jpg └── image_640x480.jpg ├── Stubs ├── BadPath.php ├── TestPath.php └── TestTransform.php ├── TestCase ├── Lib │ └── ProfferPathTest.php └── Model │ ├── Behavior │ └── ProfferBehaviorTest.php │ └── Validation │ └── ProfferRulesTest.php └── bootstrap.php /.coveralls.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/.coveralls.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/composer.json -------------------------------------------------------------------------------- /docs/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/configuration.md -------------------------------------------------------------------------------- /docs/customisation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/customisation.md -------------------------------------------------------------------------------- /docs/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/examples.md -------------------------------------------------------------------------------- /docs/examples/UploadAndDeleteImageListener.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/examples/UploadAndDeleteImageListener.md -------------------------------------------------------------------------------- /docs/examples/UploadFilenameListener.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/examples/UploadFilenameListener.md -------------------------------------------------------------------------------- /docs/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/faq.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/shell.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/shell.md -------------------------------------------------------------------------------- /docs/upgrading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/upgrading.md -------------------------------------------------------------------------------- /docs/validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/docs/validation.md -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Database/Type/FileType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Database/Type/FileType.php -------------------------------------------------------------------------------- /src/Exception/CannotUploadFileException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Exception/CannotUploadFileException.php -------------------------------------------------------------------------------- /src/Exception/InvalidClassException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Exception/InvalidClassException.php -------------------------------------------------------------------------------- /src/Lib/ImageTransform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Lib/ImageTransform.php -------------------------------------------------------------------------------- /src/Lib/ImageTransformInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Lib/ImageTransformInterface.php -------------------------------------------------------------------------------- /src/Lib/ProfferPath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Lib/ProfferPath.php -------------------------------------------------------------------------------- /src/Lib/ProfferPathInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Lib/ProfferPathInterface.php -------------------------------------------------------------------------------- /src/Model/Behavior/ProfferBehavior.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Model/Behavior/ProfferBehavior.php -------------------------------------------------------------------------------- /src/Model/Validation/ProfferRules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Model/Validation/ProfferRules.php -------------------------------------------------------------------------------- /src/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Plugin.php -------------------------------------------------------------------------------- /src/Shell/ProfferShell.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/src/Shell/ProfferShell.php -------------------------------------------------------------------------------- /tests/Fixture/image_480x640.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/Fixture/image_480x640.jpg -------------------------------------------------------------------------------- /tests/Fixture/image_640x480.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/Fixture/image_640x480.jpg -------------------------------------------------------------------------------- /tests/Stubs/BadPath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/Stubs/BadPath.php -------------------------------------------------------------------------------- /tests/Stubs/TestPath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/Stubs/TestPath.php -------------------------------------------------------------------------------- /tests/Stubs/TestTransform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/Stubs/TestTransform.php -------------------------------------------------------------------------------- /tests/TestCase/Lib/ProfferPathTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/TestCase/Lib/ProfferPathTest.php -------------------------------------------------------------------------------- /tests/TestCase/Model/Behavior/ProfferBehaviorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/TestCase/Model/Behavior/ProfferBehaviorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Model/Validation/ProfferRulesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/TestCase/Model/Validation/ProfferRulesTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidyell/CakePHP-Proffer/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------