diff --git a/.devilbox/www/htdocs/index.php b/.devilbox/www/htdocs/index.php
index ffb1616a..9c9116b3 100644
--- a/.devilbox/www/htdocs/index.php
+++ b/.devilbox/www/htdocs/index.php
@@ -410,18 +410,26 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
composer |
getComposerVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+ drupal-console |
+ getDrushConsoleVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
drush |
getDrushVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
-
- drush-console |
- getDrushConsoleVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
-
git |
getGitVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+ Laravell installer |
+ getLaravelVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+
+ mysqldump-secure |
+ getMdsVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
node |
getNodeVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
@@ -430,6 +438,18 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
npm |
getNpmVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+ Phalcon devtools |
+ getPhalconVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+
+ Symfony installer |
+ getSymfonyVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
+
+ Wordpress cli |
+ getWpcliVersion()) === false) {echo 'not installed';}else{echo $version;}; ?> |
+
diff --git a/.devilbox/www/include/lib/container/Php.php b/.devilbox/www/include/lib/container/Php.php
index ddbc8d36..e79e65f8 100644
--- a/.devilbox/www/include/lib/container/Php.php
+++ b/.devilbox/www/include/lib/container/Php.php
@@ -52,8 +52,8 @@ class Php extends BaseClass implements BaseInterface
}
public function getDrushConsoleVersion()
{
- $output = loadClass('Helper')->exec('drush-console --version', $output);
- return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ $output = loadClass('Helper')->exec('drupal --version | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+[-rc0-9.]*/', $output);
}
public function getNodeVersion()
{
@@ -65,6 +65,32 @@ class Php extends BaseClass implements BaseInterface
$output = loadClass('Helper')->exec('npm --version', $output);
return loadClass('Helper')->egrep('/[0-9.]+/', $output);
}
+ public function getLaravelVersion()
+ {
+ $output = loadClass('Helper')->exec('laravel --version', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
+ public function getMdsVersion()
+ {
+ $output = loadClass('Helper')->exec('mysqldump-secure --version', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
+ public function getPhalconVersion()
+ {
+ $output = loadClass('Helper')->exec('phalcon --version', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
+ public function getSymfonyVersion()
+ {
+ $output = loadClass('Helper')->exec('symfony --version', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
+ public function getWpcliVersion()
+ {
+ $output = loadClass('Helper')->exec('wp --version', $output);
+ return loadClass('Helper')->egrep('/[0-9.]+/', $output);
+ }
+
/*********************************************************************************
diff --git a/README.md b/README.md
index 6aa3355c..7edd9b4a 100644
--- a/README.md
+++ b/README.md
@@ -197,6 +197,13 @@ The devilbox has everything setup for you. The only thing you will have to insta
| [symfony installer](https://github.com/symfony/symfony-installer) | `symfony` |
| [wp-cli](https://wp-cli.org) | `wp` |
+Require additional tools? Have a look at [Hacking](docs/Hacking.md) for information about how to add your own tools or open up an issue with a new tool request.
+
+#### PHP Modules
+
+The devilbox is a development stack, so it is made sure that a lot of PHP modules are available out of the box in order to work with many different frameworks.
+
+*apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, magickwand, mbstring, mcrypt, memcache, memcached, mhash, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib*
## Documentation