pieceofcake2 / datasources
CakePHP 2 datasources: ArraySource for records defined in a model, CsvSource for CSV and TSV files, and more
Package info
github.com/pieceofcake2/datasources
Type:cakephp-plugin
pkg:composer/pieceofcake2/datasources
Requires
- php: ^8.0
- composer/installers: ^1.0 || ^2.0
- pieceofcake2/cakephp: ^2.12
Requires (Dev)
- adodb/adodb-php: ^5.22
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpcs-cakephp2: ^1.1
- pieceofcake2/phpstan-cakephp2: ^1.0
Suggests
- ext-ldap: Required for using LdapSource
Provides
None
Conflicts
None
Replaces
- cakephp/datasources: 2.*
This package is auto-updated.
Last update: 2026-10-16 20:37:33 UTC
README
This plugin contains various datasources contributed by the core CakePHP team and the community, including ArraySource for records defined in a model and CsvSource for CSV and TSV files. This is a fork of cakephp/datasources for pieceofcake2/cakephp.
Documentation
- Website: https://pieceofcake2.github.io/datasources/ (日本語: https://pieceofcake2.github.io/datasources/ja/)
- Markdown: docs/README.md (日本語: docs/ja/README.md) (for AI tools and offline reading)
The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/Datasources/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.
Requirements
- PHP 8.0+
- pieceofcake2/cakephp 2.12+
Installation
composer require pieceofcake2/datasources
Reporting Issues
Please open an issue on GitHub.
Contributing
See the contribution guidelines.
Origin
This package is a maintained fork of cakephp/datasources
(cakephp/datasources on Packagist, last upstream commit
b741921 on master), originally by the
CakePHP community (Cake Software Foundation, Inc.). It is maintained for CakePHP 2 on modern PHP by
pieceofcake2. Changes from the original are listed in the
commit history since the fork.
License
The MIT License. See LICENSE.