Download the PHP package yangweijie/libui-builder without Composer

On this page you can find all versions of the php package yangweijie/libui-builder. 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 libui-builder

libuiBuilder

Builder 方式开发 kingbes/libui GUI 应用,提供直观、灵活的 PHP 桌面应用开发体验。

✨ 特性

🚀 快速开始

安装

方式一:Builder API

方式二:HTML 模板(推荐)

views/login.ui.html:

app.php:

🛠️ 开发工具

可视化预览工具

在编写 .ui.html 模板时,使用可视化预览工具实时查看布局效果:

特性:

详细使用说明: tools/README.md

📚 文档

🎯 核心概念

HTML 模板系统

使用 HTML 标签定义界面,自动渲染为原生 GUI 组件:

支持的标签:

Group 容器

使用 Group 创建带标题的分组容器:

Grid 布局

精确的二维布局系统:

布局属性:

状态管理

响应式数据绑定:

HTML 中绑定:

事件系统

模板复用

📦 支持的组件

容器组件

基础控件

选择控件

其他控件

🧪 测试

📖 示例

查看 example/ 目录:

运行示例:

🎨 最佳实践

1. 使用 HTML 模板作为主要开发方式

推荐:

不推荐(除非需要动态构建):

2. 组织项目结构

3. 分离事件处理逻辑

4. 使用 Grid 布局

优先使用 Grid 而不是嵌套的 Box:

好:

不好:

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📄 许可证

MIT License

🙏 致谢

基于 kingbes/libui 构建。


注意: 本项目主要提供两种开发方式:

  1. HTML 模板渲染(推荐) - 熟悉的语法、可视化预览、组件复用
  2. Builder API - 动态构建、编程灵活性

两种方式可以混合使用,选择最适合你的工作流!


All versions of libui-builder with dependencies

PHP Build Version
Package Version
Requires ext-dom Version *
ext-ffi Version *
ext-libxml Version *
kingbes/libui Version 0.1.*
ffi/var-dumper Version 1.0.x-dev
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 yangweijie/libui-builder contains the following files

Loading the files please wait ...