展示HN:Onetone – 一款具有AI运行时、ORM和CLI的PHP全栈框架
嘿,HN,
我开发了 Onetone Framework,这是一个全栈 PHP 框架,旨在拓展 PHP 的能力边界。
它快速、模块化,功能强大——将后端路由、ORM、CLI 工具和前端构建支持结合在一个开发者友好的体验中。
亮点:
- 支持 PHP 8.2+,具备自动路由和 ActiveRecord 风格的 ORM
- 内置 CLI、Docker 设置和 .env 支持
- 前端构建管道,使用 Vite 和 esbuild
- 不断扩展的测试套件,涵盖路由、查询构建、加密、数学、UUID 等等
它仍处于实验阶段,但我对它的发展感到兴奋。
希望能收到关于哪些地方显得过于复杂、缺少什么以及如何才能真正有用的反馈。
GitHub: [https://github.com/onetoneframework/framework](https://github.com/onetoneframework/framework)
查看原文
Hey HN,<p>I built Onetone Framework as a full-stack PHP framework that pushes the boundaries of what PHP can do.<p>It’s fast, modular, and surprisingly capable — combining backend routing, ORM, CLI tooling, and frontend build support into a single developer-friendly experience.<p>Highlights:
- PHP 8.2+ with autowired routing and ActiveRecord-style ORM
- Built-in CLI, Docker setup, and .env support
- Frontend build pipeline with Vite, esbuild
- Growing test suite covering routing, query building, crypto, math, UUID, and more<p>It’s still experimental, but I’m excited about how far it’s come.
Would love feedback on what feels over-engineered, what’s missing, and what could make it truly useful.<p>GitHub: <a href="https://github.com/onetoneframework/framework" rel="nofollow">https://github.com/onetoneframework/framework</a>