
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
kalabox-app-php
Advanced tools
By default Kalabox can create apps to run various PHP things like Wordpress or Drupal.
Here are some of the things you can do
Global commands that can be run from anywhere
create
drupal7 Creates a drupal7 app
drupal8 Creates a drupal8 app
pantheon Creates a Pantheon app.
env Print Kalabox environmental vars.
list Display list of apps.
update Run this after you update your Kalabox code.
version Display the kbox version.
Actions that can be performed on this app
config Display the kbox application's configuration.
destroy Completely destroys and removes an app.
rebuild Rebuilds your app while maintaining your app data.
restart Stop and then start a running kbox application.
services Display connection info for services.
start Start an installed kbox application.
stop Stop a running kbox application.
Commands and tools this app can use
bower Run a bower command
composer Run a composer cli command
drush Run a drush command on your codebase
git Run a git command on your codebase
grunt Run a grunt command
gulp Run a gulp command
mysql Drop into a mysql shell
node Run a node command
npm Run a npm command
php Run a php cli command
rsync Run a rsync command on your files directory
terminal 'ssh' into your appserver
Options:
-h, --help Display help message. [boolean]
-v, --verbose Use verbose output. [boolean]
cd /my/apps/directory
# Create drupal 7 app
kbox create drupal7
# Create drupal 8 app
kbox create drupal8
Options:
-h, --help Display help message. [boolean]
-v, --verbose Use verbose output. [boolean]
--name The name of your app. [string]
--dir Creates the app in this directory. Defaults to CWD. [string]
To get connection info so you can access your database from an external tool like SequelPro do the following:
cd /path/to/app
kbox services
[
{
"name": "appserver",
"project": "test",
"url": [
"http://test.kbox"
]
},
{
"name": "db",
"project": "test",
"credentials": {
"database": "drupal",
"user": "drupal",
"password": "drupal",
"host": "10.13.37.100",
"port": "32836"
}
}
]
Or to drop into a mysql shell
cd /path/to/app
kbox mysql
# Import DB
kbox mysql drupal < /path/to/db.sql
(C) 2016 Kalabox Inc and friends
FAQs
A Kalabox app plugin to spin up php sites.
We found that kalabox-app-php demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.