One URL = one file = one feature
inkphp is a PHP framework for the age of AI agents. To change a feature you change one file — params, auth, validation, SQL and HTML are all there. An agent reads one file and knows everything, no jumping between controllers, models, views and routes.
Why inkphp
One feature, one file
Adding a feature is adding a file; changing it is editing that file. One page can never break another.
Nothing implicit
No middleware, guard files, autoloading or source scanning. Everything a page depends on is a visible call.
Safe by default
Pages live outside the docroot; escaping, parameterized SQL, CSRF, local-only redirects, uploads that never execute.
Readable in one sitting
~1000 lines and 45 functions. One AGENTS.md tells an agent everything it needs.
Zero deps, no build
No Composer, no npm. Upload or git pull: nginx, Apache, Baota panel and shared hosting all work.
Built-in checks
bin/ink check verifies every page's declarations and security rules, so agents catch their own mistakes.
Open source under the MIT license, currently 1.0.0-beta.1. Source: GitHub · download zip