iquesters/user-interface
Composer 安装命令:
composer require iquesters/user-interface
包简介
A modern, reusable, and customizable UI interface built for creating clean and responsive user experiences. Designed with simplicity, scalability, and flexibility in mind.
README 文档
README
A modern, reusable, and customizable UI package for Laravel applications — developed and maintained by Iquesters.
This package provides a unified layout structure, navigation system, and interface configuration for Laravel-based modular applications. It acts as the front-end foundation for many Iquesters packages, ensuring a consistent, clean, and responsive user interface.
⚙️ Purpose
The User Interface Package serves as the visual and layout layer for Iquesters modules. It includes ready-to-use templates such as headers, sidebars, module tabs, and dropdowns — all styled for scalability and responsiveness.
It allows developers to:
- Maintain consistent design across all Iquesters modules
- Configure layouts and navigation behavior easily
- Integrate seamlessly with other Iquesters packages
🚀 Installation
-
Install the package via Composer
composer require iquesters/user-interface
-
Run the migrations
php artisan migrate
-
Seed the default UI data
php artisan user-interface:seed
Once installed, the package automatically registers its layout and configuration.
🎨 Features
- 🧱 Unified Layout System — Shared structure for headers, sidebars, and navigation
- ⚙️ Configurable via .env — Customize UI behavior without touching code
- 📱 Responsive Design — Optimized for both desktop and mobile
- 🔄 Dynamic Module Tabs — Automatically handles module navigation
- 🧩 Integration-Ready — Works seamlessly with other Iquesters modules
🔧 How to Configure
The package includes a config file located at config/userinterface.php.
You can override any setting using your .env file.
1. Middleware
Defines which middleware are applied to your application layout.
USERINTERFACE_MIDDLEWARE="web,auth"
Default: ['web', 'auth']
2. Layout Template
Specifies the default Blade layout used as your app’s shell.
USERINTERFACE_LAYOUT_APP="userinterface::layouts.app"
You can change this if you have your own layout file.
3. Logo Configuration
Set your brand logo (URL or path).
USER_MANAGEMENT_LOGO="/images/logo.png"
You can use:
- A full URL (e.g.,
https://example.com/logo.png) - A local path (e.g.,
/images/logo.png) - A package asset path (e.g.,
img/logo.png)
4. Navigation Style
Choose your preferred navigation style.
USERINTERFACE_NAV_STYLE=minibar
Options:
minibar— vertical left sidebarheader— horizontal module tabs in header
5. Module Tabs
Set how many modules appear before the rest go into a dropdown.
USERINTERFACE_MODULE_TABS=7
6. Mobile Navigation
Configure how the mobile bottom navigation behaves.
USERINTERFACE_MOBILE_BOTTOM_TABS=4 USERINTERFACE_MOBILE_FEATURED_TAB=null USERINTERFACE_MOBILE_FEATURED_POSITION=center
USERINTERFACE_MOBILE_FEATURED_TAB: Set a featured module (e.g.,dashboard)USERINTERFACE_MOBILE_FEATURED_POSITION:center,left, orright
iquesters/user-interface 适用场景与选型建议
iquesters/user-interface 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 138 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 iquesters/user-interface 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 iquesters/user-interface 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 138
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-29