Skip to content

A trait to create custom PHP DataSets/Collections faster

Notifications You must be signed in to change notification settings

TurboLabIt/php-foreachable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-foreachable

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

About

A trait to create custom PHP DataSets/Collections faster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published