PHPackages                             cakephp/datasources - 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. [Framework](/categories/framework)
4. /
5. cakephp/datasources

ActiveCakephp-plugin[Framework](/categories/framework)

cakephp/datasources
===================

CakePHP Datasources Plugin

235303.7k↓59.7%111[23 issues](https://github.com/cakephp/datasources/issues)[7 PRs](https://github.com/cakephp/datasources/pulls)1PHP

Since Nov 13Pushed 8y ago43 watchersCompare

[ Source](https://github.com/cakephp/datasources)[ Packagist](https://packagist.org/packages/cakephp/datasources)[ RSS](/packages/cakephp-datasources/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (1)

CakePHP datasources plugin - 2.0 dev branch
-------------------------------------------

[](#cakephp-datasources-plugin---20-dev-branch)

This plugin contains various datasources contributed by the core CakePHP team and the community. The datasources plugin for CakePHP 2.0 is still in development. Refer to the following lists which Datasources are already fixed for the 2.0 branch.

### Already compatible Datasources:

[](#already-compatible-datasources)

- AmazonAssociatesSource
- ArraySource
- CsvSource
- XmlrpcSource
- Database/MysqlLog

### Still Incompatible Datasources:

[](#still-incompatible-datasources)

- CouchdbSource
- LdapSource
- SoapSource
- Database/Adodb
- Database/Db2
- Database/Firebird
- Database/Odbc
- Database/Sqlite3
- Database/Sqlsrv
- Database/Sybase

### Using the datasources plugin

[](#using-the-datasources-plugin)

First download the repository and place it in `app/Plugin/Datasources` or on one of your plugin paths. You can then import and use the datasources in your App classes.

### Model validation

[](#model-validation)

Datasource plugin datasources can be used either through App::uses of by defining them in your database configuration

```
class DATABASE_CONFIG {
	public $mySource = array(
		'datasource' => 'Datasources.XmlrpcSource',
		...
		);
	}
}

```

or

```
App::uses('XmlrpcSource', 'Datasources.Model/Datasource');

```

or, if using one of the pdo extended datasources,

```
class DATABASE_CONFIG {
	public $mySource = array(
		'driver' => 'Datasources.Database/Firebird',
		...
		);
	}
}

```

Contributing to datasources
---------------------------

[](#contributing-to-datasources)

If you have a datasource, or an idea for a datasource that could benefit the CakePHP community, please fork the project on github. Once you have forked the project you can commit your datasource class (and any test cases). Once you have pushed your changes back to github you can send a pull request, and your changes will be reviewed and merged in or feedback will be given.

Issues with datasources
-----------------------

[](#issues-with-datasources)

If you have issues with the datasources plugin, you can report them via [Github issues](https://github.com/cakephp/datasources/issues)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23666?v=4)[CakePHP](/maintainers/cakephp)[@cakephp](https://github.com/cakephp)

---

Top Contributors

[![predominant](https://avatars.githubusercontent.com/u/24568?v=4)](https://github.com/predominant "predominant (96 commits)")[![jrbasso](https://avatars.githubusercontent.com/u/26548?v=4)](https://github.com/jrbasso "jrbasso (47 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (15 commits)")[![Phally](https://avatars.githubusercontent.com/u/112639?v=4)](https://github.com/Phally "Phally (13 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (12 commits)")[![chinpei215](https://avatars.githubusercontent.com/u/7399393?v=4)](https://github.com/chinpei215 "chinpei215 (12 commits)")[![maurymmarques](https://avatars.githubusercontent.com/u/338086?v=4)](https://github.com/maurymmarques "maurymmarques (8 commits)")[![ceeram](https://avatars.githubusercontent.com/u/111448?v=4)](https://github.com/ceeram "ceeram (8 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (8 commits)")[![CauanCabral](https://avatars.githubusercontent.com/u/83092?v=4)](https://github.com/CauanCabral "CauanCabral (7 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (5 commits)")[![Pagebakers](https://avatars.githubusercontent.com/u/32583?v=4)](https://github.com/Pagebakers "Pagebakers (3 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (3 commits)")[![jippi](https://avatars.githubusercontent.com/u/22841?v=4)](https://github.com/jippi "jippi (3 commits)")[![longkey1](https://avatars.githubusercontent.com/u/58566?v=4)](https://github.com/longkey1 "longkey1 (2 commits)")[![angelxmoreno](https://avatars.githubusercontent.com/u/363479?v=4)](https://github.com/angelxmoreno "angelxmoreno (2 commits)")[![thatcode](https://avatars.githubusercontent.com/u/160156?v=4)](https://github.com/thatcode "thatcode (2 commits)")[![lipedjow](https://avatars.githubusercontent.com/u/413263?v=4)](https://github.com/lipedjow "lipedjow (2 commits)")[![ctgraham](https://avatars.githubusercontent.com/u/7001322?v=4)](https://github.com/ctgraham "ctgraham (2 commits)")[![netors](https://avatars.githubusercontent.com/u/893833?v=4)](https://github.com/netors "netors (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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