2017 © Pedro Peláez
 

library environment

The lib allows to check your environment easy and allows to test and build your environment in one action

image

hat/environment

The lib allows to check your environment easy and allows to test and build your environment in one action

  • Wednesday, May 29, 2013
  • by slavahatnuke
  • Repository
  • 3 Watchers
  • 3 Stars
  • 4,888 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Hat Environment

The lib allows to check your environment easy and allows to test and build your environment in one action, (*1)

bin/environment, (*2)

    slava$ bin/environment

    [SKIP]      --default
    [SKIP]      --dev

    [OK]        environment.ini



[OK] --default [SKIP] ubuntu [OK] osx [FAIL] php version definition : php version properties : command : php -v version : 5.4.0 options : name : php version class : Hat\Environment\Tester\CommandVersion result : command : php -v version : 5.4.0 regex : /(\d+\.\d+\.\d+)/ output : PHP 5.3.18 (cli) (built: Nov 24 2012 14:53:21)Copyright (c) 1997-2012 The PHP Gr... [OK] nodejs installed [FAIL] nodejs version definition : nodejs version properties : command : node -v version : 0.8.16 options : name : nodejs version class : Hat\Environment\Tester\CommandVersion depends : nodejs installed result : command : node -v version : 0.8.16 regex : /(\d+\.\d+\.\d+)/ output : v0.8.14 [OK] mysql installed [OK] mysql version [OK] beanstalk installed [OK] beanstalk version [OK] less installed [OK] less version [OK] mongo installed [OK] mongo version [OK] phpunit installed [OK] phpunit version [FAIL] beanstalk is working definition : beanstalk is working properties : process : beanstalkd options : name : beanstalk is working class : Hat\Environment\Tester\Process depends : beanstalk installed result : process : beanstalkd command : ps -ef output : UID PID PPID C STIME TTY TIME CMD 0 1 0 0 10:15A... [FAIL] mysql is working definition : mysql is working properties : process : mysqld options : name : mysql is working class : Hat\Environment\Tester\Process depends : mysql installed result : process : mysqld command : ps -ef output : UID PID PPID C STIME TTY TIME CMD 0 1 0 0 10:15A... [FAIL] mongodb is working definition : mongodb is working properties : process : mongod options : name : mongodb is working class : Hat\Environment\Tester\Process result : process : mongod command : ps -ef output : UID PID PPID C STIME TTY TIME CMD 0 1 0 0 10:15A... [OK] http server is working [OK] PHP PDO extension [OK] PHP MB extension [FAIL] PHP.ini short_open_tag is empty definition : PHP.ini short_open_tag is empty properties : option : short_open_tag expected : 0 options : name : PHP.ini short_open_tag is empty class : Hat\Environment\Tester\PhpIni result : option : short_open_tag expected : 0 output : [OK] PHP.ini date.timezone is not empty [FAIL] app cache is writable definition : app cache is writable properties : path : app/cache options : name : app cache is writable class : Hat\Environment\Tester\IsWritable result : path : app/cache [OK] ebadmin cache is writable [OK] app logs is writable [OK] ebadmin logs is writable [FAIL] osx [FAIL] --default [SKIP] --dev [FAIL] environment.ini

Install via Composer

curl -s https://getcomposer.org/installer | php, (*3)

subl composer.json, (*4)


{ "require": { "hat/environment": "dev-master" } }

php composer.phar install, (*5)

you can test default profile, (*6)

environment.ini should be in the root of your project you can see example vendor/hat/environment/environment.ini, (*7)

The Versions

29/05 2013

dev-master

9999999-dev https://github.com/slavahatnuke/environment

The lib allows to check your environment easy and allows to test and build your environment in one action

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

test testing environment env system os build building

15/04 2013

v0.1

0.1.0.0 https://github.com/slavahatnuke/environment

The lib allows to check your environment easy and allows to test and build your environment in one action

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

test testing environment env system os build building