2017 © Pedro Peláez
 

library collection

Work easily with arrays and iterators by having a battery of utility traversal methods

image

cakephp/collection

Work easily with arrays and iterators by having a battery of utility traversal methods

  • Sunday, June 10, 2018
  • by cakephp
  • Repository
  • 33 Watchers
  • 41 Stars
  • 246,131 Installations
  • PHP
  • 11 Dependents
  • 1 Suggesters
  • 4 Forks
  • 0 Open issues
  • 100 Versions
  • 16 % Grown

The README.md

Total Downloads License, (*1)

CakePHP Collection Library

The collection classes provide a set of tools to manipulate arrays or Traversable objects. If you have ever used underscore.js, you have an idea of what you can expect from the collection classes., (*2)

Usage

Collections can be created using an array or Traversable object. A simple use of a Collection would be:, (*3)

use Cake\Collection\Collection;

$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);

// Create a new collection containing elements
// with a value greater than one.
$overOne = $collection->filter(function ($value, $key, $iterator) {
    return $value > 1;
});

The Collection\CollectionTrait allows you to integrate collection-like features into any Traversable object you have in your application as well., (*4)

Documentation

Please make sure you check the official documentation, (*5)

The Versions

10/06 2018

dev-master

9999999-dev https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

10/06 2018

3.6.6

3.6.6.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

10/06 2018

3.6.7

3.6.7.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

10/06 2018

3.6.8

3.6.8.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

10/06 2018

3.6.9

3.6.9.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

31/05 2018

3.6.5

3.6.5.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

dev-3.next

dev-3.next https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.1

3.6.1.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.2

3.6.2.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.0

3.6.0.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.0-RC2

3.6.0.0-RC2 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.3

3.6.3.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

26/03 2018

3.6.4

3.6.4.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

20/03 2018

3.6.0-RC1

3.6.0.0-RC1 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

14/03 2018

3.6.0-beta3

3.6.0.0-beta3 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

18/01 2018

3.6.0-beta1

3.6.0.0-beta1 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

18/01 2018

3.6.0-beta2

3.6.0.0-beta2 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.6

3.5.6.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.7

3.5.7.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.8

3.5.8.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.9

3.5.9.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.10

3.5.10.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.11

3.5.11.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.12

3.5.12.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.13

3.5.13.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.14

3.5.14.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.15

3.5.15.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.x-dev

3.5.9999999.9999999-dev https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

15/11 2017

3.5.17

3.5.17.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

30/09 2017

3.5.4

3.5.4.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

30/09 2017

3.5.5

3.5.5.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

22/08 2017

3.5.1

3.5.1.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

22/08 2017

3.5.2

3.5.2.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

22/08 2017

3.5.3

3.5.3.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

28/07 2017

3.5.0

3.5.0.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

28/07 2017

3.5.0-RC2

3.5.0.0-RC2 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

23/07 2017

3.5.0-RC1

3.5.0.0-RC1 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/07 2017

3.4.11

3.4.11.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/07 2017

3.4.12

3.4.12.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/07 2017

3.4.13

3.4.13.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/07 2017

3.4.x-dev

3.4.9999999.9999999-dev https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/07 2017

3.4.14

3.4.14.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

11/06 2017

3.4.10

3.4.10.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

11/06 2017

3.4.8

3.4.8.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

11/06 2017

3.4.9

3.4.9.0 https://cakephp.org

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

cakephp arrays collections iterators

17/04 2017

3.4.6

3.4.6.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

17/04 2017

3.4.7

3.4.7.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/03 2017

3.4.4

3.4.4.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/03 2017

3.4.5

3.4.5.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

04/02 2017

3.4.0

3.4.0.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

04/02 2017

3.4.0-RC4

3.4.0.0-RC4

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

04/02 2017

3.4.1

3.4.1.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

04/02 2017

3.4.2

3.4.2.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

04/02 2017

3.4.3

3.4.3.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

31/01 2017

3.3.14

3.3.14.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

31/01 2017

3.3.15

3.3.15.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

31/01 2017

3.3.16

3.3.16.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

24/01 2017

3.3.13

3.3.13.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

18/01 2017

3.4.0-RC3

3.4.0.0-RC3

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/01 2017

3.4.0-RC1

3.4.0.0-RC1

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/01 2017

3.4.0-RC2

3.4.0.0-RC2

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

10/01 2017

3.3.12

3.3.12.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

05/01 2017

3.4.0-beta4

3.4.0.0-beta4

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

22/12 2016

3.4.0-beta1

3.4.0.0-beta1

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

22/12 2016

3.4.0-beta2

3.4.0.0-beta2

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

22/12 2016

3.4.0-beta3

3.4.0.0-beta3

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

02/11 2016

3.3.10

3.3.10.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

02/11 2016

3.3.11

3.3.11.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

02/11 2016

3.3.8

3.3.8.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

02/11 2016

3.3.9

3.3.9.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

07/09 2016

3.3.4

3.3.4.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

07/09 2016

3.3.5

3.3.5.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

07/09 2016

3.3.6

3.3.6.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

07/09 2016

3.3.7

3.3.7.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

13/08 2016

3.3.0

3.3.0.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

13/08 2016

3.3.1

3.3.1.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

13/08 2016

3.3.2

3.3.2.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

13/08 2016

3.3.3

3.3.3.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

10/08 2016

3.2.14

3.2.14.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

15/07 2016

3.3.0-beta2

3.3.0.0-beta2

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

15/07 2016

3.3.0-beta3

3.3.0.0-beta3

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

15/07 2016

3.3.0-RC1

3.3.0.0-RC1

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

13/07 2016

3.2.13

3.2.13.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

21/06 2016

3.3.0-beta

3.3.0.0-beta

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

15/06 2016

3.2.11

3.2.11.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

15/06 2016

3.2.12

3.2.12.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

18/04 2016

3.2.10

3.2.10.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

18/04 2016

3.2.8

3.2.8.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

18/04 2016

3.2.9

3.2.9.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/03 2016

3.2.5

3.2.5.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/03 2016

3.2.6

3.2.6.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

11/03 2016

3.2.7

3.2.7.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

19/02 2016

3.2.3

3.2.3.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

19/02 2016

3.2.4

3.2.4.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

09/02 2016

3.2.2

3.2.2.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

28/01 2016

3.1.x-dev

3.1.9999999.9999999-dev

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

28/01 2016

dev-3-1

dev-3-1

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

28/01 2016

3.1.10

3.1.10.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

28/01 2016

3.1.13

3.1.13.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT

28/01 2016

3.1.9

3.1.9.0

Work easily with arrays and iterators by having a battery of utility traversal methods

  Sources   Download

MIT