定制 no-global-state/krystal 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

no-global-state/krystal

Composer 安装命令:

composer require no-global-state/krystal

包简介

Lightweight PHP Framework

README 文档

README

Modern. Lightweight. Developer-first PHP framework.

Krystal Framework is designed for developers who want a clean, efficient, and productive environment without unnecessary complexity.

Why Krystal?

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

  • Logging, caching, validation, form handling, pagination, flash messages, data mappers, SEO helpers.
  • Image processing (resize, crop, thumbnails, AVIF/WebP conversion, batch optimization)
  • And many other common tools — no need for dozens of third-party packages.

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.

Who is Krystal for?

  • Developers who value simplicity and speed of development
  • Small to medium-sized projects, MVPs, internal tools, admin panels, and APIs
  • Teams that prefer explicit, maintainable code over heavy abstractions
  • Anyone building modern PHP applications (PHP 8.2+) without framework fatigue

License

Licensed under the BSD-3-Clause License.

Contributing

Fork the repo, create a feature branch, make your changes, push the branch, and open a pull request.

Security vulnerabilities

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):

  • A clear description of the vulnerability
  • Steps to reproduce (PoC code / script is extremely helpful)
  • Affected versions / components
  • Potential impact (e.g. XSS, SQL injection, RCE, privilege escalation, data leak…)
  • Any suggested mitigation or fix (optional but very appreciated)
  • Your name/handle and contact info (if you want credit / acknowledgment)

统计信息

  • 总下载量: 130
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固