You need to have PHP 7.2+ installed in order to run fwd
.
curl -L https://github.com/fireworkweb/fwd/raw/php/builds/fwd -o /usr/local/bin/fwd
chmod +x /usr/local/bin/fwd
- For Release Candidate and testing the latest features please checkout #70 (comment).
- Don't have and don't want to have PHP installed locally? Checkout and follow #21 for 100% Docker usage, thus not requiring PHP.
# to install docker-compose.yml file into the project (just the first time)
fwd install
# start up the application containers
fwd start
# bring down the containers
fwd down
# other commands
fwd composer install
fwd artisan migrate:fresh --seed
fwd yarn install
fwd yarn dev
fwd
is very flexible for you to tweak and change behaviors using environment variables. Variables like FWD_HTTP_PORT
that holds the port http
service will bind to, for example, can easily be changed in a number of ways, find the one that best fits your needs.
The precedence is as follows (from the highest to the lowest precedence):
- In-line/exported environment variables. (i.e
FWD_DEBUG=1 fwd ...
) .env
file in the current working directory (dotenv file format; usually not versioned in your project)..fwd
file in the current working directory (this file holds project specificfwd
settings that usually are versioned with the project).$HOME/.fwd
file; so you can have user-system specific changes easily across the board if needed.- Defaults
.fwd
distributed file bundled infwd
CLI; subject to changes with new versions.
The MIT License (MIT). Please see License File for more information.