Skip to content

cytopia/devilbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The Devilbox

Devilbox

Quickstart | Examples | Features | The Devilbox Stack | Community | Contributing | Logos | License

Devilbox Release Discord Discourse License

The Devilbox is a versatile and highly customisable zero-conf PHP Docker stack supporting LEMP and MEAN as well as Websockets, Node, Python and Golang via automated Reverse Proxy integraton.

The main goal is to provide a reproducible development environment that runs on all major platforms and is able to switch and combine any version you need. It supports an unlimited number of projects for which vhosts, SSL certificates and DNS records are created automatically. Email interception and popular development tools will be at your service as well. Configuration is not necessary, as everything is already pre-setup.

All created projects (frontend or backend) will be able to communicate with one another to support the emulation of a complete microservice architecture or an API landscape.

Available Architectures: amd64, arm64
Available PHP Versions: 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2

๐Ÿš€ Quickstart

โ— System Requirements
The Devilbox runs on all major operating systems and its only requirement is Docker and Docker Compose:

Linux OSX Windows Plus Docker

Be up and running in 2 minutes.

๐Ÿš€ Install and Run: Linux

Linux: Install

  1. Download the Devilbox
    git clone https://github.com/cytopia/devilbox
  2. Enter the Devilbox git directory
    cd devilbox
  3. Copy the default environment file
    cp env-example .env

Linux: Run

โš ๏ธ Important: Ensure that nothing is listening on port 80 and 443 on your host system. These ports are required by the Devilbox webserver.


  1. Start httpd, php and mysql container
    # This step may take a few minutes as required
    # Docker images have to be pulled initially.
    
    # Inside the Devilbox git directory
    docker-compose up httpd php mysql
  2. Visit http://localhost in your browser

๐Ÿš€ Install and Run: MacOS

MacOS: Install

  1. Download the Devilbox
    git clone https://github.com/cytopia/devilbox
  2. Enter the Devilbox git directory
    cd devilbox
  3. Copy the default environment file
    cp env-example .env

MacOS: Run

โš ๏ธ Important: Ensure that nothing is listening on port 80 and 443 on your host system. These ports are required by the Devilbox webserver.


  1. Start httpd, php and mysql container
    # This step may take a few minutes as required
    # Docker images have to be pulled initially.
    
    # Inside the Devilbox git directory
    docker-compose up httpd php mysql
  2. Visit http://localhost in your browser

๐Ÿš€ Install and Run: Windows
Note: If you are using WSL2, refer to the Linux guide instead.

Windows: Install

  1. Clone https://github.com/cytopia/devilbox to C:\devilbox with Git for Windows
  2. Copy C:\devilbox\env-example to C:\devilbox.env

Windows: Run

โš ๏ธ Important: Ensure that nothing is listening on port 80 and 443 on your host system. These ports are required by the Devilbox webserver.

Open a terminal on Windows and start httpd, php and mysql container:

  1. Start httpd, php and mysql container
    # This step may take a few minutes as required
    # Docker images have to be pulled initially.
    
    # Inside the Devilbox git directory
    docker-compose up httpd php mysql
  2. Visit http://localhost in your browser

๐Ÿ’ป Enter the work container

Enter the work container

The Devilbox allows you to work on your projects on the host system as well as inside the work container. Your project files will be available at both locations. The workflow ususally is:

  1. Use your prefered IDE (e.g. PhpStorm) on your host system to add and alter files
  2. Work inside the container to run common cli tools such as node, composer, npm, phpcs, webpack and many more.

To enter the work container, simply run ./shell.sh

  1. On Linux, MacOS and Windows with WSL2
    # Inside the Devilbox git directory
    ./shell.sh
  2. On Windows without WSL2
    # Inside the Devilbox git directory
    ./shell.bat

๐Ÿ’ก Examples

Create your first project:

Example: Dummy Project
  1. Start the container you need:
    docker-compose up httpd php mysql
  2. Enter the work container:
    ./shell.sh
  3. Navigate to /shared/httpd:
    cd /shared/httpd
  4. Create your project directory
    mkdir dummy-project
  5. Visit http://localhost/vhosts.php
    You will notice that you need to create a htdocs/ directory
  6. Create htdocs/ directory
    # Navigate to your project directory
    cd /shared/httpd/dummy-project
    
    # Create htdocs dir
    mkdir htdocs
  7. Visit http://localhost/vhosts.php
    You will see that everything is now setup and your project is created and available
  8. Create an index.php file
    # Navigate to your project htdocs directory
    cd /shared/httpd/dummy-project/htdocs
    
    # Create a simple index.php file
    echo '<?php echo "it works";' > index.php
  9. View your project in the browser: http://dummy-project.dvl.to

Example: PHP Framework

Find all the examples in the documentation:

Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox

โญ Features

The Devilbox tries to be a zero-configuration stack out of the box and has automated all the boring tasks. Additionally it provides common feature required for everyday work.

