Download the PHP package lemberg/draft-environment without Composer
On this page you can find all versions of the php package lemberg/draft-environment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lemberg/draft-environment
More information about lemberg/draft-environment
Files in lemberg/draft-environment
Package draft-environment
Short Description Development environment for Draft Drupal.
License GPL-2.0-or-later
Informations about the package draft-environment
Draft Environment
This is Vagrant-based development environment for Drupal projects. This project is a part of a Draft Drupal project template.
Prerequisites
- PHP (7.4+) and Composer 2
- Vagrant (2.2.6+)
- VirtualBox (5.2+)
- mkcert (optional)
Vagrant plugins (will be automatically installed)
Vagrant Host Manager
Manages host and/or guest hosts
files. Draft is configured to create a hostname.test
DNS record on a host machine.
vagrant-disksize
A Vagrant plugin to resize disks in VirtualBox.
Vagrant WinNFSd (WINDOWS only)
Dramatically increases disk IO on Windows by adding NFS support.
How to
-
(Optional) Locally-trusted SSL certificates
Skip this step if
mkcert
is already installed and the local CA does already exist.Install mkcert in order to get locally-trusted development SSL certificates. This tool requires no configuration. After installation just run:
-
Add Draft Environment to the project (as a dev dependency):
-
Configure guest machine by answering installer's questions. At the moment, project name (hostname) and PHP version are the only settings that can be set interactively
-
Override any variable used in any Ansible role by manually editing the
vm-settings.yml
. All available variables alongside with their default values are listed in default.vm-settings.ymlHere's the list of used roles:
- draft (internal)
- oefenweb.swapfile @ v2.0.35
- geerlingguy.mailhog @ 2.3.0
- git_config (internal)
- apache2 (internal)
- geerlingguy.mysql @ 3.5.0
- t2l.php @ 1.6.2
- t2l.composer @ 2.0.5
- t2l.java @ 1.3.3
- t2l.solr @ 2.2.2
-
Create and provision the guest machine:
-
Commit
.gitignore
,Vagrantfile
andvm-settings.yml
to lock the VM state - Configuration can be overridden locally by creating and editing
vm-settings.local.yml
(and this file must not be committed)
Documentation
Everybody loves documentation. We do too! Check this out.
Changelog
Changelog can be found here CHANGELOG.md
All versions of draft-environment with dependencies
composer-plugin-api Version ^2.0
nette/finder Version ^2.5.2
nette/robot-loader Version ^3.4.1
symfony/filesystem Version ^3.4.47 || ^4.4.27 || ^5.3.4 || ^6.0.9
symfony/yaml Version ^3.4.41 || ^4.4.9 || ^5.3 || ^6.0.10
t2l/comments Version ^1.1.0