PHPackages                             cakephp-tutorial/autodate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cakephp-tutorial/autodate

ActiveCakephp-plugin

cakephp-tutorial/autodate
=========================

Automatically convert date fields

1.0.1(10y ago)2171MITPHPPHP &gt;=5.2.0

Since Dec 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/cakephp-tutorial/Autodate)[ Packagist](https://packagist.org/packages/cakephp-tutorial/autodate)[ Docs](https://github.com/cakephp-tutorial/Autodate)[ RSS](/packages/cakephp-tutorial-autodate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

A CakePHP Plugin that will auto convert date fields from SQL format to a chosen date format (eg: d/m/Y). Will auto convert the date before saving to database, before find (to match conditions on db), after find and after update

[![Total Downloads](https://camo.githubusercontent.com/51f23ff652723ccc9dbed08309509c4e0e2bafabb3b217c67d46e4152ed2a66b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616b657068702d7475746f7269616c2f6175746f646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp-tutorial/autodate)[![Latest Stable Version](https://camo.githubusercontent.com/1a01a522581e6e4207a80e40af386c3d8291445645f7ed2947cade89082ed57f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616b657068702d7475746f7269616c2f6175746f646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp-tutorial/autodate)

Requirements
------------

[](#requirements)

- CakePHP 2
- PHP 5.2

Compatibility
-------------

[](#compatibility)

- V 1.x - CakePHP 2

Usage
-----

[](#usage)

```
/**
 * Attach to AppModel to auto convert all date fields
 * or attach it to a single model
 **/
class AppModel extends Model {
    public $actsAs = array(
        'Autodate.Autodate' => array('dateformat' => 'd/m/Y')
    );
}
```

#### Available date Formats

[](#available-date-formats)

- 'd-m-Y'
- 'd/m/Y'
- 'Y/m/d'
- 'Y-m-d'
- 'Y-d-m'
- 'Y/d/m'
- 'm-d-Y'
- 'm/d/Y'
- 'Ymd'
- 'Ydm'

Installation
------------

[](#installation)

### Using composer

[](#using-composer)

```
{
    "require": {
        "cakephp-tutorial/autodate": "1.0.0"
    }
}

```

### Manually Installation

[](#manually-installation)

- Download from github
- copy in app/Plugin/Autodate
- enable in app/Config/bootstrap.php

```
CakePlugin::load('Autodate');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

3785d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e800d38d8c0e12536f773bfb2b83a34c171e551f536b374ec291085d6620b339?d=identicon)[cakephp-tutorial](/maintainers/cakephp-tutorial)

---

Top Contributors

[![raponiwalter](https://avatars.githubusercontent.com/u/52984?v=4)](https://github.com/raponiwalter "raponiwalter (5 commits)")[![cakephp-tutorial](https://avatars.githubusercontent.com/u/9980718?v=4)](https://github.com/cakephp-tutorial "cakephp-tutorial (1 commits)")

---

Tags

plugincakephpconverterdateBehavior

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakephp-tutorial-autodate/health.svg)

```
[![Health](https://phpackages.com/badges/cakephp-tutorial-autodate/health.svg)](https://phpackages.com/packages/cakephp-tutorial-autodate)
```

###  Alternatives

[itosho/easy-query

CakePHP behavior plugin for easily generating some complicated queries like (bulk) insert/upsert etc.

2623.2k](/packages/itosho-easy-query)[dereuromark/cakephp-mailchimp

A CakePHP plugin for MailChimp

2217.9k](/packages/dereuromark-cakephp-mailchimp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
