How xuey490/fssadmin works
FSSADMIN is a Vue administration frontend backed by a PHP framework and business application, with optional plugins and three documented server runtimes. The principal flow is an administrator’s HTTP request through the runtime and framework routing/middleware into a controller and domain service, then back as JSON for the frontend. The README documents capabilities beyond sampled code; those branches are included at subsystem level. Several feature implementations and frontend API call sites were not sampled, so their internal edges are omitted.
Main entry points: Framework.php Request framework · App.vue Admin interface · SystemController.php System management · AuthController.php Authentication
Components 26
Runtime framework
- Server modes
server/server.php - Request framework
server/framework/Core/Framework.php - Attribute routing
server/framework/Core/AttributeRouteLoader.php - Middleware and security
server/framework/Middleware/MiddlewareDispatcher.php - Service container
server/framework/Container/Container.php - Controller base
server/framework/Basic/BaseController.php - JSON responses
server/framework/Basic/BaseJsonResponse.php - Tenant context
server/framework/Tenant/TenantContext.php
Admin business
- Authentication
server/app/Controllers/AuthController.php - Users and permissions
server/app/Models/SysUser.php - System management
server/app/Controllers/SystemController.php - Article management
server/app/Controllers/ArticleController.php - Scheduled tasks
server/app/Controllers/CrontabController.php - Generation and database tools
server/app/Controllers/GenerateController.php - Server and Redis monitoring
server/app/Controllers/System/RedisController.php - Login and operation logs
server/app/Services/LoginLogService.php
Web admin
- Admin interface
web/src/App.vue - Frontend routes
web/src/router/routes/asyncRoutes.ts - Frontend authentication
web/src/hooks/core/useAuth.ts - API modules
web/src/api - Frontend state
web/src/store
Extensions
- Plugin lifecycle
server/framework/Plugin/PluginManager.php - Plugin management API
server/app/Controllers/System/PluginController.php - Blog plugin
server/plugins/blog/Controllers/PostController.php
Other components
- Administrator
- HTTP client
Connections 23
- Administrator → Admin interface: uses
- Admin interface → Frontend routes: navigates
- Admin interface → Frontend authentication: authenticates
- Admin interface → Frontend state: stores state
- Admin interface → API modules: requests data
- API modules → HTTP client: sends requests
- HTTP client → Server modes: sends request
- Server modes → Request framework: dispatches
server/server.php - Request framework → Attribute routing: matches routes
server/framework/Core/Framework.php - Request framework → Middleware and security: dispatches through
server/framework/Core/Framework.php - Request framework → Service container: resolves services
server/framework/Core/Framework.php - Request framework → Controller base: invokes controller
server/framework/Core/Framework.php - Controller base → JSON responses: creates response
server/framework/Basic/BaseController.php - Authentication → Users and permissions: reads user
server/app/Controllers/AuthController.php - Authentication → Tenant context: uses tenant context
server/app/Controllers/AuthController.php - System management → Users and permissions: uses user model
server/app/Controllers/SystemController.php - System management → Server and Redis monitoring: offers monitoring
- HTTP client → Article management: requests content
- HTTP client → Scheduled tasks: manages tasks
- HTTP client → Generation and database tools: uses tools
- System management → Login and operation logs: uses log services
server/app/Controllers/SystemController.php - Plugin management API → Plugin lifecycle: manages plugins
server/app/Controllers/System/PluginController.php - Plugin lifecycle → Blog plugin: loads extension