PHPackages                             popo1h/phaadmin-core - 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. [Admin Panels](/categories/admin)
4. /
5. popo1h/phaadmin-core

ActiveLibrary[Admin Panels](/categories/admin)

popo1h/phaadmin-core
====================

0.0.4(7y ago)0402PHP

Since Oct 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/popo1h/phaadmin-core)[ Packagist](https://packagist.org/packages/popo1h/phaadmin-core)[ RSS](/packages/popo1h-phaadmin-core/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

Action
------

[](#action)

模板:

```
/**
 * @action-title title
 * @access-auth auth_name
 * @access-auth-class \namespace\auth_class_name
 * @access-auth-auto-by-action true
 * @require-auth auth_name1
 * @require-auth auth_name2
 * @require-auth-class \namespace\auth_name3_class_name
 * @doc-enable true
 * @doc-title doc_title
 * @doc-type post
 * @doc-param name=param_name type=string desc=description required=true in=formData
 * @doc-return path=data.list[] name=data_name desc=description
 * @doc-tag test
 * @doc-delete true
 */
class ActionClass extends \Popo1h\PhaadminCore\Action
{
    public static function getName()
    {
        return action_name;
    }

    public function doAction()
    {
        //TODO do action
        $postParamA = $this->request->getPostDataByName('a');

        return (new \Popo1h\PhaadminCore\Response\CommonResponse('content:' . $postParamA);
    }
}

```

comment参数:

comment-namedescriptionaction-titleaction的标题access-auth访问action前需验证的权限名称, null为不验证 (access-auth类指定一种)(优先级1)access-auth-class访问action前需验证的权限完整类名称, null为不验证 (access-auth类指定一种)(优先级2)access-auth-auto-by-action值为true, 访问action前需验证的权限根据action自动生成 (access-auth类指定一种)(优先级3)require-auth可配置多条, action使用到的额外权限 (doAction中使用checkAuth方法判断用户是否有该权限require-auth-class可配置多条, action使用到的额外权限完整类名称 (doAction中使用checkAuth方法判断用户是否有该权限doc-enable值为true, 生成接口文档doc-title接口标题, 不填则使用action-titledoc-type接口类型(生成文档用), post或getdoc-consume接口文档参数类型, 如:application/x-www-form-urlencoded, multipart/form-datadoc-param接口参数信息(生成文档用), 配置为name=value的形式, 空格隔开doc-return接口返回信息(生成文档用), 配置为name=value的形式, 空格隔开doc-tag接口标签doc-delete值为true, 接口加删除线doc-param配置参数:

namedescriptionname参数名称(必填)type参数类型, \[integer, string, number, file:文件对象\]desc参数简介required是否必填, \[true, false\]in参数请求方式, 固定值formData, \[formData:表单项\]doc-return配置参数:

namedescriptionpath结果路径, 用.分隔, 其中\[\]结尾代表对应字段为数组格式, 如data.list\[\].obj代表的是{ data: { list: \[ { obj: {这个位置} } \] }name参数名称(必填)type参数类型, \[integer, string, number, object, array\]desc参数简介

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7654876?v=4)[popo1h](/maintainers/popo1h)[@popo1h](https://github.com/popo1h)

---

Top Contributors

[![popo1h](https://avatars.githubusercontent.com/u/7654876?v=4)](https://github.com/popo1h "popo1h (6 commits)")

### Embed Badge

![Health badge](/badges/popo1h-phaadmin-core/health.svg)

```
[![Health](https://phpackages.com/badges/popo1h-phaadmin-core/health.svg)](https://phpackages.com/packages/popo1h-phaadmin-core)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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