PHP 에서 가장 인기 있는 프레임워크 중 하나인 Laravel 개발을 위해서는 기본적인 요구 사항을 준비해야 한다.
Herd를 설치하면,
Composer, Nginx, PHP, DNSMasq 를 한번에 해결할 수 있다.
귀찮은 환경설정, Herd 하나로 해결된다.
무료 버전을 설치해도 개발에 이용하는데 별다른 어려움이 없다.
윈도우 버전, macOS 버전 둘다 설치 가능하다.
아마도 Laravel 개발은 Herd 로 종결될 것 같다.
$ Herd
Herd 1.9.1
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
completion Dump the shell completion script
composer Proxy Composer commands with isolated site's PHP executable
coverage Proxy PHP commands with isolated site's PHP executable and Xdebug code coverage enabled
debug Proxy PHP commands with isolated site's PHP executable and debug.ini loaded
directory-listing Determine directory-listing behavior. Default is off, which means a 404 will display.
edit Open the site in your favorite IDE
fetch-share-url Get the URL to the current share tunnel for Expose
forget [unpark] Remove the current working (or specified) directory from Herd's list of paths
help Display help for a command
isolate Change the version of PHP used by Herd to serve the current working directory
isolate-node Change the version of Node used by the CLI for the current working directory
isolated List all sites using isolated versions of PHP.
isolated-node List all sites using isolated versions of Node.
link Link the current working directory to Herd
links Display all of the registered Herd links
list List commands
log Tail log file
logs Show the log viewer UI for the given site
loopback Get or set the loopback address used for Herd sites
open Open the site for the current (or specified) directory in your browser
park Register the current working (or specified) directory with Herd
parked Display all the current sites within parked paths
paths Get all of the paths registered with Herd
php Proxy PHP commands with isolated site's PHP executable
proxies Display all of the proxy sites
proxy Create an Nginx proxy site for the specified host. Useful for docker, mailhog etc.
restart Restart the Herd services
secure Secure the given domain with a trusted TLS certificate
secured Display all of the currently secured sites
share Share the current site via an Expose tunnel
site-information Display information about the specified site
start Start the Herd services
stop Stop the Herd services
tinker Run tinker/Tinkerwell
tld [domain] Get or set the TLD used for Herd sites.
unisolate Stop customizing the version of PHP used by Herd to serve the current working directory
unisolate-node Stop customizing the version of Node used the CLI for the current working directory
unlink Remove the specified Herd link
unproxy Delete an Nginx proxy config.
unsecure Stop serving the given domain over HTTPS and remove the trusted TLS certificate
use Change the version of PHP used by Herd
which Display which Herd driver serves the current working directory
which-php Get the PHP executable path for a given site