Krystal Framework
Iâve worked with many popular PHP frameworks over the years, and I kept running into the same problems:, (*1)
- Overcomplicating simple tasks
- Tight coupling between components
- Steeper-than-necessary learning curves
- Missing basic tools and components
- Overly bloated documentation
- Dozens of unnecessary dependencies youâll never actually use
I created Krystal Framework to solve these issues., (*2)
Why Choose Krystal Framework?, (*3)
-
Insanely simple API
Simplicity is at the heart of Krystal. The API is designed to be as clear and intuitive as possible, so you can focus on building, not deciphering., (*4)
-
MVC done right
Krystal delivers a precise MVC implementation with a dynamic routing system and controller-based architecture.
There are no heavy models or ActiveRecord patternsâmodels are composed of data mappers and service objects for clean, maintainable code., (*5)
-
Built-in code generator
Kickstart development with Krystalâs built-in code generator, making repetitive tasks effortless., (*6)
Components, (*7)
-
Routing & Controllers
Simple yet powerfulâroutes are defined with a straightforward array and mapped directly to controller actions., (*8)
-
Powerful Grid
Create beautiful, data-rich tables with built-in filtering, sorting, and paginationâno extra setup required., (*9)
-
Membership
The built-in membership module includes all the essentials: login, registration, and password recovery., (*10)
-
Image Tools
Crop, resize, generate thumbnails, batch compress, and convert JPGs to AVIF or WebPâquickly and easily., (*11)
-
Administration panel
A fully pre-configured admin panel comes ready to use, complete with authentication and an RBAC (role-based access control) system., (*12)
...and much more!, (*13)
Documentation
You can find documentation and tutorials on the official website., (*14)
License
The framework is licensed under BSD-3., (*15)
Contributing
Fork the repo, create a branch, make your changes, push them, and open a pull request for review., (*16)
Security vulnerabilities
If you discover a vulnerability, please do not open a public issue. Instead, email the author at [contact@krystal-framework.dev] with a detailed description of the steps to reproduce it., (*17)