Installation

Before we can begin we of course have to install the Htx cli. This cli is responsible for converting our htx files to regular php files.

Requirements

You do need a few things to install Htx.

  • NodeJS
  • NPM
  • PHP (Of course) Since Htx was created with NodeJS and you can only install it using NPM those are also required.

Installing

Run

npm install -g php-htx-cli

You might be wondering why there is -g. This is used to install it globally so you can use it everywhere TODO: Can install single project?