turbolabit/php-foreachable

A PHP Trait to create custom DataSets/Collections

Installs: 723

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/turbolabit/php-foreachable

dev-main 2025-08-28 21:25 UTC

This package is auto-updated.

Last update: 2025-09-28 21:41:48 UTC


README

A PHP Trait to create custom DataSets/Collections

📦 Install it with composer

composer require turbolabit/php-foreachable:dev-main

🏗️ Create your DataSet/Collection

Example here

You can now use it:

 <?php
 $collListing = new Listing();
 foreach($collListing as $oneItem) {
 
    // ..
 }

See: MyDataSet | Usage

🧪 Test it

git clone git@github.com:TurboLabIt/php-foreachable.git
cd php-foreachable
bash script/test_runner.sh