2017 © Pedro Peláez
 

library tier

Helper class for application tiers definitions

image

hrodic/tier

Helper class for application tiers definitions

  • Saturday, June 24, 2017
  • by hrodic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Pachico\Tier

Travis Scrutinizer Code Quality codecov, (*1)

Tier is a simple class with no dependencies that handles the definition of application tiers. This is to avoid the usage of non standard strings that usually define the tier an application is running in., (*2)

This becomes handly when dealing with frameworks and the required tier configuration files., (*3)

Install

Via Composer, (*4)

``` bash $ composer require pachico/tier, (*5)


## Usage ```php use Pachico\Tier\Tier; $tier = new Tier(Tier::DEVELOPMENT, [ Tier::DEVELOPMENT, Tier::STAGING, Tier::PRODUCTION ] ); echo $tier . PHP_EOL; // development echo json_encode($tier, JSON_PRETTY_PRINT) . PHP_EOL; /** { "tier": "development", "applicationTiers": [ "development", "staging", "production" ] } */

Change log

Please see CHANGELOG for more information on what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*8)

Security

If you discover any security related issues, please email pachicodev@gmail.com instead of using the issue tracker., (*9)

License

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

The Versions

24/06 2017

dev-master

9999999-dev https://github.com/pachico/tier

Helper class for application tiers definitions

  Sources   Download

MIT

The Requires

  • php ~5.4|~7.0

 

The Development Requires

environment pachico tier

24/06 2017

1.0.0

1.0.0.0 https://github.com/pachico/tier

Helper class for application tiers definitions

  Sources   Download

MIT

The Requires

  • php ~5.4|~7.0

 

The Development Requires

environment pachico tier

10/01 2017

0.1.0

0.1.0.0 https://github.com/pachico/tier

Helper class for application tiers definitions

  Sources   Download

MIT

The Requires

  • php ~5.4|~7.0

 

The Development Requires

environment pachico tier