[Open Source] A permission management system developed with Vue3+Vite4, with a single codebase adapting to PCs, mobile devices, and tablets
![[Open Source] A permission management system developed with Vue3+Vite4, with a single codebase adapting to PCs, mobile devices, and tablets](https://yy123.ink/api/img/1782590743894-fz9l0k.jpg)
1. Project Overview
MineAdmin is a frontend-backend separated permission management system developed based on the Hyperf framework and Vue3+Vite4, with responsive support for multiple devices. Key features: backend CRUD generation + frontend low-code JSON-based configuration.
There are many excellent PHP administration systems, but I couldn't find a suitable one based on Swoole. So I developed an administration system from scratch. It can be used for website administration, CMS, CRM, OA, ERP, and more.
The backend system is developed using the Hyperf framework. Its enterprise-grade layered architecture makes it easy to support the early-stage development needs of startups and individuals, delivering performance comparable to statically typed languages while using fewer server resources. The frontend uses Vue3 + Vite3 + Pinia + Arco, with a single codebase adapting to PCs, mobile devices, and tablets.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
Demonstration images













4. Feature Overview
Built-in functions
- User Management: Supports adding, editing, deleting, and configuring users. Different users can see different homepages when logging into the administration panel.
- Department Management: Supports organizational structures such as companies, departments, and teams, displayed in a tree structure with data permission controls.
- Position Management: Allows administrators to assign job positions to users.
- Role Management: Supports role-based menu permission assignment and data permission allocation.
- Menu Management: Configure system menus, buttons, and other elements.
- Dictionary Management: Enables reusable management and maintenance of frequently used, predefined system data.
- System Configuration: Manage commonly used system settings.
- Operation Logs: Query users' routine operations within the system.
- Login Logs: Query records of users logging into the system.
- Online Users: View currently logged-in users.
- Service Monitoring: View the current server status, PHP environment, and other information.
- Attachment Management: Manage files, images, and other resources uploaded to the current system.
- Database Table Maintenance: Clean up fragmented data and optimize system database tables.
- Module Management: Manage all currently available system modules.
- Scheduled Tasks: Manage task scheduling online (add, edit, and delete tasks), including execution result logs.
- Code Generation: Generate frontend and backend code (php, vue, js, sql). Supports downloading generated code or generating it directly into modules.
- Cache Monitoring: View Redis information and details of keys used by the system.
- API Management: Manage applications and APIs, including API authorization. Automatically generates API documentation and validates input and output parameters.
- Queue Management: Provides message queue management, message administration, and message sending. Supports real-time message notifications via WebSocket (RabbitMQ installation required).
5. Tech Stack
Environment Requirements
- Swoole >= 4.6.x with Short Name disabled
- PHP >= 8.0 with the following extensions enabled: mbstring, json, pdo, openssl, redis, pcntl
- Mysql >= 5.7
- Redis >= 4.0
- Git >= 2.x
Acknowledgments
The following projects are listed in no particular order.
- Hyperf: A high-performance, enterprise-grade coroutine framework
- Arco: An enterprise-grade design system developed by ByteDance
- Swoole: A PHP coroutine framework
- Vue
- Vite
- JetBrains: Productivity tools