To be able to run Wasmer inside our PHP application, we will need PHP to be installed in our system.
To ensure it is installed, let's run the following:
php --version # This will show the PHP version
Now it's time to create a new project and add Wasmer as a dependency:
mkdir wasmer-projectcd wasmer-projectcomposer init --name=wasmer-projectcomposer require wasm/wasm
Next, let's take a look at some examples!