ciricihq/caduco

A CakePHP ORM date limit behavior. Automatically excludes results based on their begin_date and end_date.


Keywords
cake-plugin, cakephp, date, daterange, orm, plugin
License
CNRI-Python-GPL-Compatible

Documentation

Caduco plugin for CakePHP 3

Build status Code coverage License Latest stable version Total downloads Code climate

This plugin allows you to easily stablish a begin and end dates to your ORM entities.

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require ciricihq/caduco

Execute migration

bin/cake migrations migrate --plugin Cirici/Caduco

Execute seed

bin/cake migrations seed --plugin Cirici/Caduco

Configuration

First you need to load the plugin. To do so, edit your bootstrap.php file and add line below:

Plugin::load('Cirici/Caduco', ['bootstrap' => true]);

Usage

TODO

License

Copyright (c) 2016, Cirici New Media - licensed under GNU GPL3 license.