PHP Package: cakephp/collection

Collection component for CakePHP providing powerful array manipulation functions.

Current Version: 5.2.0
Last Updated: Date not available
PHP Requirement: >=8.1
Dependencies:
cakephp/cakephp
cakephp/utility
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

CakePHP Collection library offers a versatile set of tools for array handling and transformation. It simplifies complex array operations, making development more efficient and productive. With functions like map, reduce, and filter, it enhances data processing capabilities and ensures cleaner, concise code.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 5.2.4

Download Download v5.2.4

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/cakephp/collection/5.2.4/loader.php';
require_once 'libs/cakephp/cakephp/5.2.4/loader.php';
require_once 'libs/cakephp/utility/5.2.4/loader.php';

use Cake\Collection\Collection;
use Cake\Utility\Hash;

$obj = new Collection();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.