PHPackages                             kba-team/phinx-cake2 - 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. kba-team/phinx-cake2

ActiveTools

kba-team/phinx-cake2
====================

Easy usage of Phinx with CakePHP2

v1.3.0(3mo ago)010.5k↓47.7%MITPHPPHP &gt;=8.1 &lt;8.4CI passing

Since Feb 16Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/the-kbA-team/phinx-cake2)[ Packagist](https://packagist.org/packages/kba-team/phinx-cake2)[ RSS](/packages/kba-team-phinx-cake2/feed)WikiDiscussions staging Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (11)Used By (0)

Phinx for CakePHP2
==================

[](#phinx-for-cakephp2)

[Phinx](https://phinx.org/) is the default tool for database migrations in CakePHP3 and CakePHP4. Phinx can be used as a standalone tool, so it is possible to use it with CakePHP2. This project makes usage of Phinx with CakePHP2 less complicated.

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;= 7.0
- CakePHP2 installed via composer
- Mysql (no other DB supported a the moment)
- Migrations in folder Config/Migrations
- Seeds in folder Config/Seeds

What does it do?
----------------

[](#what-does-it-do)

This package provides a helper script and a default Phinx config file for usage with you CakePHP2 project.

By using the helper script it is not necessary to create a Phinx configuration for your project.

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

[](#installation)

```
composer require kba-team/phinx-cake2
```

Usage
-----

[](#usage)

Usage: `phinx-cake2.sh [command] [arguments] [options]`

Example
-------

[](#example)

```
./vendor/bin/phinx-cake2.sh migrate
```

If you want to migrate a plugin's migration.

```
PLUGIN= ./vendor/bin/phinx-cake2.sh migrate
```

In case the plugin uses its own database, you need to set the following in a file called `phinx.php` in the plugin's Config directory.

```
Configure::write('phinx.datasource', "");
```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance79

Regular maintenance activity

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 60.9% 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 ~240 days

Recently: every ~341 days

Total

7

Last Release

110d ago

Major Versions

v0.9.0-beta → v1.0.02022-02-16

PHP version history (3 changes)v0.9.0-betaPHP ^7.0

v1.2.1PHP &gt;=7.4 &lt;8.4

v1.3.0PHP &gt;=8.1 &lt;8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d94e4890bfd0a94f6f14f3930fcf8e4de63eb681a0e7b6a24b876ee31d4a8527?d=identicon)[grej](/maintainers/grej)

![](https://www.gravatar.com/avatar/f9039656fce4f32e1760d825f152809d3f6aef6d7cae5f29f3e3bb3d70996388?d=identicon)[stosef](/maintainers/stosef)

---

Top Contributors

[![gregor-j](https://avatars.githubusercontent.com/u/17705875?v=4)](https://github.com/gregor-j "gregor-j (14 commits)")[![stosef](https://avatars.githubusercontent.com/u/16034383?v=4)](https://github.com/stosef "stosef (8 commits)")[![tigerduck42](https://avatars.githubusercontent.com/u/3737924?v=4)](https://github.com/tigerduck42 "tigerduck42 (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kba-team-phinx-cake2/health.svg)

```
[![Health](https://phpackages.com/badges/kba-team-phinx-cake2/health.svg)](https://phpackages.com/packages/kba-team-phinx-cake2)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[odan/phinx-migrations-generator

Migration generator for Phinx

235847.8k23](/packages/odan-phinx-migrations-generator)[oleksandr-torosh/yona-cms

Yona CMS - open source content management system (CMS). Written in Phalcon PHP Framework (v 1.3.x). Has a convenient modular structure. Has simple configuration and architecture. Can be easily modified for any task with any loads.

3652.1k](/packages/oleksandr-torosh-yona-cms)[vesp/core

Vesp core library to make backend simple

243.8k5](/packages/vesp-core)[forme/framework

An MVC framework for WordPress.

175.0k3](/packages/forme-framework)

PHPackages © 2026

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