herd list
in your terminal.
herd composer
command proxies composer calls to the isolated PHP version of a site. We recommend setting up an alias for your terminal so that running composer
on the command line always uses herd composer
and uses the correct PHP version for your site.
herd coverage
to run PHP commands with Xdebug coverage enabled and it always uses the the isolated PHP executable.
herd debug
and automatically load your debug.ini
for this command. The debug.ini
usually includes Xdebug so if you want to debug artisan commands, this is how to do it from your terminal.
herd edit
command opens the current directory in the configured IDE.
herd ini
command automatically opens the php.ini
file for your current global PHP version in your configured IDE.
When running this command in an isolated project path, Herd will open the php.ini file for the isolated PHP version.
You may also specify which version you want to use:
herd.yml
file is present in the directory, Herd configures your application according to the manifest file. Without a herd.yml
, the command starts the wizard to create one.
herd composer
or herd php
commands.
herd isolate
comand for PHP, the herd isolate-node
command sets a specific Node.js version for a directory. The difference to the PHP version of the command is that herd isolate-node
creates and NVM config file that autoamtically switches the global node version if you enter this directory – so you can’t run multiple versions in different directories in parallel.
isolated
command lists all sites with isolated PHP versions and givey you a quick overview where they are.
isolate-node
command lists all sites with isolated Node.js versions.
herd link
command. It also supports linking multiple domains to a single application.
herd links
.
herd log
command. If you run it without an argument, it displays all available log files and if your specify a service, it tails the logs of this service.
herd logs
from your terminal.
herd open
command opens the current directory in a browser.
herd park
command and make all subdirectories available via their .test
domains.
herd parked
to lists all sites in parked paths.
herd php
command runs PHP commands using the isolated executable for the site.
herd restart
command.
herd secure
in the directory of am application.
herd secured
to list all currently secured sites with the expiration date of the certificate.
herd share
command and Expose.
herd site-information
command displays information based on the driver of the application. For Laravel applications, this is the result of the php artisan about
command but you can replace that with a custom driver.
herd start
.
herd stop
.
herd tinker
. If Herd detects Tinkerwell on your machine, it automatically opens the application in Tinkerwell.
herd unisolate
to remove the isolation.
herd isolate
, the unisolate-node
command removes the isolation to a specific Node.js version. The command uses Herd’s nvm under the hood so make sure to have that installed first.
herd unlink
command in the linked directory.
herd unsecure
to remove the TLS certificate of the domain and the automated redirect to HTTPS from nginx. Make sure to restart your browser session or clear your redirect cache because your browser will still try to send you to the HTTPS URL instead of simply serving the site via HTTP.
herd use
changes the global PHP version that Herd uses to serve all sites that don’t have an isolated version.
herd which
to see which driver Herd detects for the application at your current terminal path.
herd which php
to see which PHP binary Herd uses to serve the application at your current terminal path.
forge
commands like forge ssh
from any local site that you link via the Forge Integration without specifying a server.