PHPackages                             trueadmin/kernel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. trueadmin/kernel

ActiveLibrary[Framework](/categories/framework)

trueadmin/kernel
================

TrueAdmin reusable backend kernel package.

v0.1.12(2mo ago)011MITPHPPHP &gt;=8.1

Since May 11Pushed 2mo agoCompare

[ Source](https://github.com/trueadmin-labs/trueadmin-kernel)[ Packagist](https://packagist.org/packages/trueadmin/kernel)[ Docs](https://github.com/trueadmin-labs/trueadmin-kernel)[ RSS](/packages/trueadmin-kernel/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (15)Versions (15)Used By (0)

TrueAdmin Kernel
================

[](#trueadmin-kernel)

Reusable backend kernel package for TrueAdmin.

This package contains backend primitives that are stable across projects: error codes, HTTP attributes, actor context, data-permission value objects, operation-log attributes, pagination/API envelope primitives, CRUD query protocol classes, and Hyperf runtime services that do not depend on host business tables.

Application-specific controllers, repositories, request classes, database resources, business services, and module/plugin facts stay in the template application or in each plugin.

The kernel is shared by Admin, Client, and Open entrypoints. End-specific authentication, permission policy, request validation, routing, menu resources, and database-backed implementations stay in the application or plugin that owns them.

CRUD Query Protocol
-------------------

[](#crud-query-protocol)

`TrueAdmin\Kernel\Crud` provides the standard backend representation of the list-query protocol:

- `CrudQuery`
- `CrudFilterCondition`
- `CrudSortRule`
- `CrudOperator`
- `CrudSortOrder`
- `CrudQueryRequest`

`CrudQueryRequest` parses the standard bracket query protocol into `CrudQuery`. It validates protocol shape only; resource-level field and operator allow-lists still belong to the application repository or query applier.

HTTP Primitives
---------------

[](#http-primitives)

The package also provides:

- `TrueAdmin\Kernel\Http\Request\FormRequest`
- `TrueAdmin\Kernel\Http\ApiResponse`
- `TrueAdmin\Kernel\Pagination\PageResult`

Projects can extend these classes or replace application-level bindings without modifying package source.

Hyperf Runtime Services
-----------------------

[](#hyperf-runtime-services)

The package provides reusable runtime services for a TrueAdmin backend:

- Attribute route registration
- Interface metadata scanning and OpenAPI document generation
- Module/plugin migration and seeder path registration
- Backend plugin runtime config reading
- Module and plugin translation loading
- SSE / `#[Streamable]` response runtime

These services may depend on Hyperf, but they must not depend on `Module/System` tables or any application-specific business process.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance87

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

14

Last Release

64d ago

Major Versions

v0.1.12 → 2.0.x-dev2026-05-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/a67353d2c4b3cc07da4317afb9ee2b6d8923d57f92e774404293f4480dd533f5?d=identicon)[trueadmin](/maintainers/trueadmin)

---

Top Contributors

[![chen-zhanjie](https://avatars.githubusercontent.com/u/80261118?v=4)](https://github.com/chen-zhanjie "chen-zhanjie (15 commits)")

### Embed Badge

![Health badge](/badges/trueadmin-kernel/health.svg)

```
[![Health](https://phpackages.com/badges/trueadmin-kernel/health.svg)](https://phpackages.com/packages/trueadmin-kernel)
```

###  Alternatives

[hyperf/xxl-job-incubator

php hyperf xxljob

4638.1k17](/packages/hyperf-xxl-job-incubator)[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

305190.9k](/packages/hyperf-hyperf-skeleton)[hyperf/http-server

A HTTP Server for Hyperf.

103.0M381](/packages/hyperf-http-server)[friendsofhyperf/sentry

The sentry component for Hyperf.

1974.5k](/packages/friendsofhyperf-sentry)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
