Show HN: Onetone – A PHP full-stack framework with AI runtime, ORM, CLI
Hey HN,
I built Onetone Framework as a full-stack PHP framework that pushes the boundaries of what PHP can do.
It’s fast, modular, and surprisingly capable — combining backend routing, ORM, CLI tooling, and frontend build support into a single developer-friendly experience.
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
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.
Nice work! The autowired routing + ActiveRecord ORM combo is clean.
Quick question: How does the AI runtime part work? Is it for code generation or something else?
We just shipped Context Sync (MCP server for persistent AI context). If you're doing AI-assisted PHP dev, might be interesting to connect Onetone with it - your framework decisions could persist across AI conversations.
Anyway, good luck with the launch! PHP frameworks don't get enough love these days.
Thanks a lot for the kind words!
The AI runtime part is still pretty experimental — right now it’s basically a set of hooks that let me call out to external processes (via FFI) and experiment with model inference or code-gen helpers. The idea was to see how far I could push PHP into interacting with AI runtimes without leaving the framework context.
Context Sync sounds really interesting. Persisting framework decisions across AI conversations could make the dev workflow much smoother. I’ll definitely take a look at how it might connect with Onetone.
Thanks again for the thoughtful comment, and have a great day!