PHPackages                             ytake/gardening - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. ytake/gardening

ActiveLibrary[Database &amp; ORM](/categories/database)

ytake/gardening
===============

Vagrant(centos7) for web developers.

1.1.0(8y ago)2611.4k8[1 issues](https://github.com/ytake/gardening/issues)MITShellPHP ^5.5||^7.0

Since Jan 11Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ytake/gardening)[ Packagist](https://packagist.org/packages/ytake/gardening)[ RSS](/packages/ytake-gardening/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

Gardening
=========

[](#gardening)

pre-packaged Vagrant box that provides you a wonderful development environment
without requiring you to install PHP(7.0 ~ 7.2), a web server(Nginx or Apache),
and any other server software on your local machine.

php7 box:

```
{
  "require-dev": {
    "ytake/gardening": "~1.0"
  }
}
```

(supported for virtualbox only)

boxes
-----

[](#boxes)

Included Software
-----------------

[](#included-software)

- CentOS 7
- Git
- PHP 7.x (remi repository)
- Apache (2.4.6)
- Nginx (1.14)
- MySQL (5.7)
- Sqlite3
- PostgreSQL (10.1)
- Composer (1.5)
- Node.js (Gulp, webpack)
- Redis(4.0)
- Memcached
- Elasticsearch(6.1)
- Kibana(6.1)
- MongoDB
- Java(1.8)
- fluentd
- Couchbase(5.1)
- beanstalkd(1.10)
- RabbitMQ(3.7.2)
- Apache Cassandra(3.11)
- Apache Spark(2.2.1)
- Apache Kafka(1.0.0 / Confluent Platform)

included php extensions
-----------------------

[](#included-php-extensions)

```
[PHP Modules]
amqp
apc
apcu
ast
bcmath
bz2
calendar
cassandra
Core
couchbase
ctype
curl
date
dom
ds
event
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
grpc
hash
iconv
igbinary
imagick
intl
json
ldap
libsodium
libxml
mbstring
mcrypt
memcached
memprof
mongodb
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
pcs
PDO
pdo_dblib
pdo_mysql
pdo_pgsql
pdo_sqlite
pdo_sqlsrv
pgsql
phalcon
Phar
phpiredis
posix
protobuf
rdkafka
readline
redis
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
solr
SPL
sqlite3
sqlsrv
ssh2
standard
Stomp
swoole
sysvmsg
sysvsem
sysvshm
tokenizer
uopz
uuid
wddx
xdebug
xhprof
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaml
Zend OPcache
zip
zlib
zmq

[Zend Modules]
Xdebug
Zend OPcache

```

Composer global
---------------

[](#composer-global)

included:

- friendsofphp/php-cs-fixer
- squizlabs/php\_codesniffer
- phpmd/phpmd

MySQL and PostgreSQL, RabbitMQ
------------------------------

[](#mysql-and-postgresql-rabbitmq)

- user: gardening
- password: 00:secreT,@

Xdebug
------

[](#xdebug)

default:

```
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.max_nesting_level = 512
xdebug.idekey = PHPSTORM

```

### php7.0

[](#php70)

```
xdebug.remote_port = 9070

```

### php7.1

[](#php71)

```
xdebug.remote_port = 9071

```

### php7.2

[](#php72)

```
xdebug.remote_port = 9072

```

Install Gardening Box
---------------------

[](#install-gardening-box)

### case 1, your "home" directory

[](#case-1-your-home-directory)

```
$ cd ~
$ git clone https://github.com/ytake/gardening.git gardening
```

setup.sh(Windows .bat) command from the gardening directory to create the vagrant.yaml configuration file.(~/.gardening hidden directory)

```
$ bash setup.sh
```

### case2, Per Project Installation

[](#case2-per-project-installation)

To install gardening directly into your project, require it using Composer:

```
$ composer require ytake/gardening --dev
```

use the make command to generate the Vagrantfile and gardening.yaml(or gardening.json) file in your project root.

```
$ ./vendor/bin/gardening gardening:setup
```

gardening.json:

```
$ ./vendor/bin/gardening gardening:setup --filetype=json
```

Configuration
-------------

[](#configuration)

### Choose Web Server

[](#choose-web-server)

default Nginx

```
web_server: nginx
```

Apache can be selected if necessary

```
web_server: httpd
```

### Choose PHP version

[](#choose-php-version)

default PHP7.2

```
php-alternatives: "7.1"
```

(7.0 or 7.1 or 7.2)

### Configuring Shared Folders

[](#configuring-shared-folders)

```
folders:
    - map: /path/to/yourProject
      to: /home/vagrant/yourProjectName
```

many shared folders:

```
folders:
    - map: /path/to/yourProject
      to: /home/vagrant/yourProjectName
    - map: /path/to/yourSecondfProject
      to: /home/vagrant/yourSecondProjectName
```

### Configuring Sites

[](#configuring-sites)

```
sites:
    - map: gardening.app.vagrant
      to: /home/vagrant/yourProject/public
```

many sites:

```
sites:
    - map: gardening.app.vagrant
      to: /home/vagrant/yourProject/public
    - map: gardening.second.app
      to: /home/vagrant/yourSecondProject/public
```

use symfony by setting the type option:

```
sites:
    - map: gardening.app.vagrant
      to: /home/vagrant/yourProject/public
      type: symfony
```

**symfony: symfony2, 3 / symfony4: symfony4**

#### Multiple PHP Versions

[](#multiple-php-versions)

```
sites:
    - map: gardening.app.vagrant
      to: /home/vagrant/yourProject/public
      php: "7.1"
    - map: gardening.second.app
      to: /home/vagrant/yourSecondProject/public
      php: "7.2"
```

### Optional

[](#optional)

#### Fluentd

[](#fluentd)

[Fluentd](https://www.fluentd.org/)

use Fluentd by setting the fluentd option to true:

```
fluentd: true
```

#### MongoDB

[](#mongodb)

[MongoDB](https://www.mongodb.com/)

use MongoDB by setting the mongodb option to true:

```
mongodb: true
```

#### Elasticsearch

[](#elasticsearch)

[Elasticsearch](https://www.elastic.co)

use Elasticsearch by setting the elasticsearch option to true:

```
elasticsearch: true
```

#### Kibana

[](#kibana)

[Kibana](https://www.elastic.co/products/kibana)

use Kibana by setting the kibana option to true:

```
kibana: true
```

*Access to Kibana *

#### Couchbase

[](#couchbase)

[Couchbase](https://www.couchbase.com/)

use Couchbase by setting the couchbase option to true:

```
couchbase: true
```

*Access to admin console *

#### Apache Cassandra

[](#apache-cassandra)

[Cassabdra](http://cassandra.apache.org/)
[Cassabdra(DataStax)](http://docs.datastax.com/en/landing_page/doc/landing_page/current.html)

use Apache Cassandra by setting the cassandra option to true:

```
cassandra: true
```

#### RabbitMQ

[](#rabbitmq)

[RabbitMQ](https://www.rabbitmq.com/)

use Couchbase by setting the rabbitmq option to true:

```
rabbitmq: true
```

*Access to rabbitmq management web ui *

#### Apache Kafka (Confluent Platform)

[](#apache-kafka-confluent-platform)

[Apache Kafka](https://kafka.apache.org/)
[Confluent](https://docs.confluent.io/current/)

use Kafka by setting the confluent option to true:

```
confluent: true
```

### Ports

[](#ports)

By default, the following ports are forwarded to your gardening environment:

- SSH: 2222 → Forwards To 22
- HTTP: 8000 → Forwards To 80
- HTTPS: 44300 → Forwards To 443
- MySQL: 33060 → Forwards To 3306
- Postgres: 54320 → Forwards To 5432
- MongoDB: 47017 → Forwards To 27017
- Elasticsearch: 19200 → Forwards To 9200
- kibana: 56010 → Forwards To 5601
- Cassandra: 19042 → Forwards To 9024
- Kafka: 19092 → Forwards To 9092

Forwarding Additional Ports:

```
ports:
    - send: 7777
      to: 777
```

Notice
------

[](#notice)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~117 days

Total

10

Last Release

2948d ago

Major Versions

0.4.0 → 1.0.02017-12-27

PHP version history (2 changes)0.1.1PHP &gt;=5.5.9

1.0.0PHP ^5.5||^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47817f3dd2890864096bd77ee772ec46061432f128988ca23939b0ca486d7bc3?d=identicon)[ytake](/maintainers/ytake)

---

Top Contributors

[![ytake](https://avatars.githubusercontent.com/u/4454078?v=4)](https://github.com/ytake "ytake (42 commits)")

---

Tags

centos7couchbaseelasticsearchfluentdgardeninghhvmphpvagrantdatabaseelasticsearchdevelopvagranthomesteadcouchbasecentos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ytake-gardening/health.svg)

```
[![Health](https://phpackages.com/badges/ytake-gardening/health.svg)](https://phpackages.com/packages/ytake-gardening)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.7k8.7k1](/packages/kimai-kimai)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

239.4k](/packages/perplorm-perpl)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
