zfcampus/zf-apigility-admin-ui
最新稳定版本:1.3.13
Composer 安装命令:
composer require zfcampus/zf-apigility-admin-ui
包简介
Apigility Admin UI module
关键字:
README 文档
README
Repository abandoned 2019-12-31
This repository has moved to laminas-api-tools/api-tools-admin-ui.
This is the source code for the new Apigility Admin User Interface. We rewrote from scratch the UI in AngularJS with performance improvement and usability.
We added some new features:
- Doctrine support for DB connected REST service;
- DB autodiscovering for table and fields;
- Build package API file, ready for deployment (develop in progress, see TODO list);
- Per-API authentication (develop in progress, see TODO list);
Note
To be able to run the new UI you need to use the develop branch of zf-apigility-skeleton For instance, you can install the develop branch using composer:
composer create-project zfcampus/zf-apigility-skeleton apigility dev-developThis command install the zf-apigility-skeleton application in the apigility local folder.
Requirements
- npm, for installing the various development requirements, which primarily includes Grunt and Bower, and tools these to utilize.
- Grunt must be installed globally in order to allow using it to serve a source build and run tests.
- Bower must be installed globally in order to allow using it to install development dependencies.
Run the following command from this directory to install dependencies:
$ npm install
If you have not yet installed Grunt, please do so:
$ sudo npm install -g grunt
If you have not yet installed Bower, please do so:
$ sudo npm install -g bower
Finally, invoke Bower to install the relevant CSS and JS libraries:
$ bower install
Invoking the Admin
There are three ways to invoke the Admin UI: as part of an Apigility project, standalone via node, or via source using grunt.
Via Apigility
Add the admin as a dev requirement to your project:
$ composer require-dev "zfcampus/zf-apigility-admin-ui:~1.0" and add the module ZF\Apigility\Admin\Ui to the list of modules in config/development.config.php.dist (and potentially config/development.config.php if already in development mode.
Navigating to the URI /apigility/ui in your Apigility application will now hit the UI.
Standalone
The standalone method fires up a webserver using node. This method requires that you have a running Apigility Admin API and know the URL, and that that server is configured to enable CORS; see the Apigility CORS documentation if you need help setting this aspect up. Make a note of the URI for your server; the API URI will be <server>/apigility/api.
Additionally, we recommend noting the URI to your API documentation, so that the navigation item can point to it.
Fire up the admin UI using:
$ node index.js --src --api=<URI to Apigility Admin API (ends in /apigility/api)>
(For help with options, see node index.js -h.)
By default, if you do not specify a port, the server will run on port 3000; you can specify a port with the --port=<port> option.
Source invocation via Grunt
The grunt serve command does several things:
- Runs
grunt watch, which looks for file changes and runs tasks such asjshint, unit tests, and combining partials into JS templates. - Runs a livereload, static HTTP server; any file change will force it to reload, and trigger any browser windows with the UI loaded to reload.
The grunt server runs in the same way as the standalone server: it accepts the same options, and has the same CORS limitations. As an example:
$ grunt serve --api=<URI to Apigility Admin API (ends in /apigility/api)> \ > --doc=<URI to API documentation> --port=3001 --host=ag.dev
Please see our contributing guide for information on how to run tests and hack on the UI.
zfcampus/zf-apigility-admin-ui 适用场景与选型建议
zfcampus/zf-apigility-admin-ui 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 1.2M 次下载、GitHub Stars 达 39, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「api」 「zf2」 「apigility」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 zfcampus/zf-apigility-admin-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 zfcampus/zf-apigility-admin-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 zfcampus/zf-apigility-admin-ui 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
LosLog provides some log utility
EdpModuleLayouts is very simple Laminas module for making module-specific layouts insanely easy.
Zend Framework module to leverage the symfony dependency injection container
A PSR-7 compatible library for making CRUD API endpoints
RCM User HTML views/pages
统计信息
- 总下载量: 1.2M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 24
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2026-01-04