Download the PHP package jiangwang/amis-schema without Composer
On this page you can find all versions of the php package jiangwang/amis-schema. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package amis-schema
Amis Schema PHP SDK
一个用于构建 Amis JSON Schema 的 PHP SDK。
安装
通过 Composer 安装:
快速开始
方式一:使用工厂类(推荐)
方式二:使用静态方法
方式三:Flutter 风格的函数调用(推荐)
三种调用方式对比
| 特性 | 工厂类调用 | 静态方法调用 | Flutter 风格调用 |
|---|---|---|---|
| 代码风格 | 链式调用 | 链式调用 | 函数式调用 |
| 参数传递 | 方法调用 | 方法调用 | 命名参数 |
| 可读性 | 良好 | 良好 | 优秀 |
| IDE 支持 | 完整 | 完整 | 完整 |
| 性能 | 高 | 高 | 高 |
| 推荐度 | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
选择建议
- Flutter 风格调用:推荐使用,参数清晰直观,特别适合复杂组件配置
- 工厂类调用:适合喜欢链式调用的开发者,代码简洁
- 静态方法调用:适合习惯传统 OOP 风格的开发者
许可证
MIT License
贡献
欢迎提交 Pull Request 和 Issue!
All versions of amis-schema with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package jiangwang/amis-schema contains the following files
Loading the files please wait ...