2017 © Pedro Peláez
 

library php-tools

Several PHP 7 tools to make life a little easier

image

atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  • Friday, March 2, 2018
  • by atrapalo
  • Repository
  • 64 Watchers
  • 1 Stars
  • 6,801 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 16 Versions
  • 19 % Grown

The README.md

PHP Tools

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

Several PHP 7 tools to make life a little easier, (*2)

Installation

composer require atrapalo/php-tools

Enum

PHP Enum implementation inspired from SplEnum and based on project myclabs/php-enum because it is not integrated to PHP, you have to install it separately., (*3)

Using an enum instead of class constants provides the following advantages:, (*4)

  • You can type-hint: function setAction(Action $action) {
  • You can enrich the enum with methods (e.g. format, parse, …)
  • You can extend the enum to add new values (make your enum final to prevent it)
  • You can get a list of all the possible values (see below)

This Enum class is not intended to replace class constants, but only to be used when it makes sense., (*5)

See documentation, (*6)

Collection

PHP EntityCollection implementation inspired on ArrayCollection from project doctrine/collections., (*7)

See documentation, (*8)

The Versions

02/03 2018

dev-master

9999999-dev https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

02/03 2018

3.2.0

3.2.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

01/03 2018

3.1.0

3.1.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

13/02 2018

3.0.1

3.0.1.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

24/04 2017

dev-CHANGE_ISVALID

dev-CHANGE_ISVALID https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

24/04 2017

3.0.0

3.0.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

12/04 2017

dev-StrictCollection

dev-StrictCollection https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

03/04 2017

dev-FixEnumTester

dev-FixEnumTester https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

03/04 2017

dev-masterV2

dev-masterV2 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

03/04 2017

2.0.1

2.0.1.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

03/04 2017

2.0.0

2.0.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

30/03 2017

1.1.0

1.1.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

30/03 2017

dev-masterV1

dev-masterV1 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

29/03 2017

dev-CollectionInit

dev-CollectionInit https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

29/03 2017

1.0.1

1.0.1.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase

29/03 2017

1.0.0

1.0.0.0 https://github.com/atrapalo/php-tools

Several PHP 7 tools to make life a little easier

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-reflection *

 

The Development Requires

by Guillermo González

php collection enum tools camelcase