Modern. Lightweight. Developer-first PHP framework.
Krystal Framework is designed for developers who want a clean, efficient, and productive environment without unnecessary complexity.
Extremely simple and intuitive API
Predictable naming, minimal boilerplate, and clear conventions let you focus on building features instead of fighting the framework.
Clean MVC architecture β done right
Straightforward controllers, views, and dynamic routing. No heavy ORM or ActiveRecord. Lightweight Data Mappers + Service objects encourage clean separation of concerns, testability, and maintainable code.
All essential tools included out of the box
Built-in code generator
Quickly scaffold controllers, services, forms, migrations, admin CRUD interfaces, and more.
Minimal footprint
Small core size (~2 MB), fast boot time, very few dependencies. Performs well even in resource-constrained environments.
Clear and concise documentation
Straightforward examples, no overwhelming walls of text β easy to get started and productive quickly.
Licensed under the BSD-3-Clause License.
Fork the repo, create a feature branch, make your changes, push the branch, and open a pull request.
If you believe you have discovered a security vulnerability in Krystal Framework, please help us keep our users safe by following responsible disclosure practices.
Do not report security issues via public GitHub issues, pull requests, discussions, or any other public channels β this could expose users before a fix is available.
How to report a vulnerability
Please send a detailed report privately to the project maintainer:
Email: contact@krystal-framework.dev
Include the following in your report (the more details, the faster we can respond and verify):