From e560fe57123f5a31850a4c409ce7caee22f9237a Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 2 Jul 2017 10:52:31 +0200 Subject: [PATCH] DVL-012 Add more info about supported frameworks --- README.md | 16 +++++++++- docs/Quickstart.md | 11 +++---- docs/README.md | 17 ++++++----- docs/Technical.md | 60 ++++++++++++++++++------------------- docs/img/logos/laravel.png | Bin 0 -> 3609 bytes docs/img/logos/symfony.png | Bin 0 -> 1264 bytes docs/img/logos/zend.png | Bin 0 -> 1073 bytes 7 files changed, 61 insertions(+), 43 deletions(-) create mode 100644 docs/img/logos/laravel.png create mode 100644 docs/img/logos/symfony.png create mode 100644 docs/img/logos/zend.png diff --git a/README.md b/README.md index b52a1a45..ae6a072f 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,21 @@ Require additional tools? Have a look at [Hacking](docs/Hacking.md) for informat 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* +> *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* + +#### Supported Frameworks + +As far as tested there are no limitations and you can use any Framework or CMS just as you would on your live environment. Below are a few examples of extensively tested Frameworks and CMS: + +[![CakePHP](docs/img/logos/cake.png)](https://cakephp.org) +[![Drupal](docs/img/logos/drupal.png)](https://www.drupal.org) +[![Laravel](docs/img/logos/laravel.png)](https://laravel.com) +[![Phalcon](docs/img/logos/phalcon.png)](https://phalconphp.com) +[![Symfony](docs/img/logos/symfony.png)](https://symfony.com) +[![Wordpress](docs/img/logos/wordpress.png)](https://wordpress.org) +[![Yii](docs/img/logos/yii.png)](http://www.yiiframework.com) +[![Zend](docs/img/logos/zend.png)](https://framework.zend.com) + ## Documentation diff --git a/docs/Quickstart.md b/docs/Quickstart.md index e082222d..af6bf5f1 100644 --- a/docs/Quickstart.md +++ b/docs/Quickstart.md @@ -181,11 +181,12 @@ To quickly find setup instructions for your framework of choice head over to **[ > 1. [Introduction](Examples.md#1-introduction) > 2. [Setup CakePHP](Examples.md#2-setup-cakephp) > 3. [Setup Drupal](Examples.md#3-setup-drupal) -> 4. [Setup Phalcon](Examples.md#4-setup-phalcon) -> 5. [Setup Symfony](Examples.md#5-setup-symfony) -> 6. [Setup Wordpress](Examples.md#6-setup-wordpress) -> 7. [Setup Yii](Examples.md#7-setup-yii) -> 8. [Setup Zend](Examples.md#8-setup-zend) +> 4. [Setup Laravel](Examples.md#4-setup-laravel) +> 5. [Setup Phalcon](Examples.md#5-setup-phalcon) +> 6. [Setup Symfony](Examples.md#6-setup-symfony) +> 7. [Setup Wordpress](Examples.md#7-setup-wordpress) +> 8. [Setup Yii](Examples.md#8-setup-yii) +> 9. [Setup Zend](Examples.md#9-setup-zend) ## 6. Enter the PHP Docker container diff --git a/docs/README.md b/docs/README.md index 1a867ff4..88220215 100644 --- a/docs/README.md +++ b/docs/README.md @@ -159,7 +159,7 @@ Have a look at youtube to see some the features in action. 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* +> *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* There will however be slight differences between the versions and especially with HHVM. To see the exact bundled modules for each version visit the corresponding docker repositories on Github: @@ -176,10 +176,13 @@ There will however be slight differences between the versions and especially wit As far as tested there are no limitations and you can use any Framework or CMS just as you would on your live environment. Below are a few examples of extensively tested Frameworks and CMS: -![CakePHP](img/logos/cake.png) -![Drupal](img/logos/drupal.png) -![Phalcon](img/logos/phalcon.png) -![Wordpress](img/logos/wordpress.png) -![Yii](img/logos/yii.png) +[![CakePHP](img/logos/cake.png)](https://cakephp.org) +[![Drupal](img/logos/drupal.png)](https://www.drupal.org) +[![Laravel](img/logos/laravel.png)](https://laravel.com) +[![Phalcon](img/logos/phalcon.png)](https://phalconphp.com) +[![Symfony](img/logos/symfony.png)](https://symfony.com) +[![Wordpress](img/logos/wordpress.png)](https://wordpress.org) +[![Yii](img/logos/yii.png)](http://www.yiiframework.com) +[![Zend](img/logos/zend.png)](https://framework.zend.com) -Have a look at [Examples](Examples.md) for how to set them up. +Have a look at **[Examples](Examples.md)** for how to set them up on the devilbox. diff --git a/docs/Technical.md b/docs/Technical.md index da7ee513..6286dca1 100644 --- a/docs/Technical.md +++ b/docs/Technical.md @@ -32,16 +32,16 @@ It is best to use the hostnames and not to rely on the ip addresses as they migh > E.g.: When you want to setup a MySQL database connection use `mysql` or `127.0.0.1` as the hostname. -| Container | Container name | Hostname | IP Address | -|-----------------|-----------------|-----------|----------------| -| DNS | bind | bind | 172.16.238.100 | -| PHP / HHVM | php | php | 172.16.238.10 | -| Apache / Nginx | http | http | 172.16.238.11 | -| MySQL / MariaDB | mysql | mysql | 172.16.238.12 | -| PostgreSQL | pgsql | pgsql | 172.16.238.13 | -| Redis | redis | redis | 172.16.238.14 | -| Memcached | memcd | memcd | 172.16.238.15 | -| MongoDB | mongo | mongo | 172.16.238.16 | +| Container | Container name | Hostname | IP Address | +|-----------------------------|-----------------|-----------|----------------| +| DNS | bind | bind | 172.16.238.100 | +| PHP / HHVM | php | php | 172.16.238.10 | +| Apache / Nginx | http | http | 172.16.238.11 | +| MySQL / MariaDB / PerconaDB | mysql | mysql | 172.16.238.12 | +| PostgreSQL | pgsql | pgsql | 172.16.238.13 | +| Redis | redis | redis | 172.16.238.14 | +| Memcached | memcd | memcd | 172.16.238.15 | +| MongoDB | mongo | mongo | 172.16.238.16 | ## 2. Ports and forwarding @@ -63,16 +63,16 @@ The PHP container is using [socat](https://linux.die.net/man/1/socat) to The following container can be reached from within the PHP container via the following methods: -| Container | Hostname | IP Address | IP Address | Port | -|-----------------|-----------|----------------|------------|-------| -| DNS | bind | 172.16.238.100 | - | 53 | -| PHP / HHVM | php | 172.16.238.10 | - | 9000 | -| Apache / Nginx | http | 172.16.238.11 | - | 80 | -| MySQL / MariaDB | mysql | 172.16.238.12 | 127.0.0.1 | 3306 | -| PostgreSQL | pgsql | 172.16.238.13 | 127.0.0.1 | 5432 | -| Redis | redis | 172.16.238.14 | 127.0.0.1 | 6379 | -| Memcached | memcd | 172.16.238.15 | 127.0.0.1 | 11211 | -| MongoDB | mongo | 172.16.238.16 | 127.0.0.1 | 27017 | +| Container | Hostname | IP Address | IP Address | Port | +|-----------------------------|-----------|----------------|------------|-------| +| DNS | bind | 172.16.238.100 | - | 53 | +| PHP / HHVM | php | 172.16.238.10 | - | 9000 | +| Apache / Nginx | http | 172.16.238.11 | - | 80 | +| MySQL / MariaDB / PerconaDB | mysql | 172.16.238.12 | 127.0.0.1 | 3306 | +| PostgreSQL | pgsql | 172.16.238.13 | 127.0.0.1 | 5432 | +| Redis | redis | 172.16.238.14 | 127.0.0.1 | 6379 | +| Memcached | memcd | 172.16.238.15 | 127.0.0.1 | 11211 | +| MongoDB | mongo | 172.16.238.16 | 127.0.0.1 | 27017 | #### 2.2 Docker Host @@ -86,16 +86,16 @@ The docker host (your computer) does exactly the same as the `php` container. The following container can be reached from the Docker host via the following methods: -| Container | IP Address | Port | -|-----------------|------------|-------| -| DNS | 127.0.0.1 | 1053 | -| PHP / HHVM | - | 9000 | -| Apache / Nginx | 127.0.0.1 | 80 | -| MySQL / MariaDB | 127.0.0.1 | 3306 | -| PostgreSQL | 127.0.0.1 | 5432 | -| Redis | 127.0.0.1 | 6379 | -| Memcached | 127.0.0.1 | 11211 | -| MongoDB | 127.0.0.1 | 27017 | +| Container | IP Address | Port | +|-----------------------------|------------|-------| +| DNS | 127.0.0.1 | 1053 | +| PHP / HHVM | - | 9000 | +| Apache / Nginx | 127.0.0.1 | 80 | +| MySQL / MariaDB / PerconaDB | 127.0.0.1 | 3306 | +| PostgreSQL | 127.0.0.1 | 5432 | +| Redis | 127.0.0.1 | 6379 | +| Memcached | 127.0.0.1 | 11211 | +| MongoDB | 127.0.0.1 | 27017 | ## 3. Works the same on Host and PHP Container diff --git a/docs/img/logos/laravel.png b/docs/img/logos/laravel.png new file mode 100644 index 0000000000000000000000000000000000000000..71a4cb3be131de1421e9e5f54d57ac98f3290ec8 GIT binary patch literal 3609 zcmV+!4(9QRP)y% zK~#9!?OAD5RY$h|>I`=P?!W~^K#dxQIJB)vt9h}L?x-&>c^XYbK?M;70p|f{O*8~& zQ5uzq0)kO+xK1(Ju{AN>ovfIbs2v-9E{ABMpcuUKe9x(RKNJ(&8HHZv-S5x6tIj^P zcYU?@u3h^80R#|0009ILKmY;!{{(r|7c9mNI_~_L)*x~?Z?PB{pa;)KlCUOAC3}ri z_s+^+2LUw&%R3UAX*KWnMNq#tiud`oM3#9%B@hOHQY(1g1h7j4_z!@57reB%>#xQG zF7GK+t52PAak3wTa6PFy2vS6o3yp@QU;I~D`;7E-&gWQ5gF@ccEGXFhG!ekv>p_$L zscs^O+lefJii${5Q+@buiw6MBl7a$CgzLQ1xd{LqAC*7-9#CDp61-1t!B_wAJ;%sZ z-Tb_$d&!z+rh(_U7e$NtE2>s556Rg$?N^foP1%`WaxTY9RHuK_Fk{Kb_mj0x81k7Q zNw4}^wuvB&)@Y|KdU`_u0BTmf2d2@?1^~`xU4B1V*TkXlMMkAiS%z@&yzyyR{6oY1 z?$}D}v=Pj_WMRL+g2p`4%}>ZT5tFm-ZTzIfX`}2JZ7Wz-C*v6KcjEIz_=9zWJukizrdhF3q0QO&Tm9m~Wc~a3B~t6> zIuW;HylL*3!Sx$w#rgP(G2Sw5II~VlV3xw=Ev}W`yX3X>>kRX>9MeEpjW?44t`Fg(#nBN)mA#b-NGF6aKx43Z7 z16_FZz!SXN^&5Ya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