定制 be-framework/be 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

be-framework/be

Composer 安装命令:

composer require be-framework/be

包简介

Be Framework - The Ontological Programming Framework for PHP

README 文档

README

"Be, Don't Do" - A paradigm where objects represent states of being, not collections of behaviors.

The Ontological Programming Framework for PHP

Be Framework implements Ontological Programming - focusing on what things are rather than what they do. Objects represent immutable states that transform through constructor-driven metamorphosis.

Key Features

  • New Paradigm - Shift from "what to do" to "what to be"
  • Semantic Variables - Variable names carry meaning and constraints
  • AI Native - Define meaning and constraints, let AI optimize implementation
  • No Invalid States - Objects can't exist in broken states
  • Temporal Existence - Time and domain are inseparable; objects exist in time
  • Natural Testing - Each state is independently verifiable

Documentation

Quick Learning

Demo

Run the hello-world example to see Be Framework in action:

php example/hello-world.php

This demonstrates:

  • Constructor-driven metamorphosis
  • Type-driven branching (formal vs casual styles)
  • Semantic validation with meaningful error messages
  • Automatic transformation through #[Be] attributes

统计信息

  • 总下载量: 95
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 24
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 24
  • Watchers: 5
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-08