2017 © Pedro Peláez
 

library ardent

A generic data structures library for PHP without language-level support

image

morrisonlevi/ardent

A generic data structures library for PHP without language-level support

  • Tuesday, June 26, 2018
  • by morrison.levi
  • Repository
  • 34 Watchers
  • 598 Stars
  • 14,414 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 54 Forks
  • 9 Open issues
  • 33 Versions
  • 3 % Grown

The README.md

A Library of Collections for OO Programming

Build Status, (*1)

While developing and helping others develop PHP applications I noticed the trend to use PHP's arrays in nearly every task. Arrays in PHP are useful but are overused because PHP doesn't have rich standard libraries for working with common data structures and algorithms. This library hopes to fill in that gap. Undoubtably, I've made mistakes in design and implementation; hopefully more community involvement can help identify and fix such mistakes., (*2)

Requirements

Patience

This project is unstable and subject to significant changes from release to release. Stability is not a goal during this phase of development. To be clear: you are using this project at your own risk. I highly value your experience using this library and am thankful for the early adopters, but I want to emphasize that this project is highly unstable., (*3)

PHP 5.4

This project requires PHP 5.4 because PHP 5.3 is at its End Of Life (EOL). As such the project makes use of Traits, the callable type and short array syntax. Depending on how long this project takes to mature it might require PHP 5.5 for generators and improved handling of non-scalar keys in foreach loops, or maybe PHP 5.6 for ... support., (*4)

You can also use HHVM. I won't let HHVM compatibility stop me from doing what I feel is right for this library, but hopefully we can maintain compatibility., (*5)

Roadmap

There is no official roadmap for this project. I intend to release version 1.0.0 when I am confident enough in the API that it is suitable for public use. Until then, minor versions will be tagged as they are deemed helpful. This project follows semantic versioning., (*6)

How can I help?

The best way to help is to use the library (again, at your own risk) and submit issues when you find them. Over 99% of the library has been executed in a unit test but the quality of some of these tests is poor; improved tests are definitely welcome., (*7)

Can you add X structure?

Maybe. Open an issue and I'll look into it., (*8)

Why not use the existing Standard PHP Library?

The Standard PHP Library (SPL) has many problems, some of which are documented in an unfinished RFC regarding the SPL. I won't go into full details here, but essentially the SPL is not providing the standardized data structures and algorithms that I feel the PHP community needs., (*9)

What's up with the name?

This project was originally aimed to fix the SPL; as such I had named it SPL. Eventually I realized that I would do better with a different name; I picked Ardent it describes how I feel about the need for this kind of library. Unfortunately another PHP project decided to use the name after I had already picked it., (*10)

The Versions

26/06 2018

dev-gcl

dev-gcl https://github.com/morrisonlevi/Ardent

A generic data structures library for PHP without language-level support

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

collections ardent data structures

22/11 2017

dev-Traits

dev-Traits https://github.com/morrisonlevi/Ardent

A library for building Collections and Sequences

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

php collections ardent spl data structures

10/03 2017

dev-AlaScala

dev-AlaScala https://github.com/morrisonlevi/Ardent

A collections library for PHP

  Sources   Download

MIT

The Requires

  • php ^7.0

 

php library collections enumerable algorithms ardent spl data structures iterable

19/06 2016

dev-master

9999999-dev https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

php library collections algorithms ardent spl data structures

16/05 2016

0.21.1

0.21.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

php library collections algorithms ardent spl data structures

16/05 2016

0.21.0

0.21.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

php library collections algorithms ardent spl data structures

13/11 2015

0.20.1

0.20.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections algorithms ardent spl data structures

09/11 2015

0.20.0

0.20.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections algorithms ardent spl data structures

31/10 2015

dev-Algorithms

dev-Algorithms https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

31/10 2015

dev-Attributes

dev-Attributes https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

18/04 2014

dev-PHP5.7

dev-PHP5.7 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ~5.4

 

php library collections ardent spl

10/04 2014

0.14.0

0.14.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ~5.4

 

php library collections ardent spl

27/03 2014

0.13.0

0.13.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php ~5.4

 

php library collections ardent spl

09/01 2014

0.12.1

0.12.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

09/01 2014

0.12.0

0.12.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

05/01 2014

0.11.0

0.11.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

02/01 2014

0.10.0

0.10.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library collections ardent spl

30/12 2013

0.9.1

0.9.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

26/12 2013

0.9.0

0.9.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

16/08 2013

0.8.1

0.8.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

09/08 2013

0.8.0

0.8.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

18/07 2013

0.7.1

0.7.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

18/07 2013

0.7.0

0.7.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

06/04 2013

0.6.1

0.6.1.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

05/04 2013

0.6.0

0.6.0.0 https://github.com/morrisonlevi/Ardent

A healthy library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

php library ardent spl

28/11 2012

0.5.0

0.5.0.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

25/11 2012

0.4.2

0.4.2.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

24/11 2012

0.4.1

0.4.1.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

24/11 2012

0.4.0

0.4.0.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

11/11 2012

0.3.1

0.3.1.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

10/11 2012

0.3.0

0.3.0.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

05/11 2012

0.2.0

0.2.0.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library

10/09 2012

0.1.0

0.1.0.0 https://github.com/morrisonlevi/PHP-Datastructures

A new standard library for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php spl standard library