A simple tutorial ᴾᴴᴾ - chung-leong/zigar GitHub Wiki

JavaScript | PHP


What do I need?

First of all, you need to install the php-zigar extension. Download the latest package from the project's release page then follow the installation instructions.

You also need the Zig compiler. ZVM is the recommended method of obtaining it. For the purpose of this tutorial, you should use version 0.15.2 of the compiler.

If you use VS Code as a code editor, you will want to install the Zig Language extension.

Examples

This tutorial consists of five lessons. Starting from minimal functionality, we'll create apps that perform increasingly sophisticated tasks.