The Zephir Command Line

Once Zephir is installed, you’ll use the zephir command to manage the Zephir compiler for your projects. This chapter, and the ones following, are about the command itself, how to use it, and how to understand the things it outputs.

As of Zephir 0.11.7, the compiler makes use of stderr for displaying error messages. This means you can handle error outputs separately from normal ones, like so:

  1. zephir generate 2> errors.log 1> /dev/null