Skip to content

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

License

Notifications You must be signed in to change notification settings

ciricihq/caduco

Repository files navigation

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.