Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Templates Plugin for CakePHP
PHP
branch: master

Merge branch 'develop'

* develop:
  Tag release for Packagist
  Update documentation
latest commit 844528e728
@deizel deizel authored

README.md

CakeDC Templates Plugin

Bake Status Downloads Latest Version

This plugin allows you to quickly bake your applications with collection-like operations over your models and high test coverage (100%) for all your baked code.

In short, this plugin includes custom templates for the bake code generator. It also provides a wizard which will help you choose the right options for your bake commands.

Generated code focuses on the "fat models" mantra - they will have most of the logic for handling your data, and sending messages back to the controller to do the flow control.

One might ask, "why would I need to test model CRUD code that is already checked with cake core tests?"

The answer is simple: when you extend model features with callbacks and different behavior unexpected things might happen with model configurations and some of the CRUD operations can be easily broken. The same applies to controller level tests.

Requirements

  • CakePHP 2.x
  • PHP 5.2.8+

Documentation

For documentation, as well as tutorials, see the Docs directory of this repository.

Support

For bugs and feature requests, please use the issues section of this repository.

Commercial support is also available, contact us for more information.

Contributing

This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.

License

Copyright 2007-2015 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

Something went wrong with that request. Please try again.