Automation
โญ Automated Project creation
โญ Automated SSL
โญ Automated DNS
โญ Host permission sync
Modes
โญ Static files
โญ PHP files
โญ Reverse Proxy
โญ Websockets
Backends
โญ PHP-FPM
โญ NodeJS
โญ Python
โญ Golang
โญ ...
Profiling
โญ Blackfire
โญ Xdebug
โญ XHProf
Projects
โญ Unlimited Projects
โญ Inter-Project Communication
โญ Custom Project domains
โญ Valid browser HTTPS
Intranet
โญ Virtual Hosts
โญ C&C
โญ Email Reader
โญ OpCache Gui
Batteries
โญ Adminer
โญ phpMyAdmin
โญ phpPgAdmin
โญ phpRedMind
Services
โญ SQL
โญ NoSQL
โญ Cache
โญ ...

The Devilbox Stack The Devilbox Stack

The Devilbox aims to be a swiss army knife for local development by providing you all the services you would ever need. To get an idea about the architecture behind it and to also see what's available have a look at its components and usage.

Smallest stack

This is the smallest possible and fully functional stack you can run

Full stack

To better understand what is actually possible have a look at the full example

๐Ÿ’ป Modes of operation

Modes of operation

You can startup and operate the Devilbox in three different ways via docker-compose:

  1. Selective startup
  2. On Demand (add/remove container while running)
  3. Full startup

Selective startup

If you already know what kind of container you need before starting the Devilbox, you can just specify them explicitly.

# Inside the Devilbox git directory start httpd php mysql and redis
docker-compose up httpd php mysql redis

The Intranet will show you what container you have currently running:

Devilbox

On Demand

If the Devilbox is already started you can attach more container on-the-fly,

# Inside the Devilbox git directory attach mongo and memcached
docker-compose up mongo memcd

You can also shut down specific containers that you do not need

# Inside the Devilbox git directory shutdown redis
docker-compose stop redis

Full startup

If you just want to start everything, run docker-compose up without any arguments

# Inside the Devilbox git directory start them all
docker-compose up

The Intranet will show you what container you have currently running:

Devilbox

If you prefer a visual guide, have a look at the two introduction videos on Youtube:

Documentation: Install the Devilbox | Start the Devilbox | .env file


๐Ÿ‹ Available Container

Available Container

The following table lists all integrated and pre-configured Docker container shipped by the Devilbox. Only the webserver and PHP container are mandatory, all others are optional and don't need to be started.

Each of them is also available in multiple different versions in order to reflect your exact desired environment.

Accel Web App SQL NoSQL Queue / Search ELK Utils
HAProxy Apache PHP MariaDB Memcached RabbitMQ ElasticSearch Bind
Varnish Nginx Python (Flask) MySQL MongoDB Solr Logstash Blackfire
PerconaDB Redis Kibana MailHog
PostgreSQL Ngrok

Documentation: Available Container


๐Ÿ“Œ Version Matrix

Version Matrix

Every single attachable container comes with many different versions. In order to select the desired version for a container, simply edit the .env file and uncomment the version of choice. Any combination is possible.

Run different versions

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 1.6 3.2
5.5 8.0 10.2 8.0 9.3 4.0 latest 3.4
5.6 10.3 9.4 5.0 3.6
7.0 10.4 9.5 6.0 4.0
7.1 10.5 9.6 6.2 4.2
7.2 10.6 10 7.0 4.4
7.3 10.7 11 latest 5.0
7.4 10.8 12 latest
8.0 10.9 ...
8.1 10.10 15
8.2 latest

[1] PHP 5.2 is available to use, but it is not officially supported. The Devilbox intranet does not work with this version as PHP 5.2 does not support namespaces. Furthermore PHP 5.2 does only work with Apache 2.4, Nginx stable and Nginx mainline. It does not work with Apache 2.2. Use at your own risk.

Documentation: Change container versions

Additional services

Additionally to the default stack, there are a variety of other services that can be easily enabled and started.

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

Documentation: Enable custom container


โš™๏ธ Available PHP Extensions

Available PHP Extensions

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 PHP 8.1 PHP 8.2
amqp ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
apc ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
apcu ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
bcmath ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
blackfire d d d d d d d
bz2 ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
calendar ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
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
json โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
ldap ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
libxml โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
lz4 ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
lzf ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mbstring โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
mcrypt ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
memcache ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
memcached ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mhash โœ” โœ” โœ” โœ” โœ”
mongo ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mongodb ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
msgpack ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mysql ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mysqli ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
mysqlnd โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
OAuth ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
oci8 d d d d d d d d d d d d
OPcache ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
openssl โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
pcntl ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
pcre โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
PDO โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
pdo_dblib ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
PDO_Firebird ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
pdo_mysql ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
PDO_OCI d d d d d d d d
pdo_pgsql ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
pdo_sqlite โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
pdo_sqlsrv d d d d d d d d
pgsql ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
phalcon d d d d d d d d d d d
Phar ๐Ÿ—ธ โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
posix โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
pspell ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
psr d d d d d d d d d d d
random โœ”
rdkafka d d d 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 d d d d
ssh2 ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
swoole d d d d d d d d d d d
sysvmsg ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
sysvsem ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
sysvshm ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
tidy ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
tokenizer โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
uploadprogress ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
uuid ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
vips ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
wddx ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
Xdebug ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
xhprof d d d d d d d d
xlswriter ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
xml โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
xmlreader โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
xmlrpc ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
xmlwriter โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
xsl ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
yaml ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
zip ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ
zlib โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ” โœ”
zstd ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ ๐Ÿ—ธ

  • 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


