PHPackages                             turbolabit/php-foreachable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. turbolabit/php-foreachable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

turbolabit/php-foreachable
==========================

A PHP Trait to create custom DataSets/Collections

0845↓33.3%PHP

Since Aug 28Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/TurboLabIt/php-foreachable)[ Packagist](https://packagist.org/packages/turbolabit/php-foreachable)[ RSS](/packages/turbolabit-php-foreachable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-foreachable
===============

[](#php-foreachable)

A PHP Trait to create custom DataSets/Collections

📦 Install it with composer
--------------------------

[](#-install-it-with-composer)

```
composer require turbolabit/php-foreachable:dev-main
```

🏗️ Create your DataSet/Collection
---------------------------------

[](#️-create-your-datasetcollection)

[Example here](https://github.com/TurboLabIt/php-foreachable/blob/main/src/ForeachableCollection.php)

You can now use it:

```
