Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Learn more

Forge CLI

Reading logs

Forge CLI allows you to read your servers log files without having to connect to your server via SSH.

You can see the Nginx error logs, using: forge logs.

There are multiple available log files that you can access:

Nginx Access Logs#

To retrieve the Nginx access logs, pass the --file=nginx_access option to the logs command.

forge logs --file=nginx_access

Nginx Error Logs#

To retrieve the Nginx error logs, pass the --file=nginx_error option to the logs command.

forge logs --file=nginx_error

Database Logs#

To retrieve the database logs, pass the --file=database option to the logs command.

forge logs --file=database

PHP FPM Logs#

To retrieve the PHP FPM logs, pass the --file=php7x option to the logs command, where php7x is a valid version number. For example:

forge logs --file=php74

Laravel Herd

Herd is a blazing fast, native Laravel and PHP development environment for macOS. It includes everything you need to get started with Laravel development, including PHP and nginx. Once you install Herd, you're ready to start developing with Laravel.

Herd is available for macOS and Windows.

Learn more