# devilbox **Repository Path**: gxgsoft/devilbox ## Basic Information - **Project Name**: devilbox - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Smallest stackThis is the smallest possible and fully functional stack you can run |
Full stackTo better understand what is actually possible have a look at the full example |
|
|
Documentation |
Chat |
Forum |
Flames |
|---|---|---|---|
|
|
|
|
|
| devilbox.readthedocs.io | gitter.im/devilbox | devilbox.discourse.group | github.com/devilbox/flames |
| Linux and MacOS | Windows |
|---|---|
# Get the Devilbox
git clone https://github.com/cytopia/devilbox# Create docker-compose environment file
cd devilbox
cp env-example .env# Edit your configuration
vim .env# Start all container
docker-compose up |
1. Clone https://github.com/cytopia/devilbox to C:\devilbox with Git for Windows2. Copy C:\devilbox\env-example to C:\devilbox\.env3. Edit C:\devilbox\.env4. Open a terminal on Windows and type: # Start all container C:\devilbox> docker-compose up |
| Apache | Nginx | PHP | MySQL | MariaDB | Percona | PgSQL | Redis | Memcached | MongoDB |
|---|---|---|---|---|---|---|---|---|---|
| 2.2 | stable | 5.2[1] | 5.5 | 5.5 | 5.5 | 9.0 | 2.8 | 1.4 | 2.8 |
| 2.4 | mainline | 5.3 | 5.6 | 10.0 | 5.6 | 9.1 | 3.0 | 1.5 | 3.0 |
| 5.4 | 5.7 | 10.1 | 5.7 | 9.2 | 3.2 | latest | 3.2 | ||
| 5.5 | 8.0 | 10.2 | 8.0 | 9.3 | 4.0 | 3.4 | |||
| 5.6 | 10.3 | 9.4 | 5.0 | 3.6 | |||||
| 7.0 | 10.4 | 9.5 | 6.0 | 4.0 | |||||
| 7.1 | 9.6 | latest | 4.2 | ||||||
| 7.2 | ... | latest | |||||||
| 7.3 | 12.0 | ||||||||
| 7.4 | 12.1 | ||||||||
| 8.0[2] | latest |
| Python (Flask) | Blackfire | ELK | MailHog | Ngrok | RabbitMQ | Solr | HAProxy | Varnish |
|---|---|---|---|---|---|---|---|---|
| 2.7 | 1.8 | 5.x.y | v1.0.0 | 2.x | 3.6 | 5 | 1.x | 4 |
| ... | ... | 6.x.y | latest | 3.7 | 6 | 5 | ||
| 3.7 | 1.18.0 | 7.x.y | latest | 7 | 6 | |||
| 3.8 | latest | latest | latest |
| Linux and MacOS | Windows |
|---|---|
host> ./shell.sh
devilbox@php-7.0.19 in /shared/httpd $ |
C:\devilbox> shell.bat
devilbox@php-7.0.19 in /shared/httpd $ |
| :star: HTTPS support | HTTPS is available by default for all projects and the bundled Intranet. |
| :star: HTTP/2 support | All HTTPS connections will offer HTTP/2 as the default protocol, except for Apache 2.2 which does not support it. |
| :star: Auto virtual hosts | New virtual hosts are created automatically and instantly whenever you add a project directory. This is done internally via vhost-gen and watcherd. |
| :star: Automated SSL certs | Valid SSL certificates for HTTPS are automatically created for each vhost and signed by the Devilbox CA. |
| :star: Unlimited vhosts | Run as many projects as you need with a single instance of the Devilbox. |
| :star: Custom vhosts | You can overwrite and customise the default applied vhost configuration for every single vhost. |
| :star: Reverse proxy | Have your NodeJS application served with a nice domain name and valid HTTPS. |
| :star: Custom domains | Choose whatever development domain you desire: *.loc, *.dev or use real domains as well: *.example.com |
| :star: Auto DNS | An integrated BIND server is able to create DNS entries automatically for your chosen domains. |
| :star: Auto start scripts | Custom startup scripts can be provided for all PHP container equally and also differently per PHP version to install custom software or automatically startup up your required tools. |
| :star: Custom PHP config | Overwrite any setting for PHP. |
| :star: Custom PHP modules | Load custom PHP modules on the fly. |
| :star: Email catch-all | All outgoing emails are catched and will be presented in the included intranet. |
| :star: Self-validation | Projects and configuration options are validated and marked in the intranet. |
| :star: Xdebug | Xdebug and a full blown PHP-FPM server is ready to serve. |
| :star: Devilbox Flames | Devilbox community plugins a.k.a. Devilbox Flames. |
| :star: Many more | See Documentation for all available features. |
| Adminer | phpMyAdmin | phpPgAdmin | phpRedMin | PHPMemcached Admin | OpCache GUI | Mail viewer |
| :wrench: awesome-ci | A set of tools for static code analysis:file-cr, file-crlf, file-empty, file-nullbyte-char, file-trailing-newline, file-trailing-single-newline, file-trailing-space, file-utf8, file-utf8-bom, git-conflicts, git-ignored, inline-css, inline-js, regex-grep, regex-perl, syntax-bash, syntax-css, syntax-js, syntax-json, syntax-markdown, syntax-perl, syntax-php, syntax-python, syntax-ruby, syntax-scss, syntax-sh |
| :wrench: git flow | git-flow is a Git extensions to provide high-level repository operations for Vincent Driessen's branching model. |
| :wrench: json lint | jsonlint is a command line linter for JSON files. |
| :wrench: laravel installer | laravel is a command line tool that lets you easily install the Laravel framework. |
| :wrench: linkcheck | linkcheck is a command line tool that searches for URLs in files (optionally limited by extension) and validates their HTTP status code. |
| :wrench: linuxbrew | brew is a MacOS Homenbrew clone for Linux. |
| :wrench: markdownlint | markdownlint is a markdown linter. |
| :wrench: mdl | mdl is a markdown linter. |
| :wrench: phalcon devtools | phalcon is a command line tool that lets you easily install the PhalconPHP framework. |
| :wrench: photon installer | photon is a command line tool that lets you easily install the PhotonCMS. |
| :wrench: php code sniffer | phpcs is a command line tool that tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. |
| :wrench: php code beautifier | phpcbf is a command line tool that automatically correct coding standard violations. |
| :wrench: php cs fixer | php-cs-fixer is a tool to automatically fix PHP Coding Standards issues. |
| :wrench: pm2 | pm2 is Node.js Production Process Manager with a built-in Load Balancer. |
| :wrench: stylelint | stylelint is a css/scss linter. |
| :wrench: symfony installer | symfony is a command line tool that lets you easily install the Symfony framework. |
| :wrench: tig | tig is a text-mode interface for git. |
| :wrench: wp-cli | wp is a command line tool that lets you easily install WordPress. |
| :wrench: yamllint | yamllint is a linter for yaml files. |
> **Documentation:**
> [Available Tools](https://devilbox.readthedocs.io/en/latest/readings/available-tools.html)
#### Available 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.
> * Core enabled (cannot be disabled): **✔**
> * Enabled (can be disabled): 🗸
> * Available, but disabled (can be enabled): **d**
| Modules | PHP 5.2 | PHP 5.3 | PHP 5.4 | PHP 5.5 | PHP 5.6 | PHP 7.0 | PHP 7.1 | PHP 7.2 | PHP 7.3 | PHP 7.4 | PHP 8.0 |
|----------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| amqp | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| apc | | 🗸 | 🗸 | 🗸 | 🗸 | | | | | | |
| apcu | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| bcmath | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| blackfire | | | | | d | d | d | d | d | d | |
| bz2 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| calendar | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| Core | | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| ctype | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| curl | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| date | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| dba | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| dom | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| enchant | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| ereg | | ✔ | ✔ | ✔ | ✔ | | | | | | |
| exif | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| FFI | | | | | | | | | | 🗸 | ✔ |
| fileinfo | 🗸 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| filter | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| ftp | 🗸 | 🗸 | 🗸 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| gd | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| gettext | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| gmp | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| hash | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| iconv | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| igbinary | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| imagick | | | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| imap | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | | |
| interbase | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | | |
| intl | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| ioncube | d | d | d | d | d | d | d | d | d | | |
| json | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| ldap | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| libxml | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| mbstring | ✔ | 🗸 | 🗸 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| mcrypt | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| memcache | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| memcached | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| mhash | | | | | ✔ | | | | | | |
| mongo | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | | | | | | |
| mongodb | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| msgpack | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| mysql | ✔ | ✔ | 🗸 | 🗸 | 🗸 | | | | | | |
| mysqli | ✔ | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| mysqlnd | | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| OAuth | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| oci8 | | d | d | d | d | d | d | d | d | d | d |
| openssl | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| pcntl | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| pcre | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| PDO | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| pdo_dblib | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| PDO_Firebird | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| pdo_mysql | ✔ | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| PDO_OCI | | | | | | d | d | d | d | d | d |
| pdo_pgsql | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| pdo_sqlite | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| pdo_sqlsrv | | | | | | d | d | d | d | | |
| pgsql | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| phalcon | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| Phar | 🗸 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| posix | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| pspell | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| psr | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| rdkafka | | d | d | d | d | d | d | d | d | d | |
| readline | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| recode | 🗸 | ✔ | ✔ | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | | |
| redis | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| Reflection | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| session | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| shmop | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| SimpleXML | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| snmp | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| soap | ✔ | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| sockets | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| sodium | | | | | | | | ✔ | ✔ | ✔ | ✔ |
| solr | | | | | | | 🗸 | 🗸 | 🗸 | 🗸 | |
| SPL | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| SQLite | ✔ | ✔ | | | | | | | | | |
| sqlite3 | | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| sqlsrv | | | | | | d | d | d | d | | |
| ssh2 | | | | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| standard | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| swoole | | d | d | d | d | d | d | d | d | d | |
| sysvmsg | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| sysvsem | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| sysvshm | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| tidy | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| tokenizer | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| uploadprogress | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| wddx | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | | |
| xdebug | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| xml | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| xmlreader | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| xmlrpc | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| xmlwriter | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| xsl | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| yaml | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | |
| Zend OPcache | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| zip | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 |
| zlib | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
> * Core enabled (cannot be disabled): **✔**
> * Enabled (can be disabled): 🗸
> * Available, but disabled (can be enabled): **d**
PHP modules can be enabled or disabled on demand to reflect the state of your target environment.
> **Documentation:**
> [Enable/disable PHP modules](https://devilbox.readthedocs.io/en/latest/intermediate/enable-disable-php-modules.html)
#### Custom PHP Modules
You can also copy any custom modules into `mod/(php-fpm)-
> **Documentation:**
> **Documentation:**
|
|
|
|
## License
**[MIT License](LICENSE.md)**
Copyright (c) 2016 **[cytopia](https://github.com/cytopia)**