๐Ÿ› ๏ธ Available CLI Tools

Available Tools

Well-known and popular tools will be at your service:

Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox

Tool 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 PHP 8.1 PHP 8.2
angular-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
asgardcms โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
awesome-ci โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
codeception โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
composer โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
corepack โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
deployer โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
eslint โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
git โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
git-flow โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
grunt-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
gulp โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
jq โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
jsonlint โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
laravel-installer โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
laravel-lumen โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
linkcheck โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
mdl โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
mdlint โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
mupdf-tools โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
net-tools โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
node โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
npm โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
nvm โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
phalcon-devtools โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
php-cs-fixer โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
phpcbf โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
phpcs โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
phpmd โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
phpunit โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
pip โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
pm2 โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
pwncat โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
rsync โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
sass โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
shellcheck โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
ssh โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
stylelint โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
svn โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
symfony-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
taskfile โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
tig โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
vim โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
vue-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
webpack-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
wkhtmltopdf โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
wp-cli โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
wscat โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
yamllint โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
yarn โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
yq โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
zsh โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“ โœ“

๐Ÿ”Œ Supported Frameworks

Supported Frameworks

PHP 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:

Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox Devilbox

Documentation:
Setup CakePHP | Setup CodeIgniter | Setup Contao | Setup CraftCMS | Setup Drupal | Setup Joomla | Setup Laravel | Setup Magento 2 | Setup PhalconPHP | Setup PhotonCMS | Setup PrestaShop | Setup ProcessWire | Setup Shopware | Setup Symfony | Setup Typo3 | Setup WordPress | Setup Yii | Setup Zend

Reverse Proxy Applications

As far as tested there are no limitations and you can use any application that creates an open port. These ports will be reverse proxied by the web server and even allow you to use valid HTTPS for them. By the built-in autostart feature of the Devilbox you can ensure that your application automatically starts up as soon as you run docker-compose up.

NodeJS Python Flask Sphinx

Documentation:
Setup reverse proxy NodeJs | Setup reverse proxy Sphinx documentation


๐ŸŒ Devilbox Intranet

Devilbox Intranet

The Devilbox comes with a pre-configured intranet on http://localhost and https://localhost. This can be explicitly disabled or password-protected. The intranet will not only show you, the chosen configuration, but also validate the status of the current configuration, such as if DNS records exists (on host and container), are directories properly set-up. Additionally it provides external tools to let you interact with databases and emails.

  • Virtual Host overview (validates directories and DNS)
  • Command & Control
  • Email overview
  • Database overview (MySQL, PgSQL, Redis, Memcache, ...)
  • Info pages (Httpd, MySQL, PgSQL, Redis, Memcache, ...)
  • And many more...

The following batteries are available in the Devilbox intranet by default:

Adminer phpMyAdmin phpPgAdmin phpRedMin PHPMemcachedAdmin OpCacheGUI Mail viewer
Adminer phpMyAdmin phpPgAdmin phpRedMin PHP Memcached Admin OpCache GUI Mail viewer

Documentation: Devilbox Intranet


๐Ÿ“ธ Screenshots

Screenshots

A few examples of how the built-in intranet looks like.

Intranet: Home Intranet: Vhost Intranet: Database
Intranet: Emails

๐Ÿ‘ซ Community

The Devilbox has a lot of features reaching from a simple single-user development environment that works out of the box up to a shared development infrastructure for a corporate network.

In order to be aware about all that features, ensure to have skimmed over the documentation, so you know what can be done and how that might simplify your every-day life. If you ever run into any unforseen issues, feel free to join the Discord chat or visit the forums and get community support quickly.

devilbox.readthedocs.io discord/devilbox devilbox.discourse.group github.com/devilbox/flames

๐Ÿค Contributing

The Devilbox is still a young project with a long roadmap ahead. Features are decided by you - the community, so any kind of contribution is welcome.

  • Star this project
  • Open up issues for bugs and feature requests
  • Clone this project and submit fixes or features

๐Ÿง˜ Maintainer

I try to keep up with literally over 100 projects. If my work is making your life easier, consider sending coffee or beer. ๐Ÿ–ค

Contributions: PyPI: cytopia ยท Terraform: cytopia ยท Ansible: cytopia

๐ŸŒ€ Logos

Logos and banners can be found at devilbox/artwork. Feel free to use or modify them by the terms of their license.

๐Ÿ—Ž License

MIT License

Copyright (c) 2016 cytopia