Download the PHP package kingbes/wasm without Composer

On this page you can find all versions of the php package kingbes/wasm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wasm

php-wasm

通过 PHP FFI 调用 C 动态库,以编程方式构建 WebAssembly (Wasm) 模块的 PHP 库。

特性

环境要求

安装

快速开始

核心类

说明
Module Wasm 模块管理:创建函数、全局变量、内存、数据段、编译输出
Func Wasm 函数体编写:常量、变量、算术、位运算、比较、控制流、内存、引用等指令
ValType 值类型枚举:I32, I64, F32, F64, V128, FuncRef, ExternRef
NumType 数值类型枚举:I32, I64, F32, F64
RefType 引用类型枚举:FuncRef, ExternRef
ConstExpression 常量表达式,用于全局变量初始化
FunType 函数类型对象,用于 debug 模式

详细文档

文档 说明
Module 类 模块创建、函数管理、全局变量、内存、数据段、编译
Func 类 函数体指令:常量、局部/全局变量、算术、位运算、比较、类型转换、控制流、内存、引用
类型枚举 ValType、NumType、RefType 枚举说明
ConstExpression 常量表达式与全局变量初始化
使用示例 完整使用示例:加法函数、循环、条件分支、内存操作等

项目结构

License

MIT


All versions of wasm with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-ffi Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kingbes/wasm contains the following files

Loading the files please wait ...