2017 © Pedro PelĂĄez
 

library collections

Collections Abstraction library for PHP

image

easyframework/collections

Collections Abstraction library for PHP

  • Tuesday, December 13, 2016
  • by italolelis
  • Repository
  • 10 Watchers
  • 60 Stars
  • 65,084 Installations
  • PHP
  • 21 Dependents
  • 0 Suggesters
  • 16 Forks
  • 1 Open issues
  • 41 Versions
  • 6 % Grown

The README.md

Collections

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Downloads, (*1)

Collections Abstraction library for PHP, (*2)

The Collection library is one of the most useful things that many modern languages has, but for some reason PHP doesn't has a built in collection layer., (*3)

For that reason we created Collections, an incredible library that gathers the best of .NET's and Java's collections patterns and unify it with PHP array power., (*4)

Take a look and see what we're talking about!!, (*5)

Install

composer require easyframework/collections

Usage

The Collection Class

The Collection represents the List in .NET language or simply non-associative arrays in php:, (*6)

  $person1 = new \stdClass();
  $person1->name = 'John';
  $person1->age = 25;

  $person2 = new \stdClass();
  $person2->name = 'Maria';
  $person2->age = 30;

  $person3 = new \stdClass();
  $person3->name = 'Anderson';
  $person3->age = 15;

  $collection = new Collections\Vector();
  $collection->add($person1);
  $collection->add($person2);
  $collection->add($person3);

  $collection->filter(function($person){
        return $person->age > 18;
  })->each(function($item){
        echo $item->name; //John and Maria
  });

Contributing

Please see CONTRIBUTING for details., (*7)

License

The MIT License (MIT). Please see License File for more information., (*8)

Documentation

More information can be found in the online documentation at https://italolelis.gitbooks.io/collections., (*9)

The Versions

13/12 2016

dev-master

9999999-dev https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

13/12 2016

v7.0.0

7.0.0.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

13/12 2016

5.x-dev

5.9999999.9999999.9999999-dev https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

28/06 2016

v6.0.1

6.0.1.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

27/06 2016

v6.0.0

6.0.0.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

24/06 2016

v5.0.5

5.0.5.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

10/06 2016

v5.0.4

5.0.4.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

03/06 2016

v5.0.3

5.0.3.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

28/05 2016

v5.0.2

5.0.2.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

02/05 2016

v5.0.1

5.0.1.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

06/04 2016

v5.0.0

5.0.0.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

06/04 2016

5.0.0-beta

5.0.0.0-beta https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

14/12 2015

v4.1.8

4.1.8.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

14/12 2015

v4.1.6

4.1.6.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

11/12 2015

v4.1.5

4.1.5.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

07/12 2015

v4.1.3

4.1.3.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

01/12 2015

v4.1.2

4.1.2.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

01/12 2015

v4.1.4

4.1.4.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

01/12 2015

v4.1.7

4.1.7.0 https://github.com/italolelis/collections

Collections Abstraction library for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

01/12 2015

v4.1.1

4.1.1.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

03/07 2015

v4.1.0

4.1.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

21/02 2015

v4.0.0

4.0.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

21/02 2015

v4.0.0-beta

4.0.0.0-beta https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

14/02 2015

3.2.x-dev

3.2.9999999.9999999-dev https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

14/02 2015

v3.2.0

3.2.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

27/10 2014

v3.1.3

3.1.3.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

08/09 2014

v3.1.2

3.1.2.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

05/09 2014

v3.1.1

3.1.1.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

27/08 2014

v3.1.0

3.1.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

26/08 2014

v3.0.0

3.0.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

20/08 2014

v2.2.0

2.2.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

28/07 2014

v2.1.1

2.1.1.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

28/07 2014

v2.1.0

2.1.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

30/04 2014

v2.0.0

2.0.0.0 https://github.com/LellysInformatica/collections

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

13/03 2014

v1.2.2

1.2.2.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

13/03 2014

v1.2.1

1.2.1.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

13/03 2014

v1.2.0

1.2.0.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

11/02 2014

v1.1.2

1.1.2.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

23/01 2014

v1.1.1

1.1.1.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

27/11 2013

v1.1.0

1.1.0.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics

17/11 2013

v1.0.0

1.0.0.0 http://easyframework.net/

Easy Framework Collection Component

  Sources   Download

MIT

The Requires

 

The Development Requires

framework collection easy generics