Download the PHP package jezzdk/scaffold-installer without Composer
On this page you can find all versions of the php package jezzdk/scaffold-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package scaffold-installer
Scaffold Installer
This package is a shameless copy of the Laravel Installer. It is customized to install Wordpress, Bedrock and Sage instead, as well as provide a Docker Compose file for development.
Installation
First, download the installer using Composer:
Make sure to place Composer's system-wide vendor bin directory in your $PATH so the scaffold executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:
- macOS and GNU / Linux Distributions:
$HOME/.composer/vendor/bin
- Windows:
%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
Once installed, the scaffold new
command will create a fresh installation in the directory you specify. For instance, scaffold new myproject mytheme
will create a directory named myproject
containing a fresh installation with all dependencies already installed and a fresh theme in web/app/themes/mytheme
:
Configuration
Change the settings in the .env
file to fit local development. These are the most common values to change:
Notice the DB_HOST value. In the docker environment we use the service name.
Start development
Start the docker containers to spin up the services:
The url from WP_HOME
can now be loaded in the browser.
See the documentation for Bedrock and Sage for further information:
License
Scaffold Installer is open-sourced software licensed under the MIT license.
All versions of scaffold-installer with dependencies
ext-zip Version *
guzzlehttp/guzzle Version ^6.0
illuminate/filesystem Version ^6.11
symfony/console Version ^4.0|^5.0
symfony/process Version ^4.2|^5.0