更新
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="基于 Laravel + Laravel-S + Swoole 的高性能后端 API 系统">
|
||||
<title>Laravel-S - 高性能后端 API 系统</title>
|
||||
<meta name="description" content="LarAdmin - 基于 Laravel + Laravel-S + Swoole + Vue3 的高性能后台管理系统">
|
||||
<title>LarAdmin - 高性能后台管理系统</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
@@ -278,7 +278,7 @@
|
||||
<header>
|
||||
<div class="container">
|
||||
<nav>
|
||||
<a href="#" class="logo">🚀 Laravel-S</a>
|
||||
<a href="#" class="logo">🚀 LarAdmin</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="#features">特性</a></li>
|
||||
<li><a href="#tech">技术栈</a></li>
|
||||
@@ -291,8 +291,8 @@
|
||||
|
||||
<section class="hero">
|
||||
<div class="container animate-fadeInUp">
|
||||
<h1>高性能后端 API 系统</h1>
|
||||
<p>基于 Laravel + Laravel-S + Swoole 构建的现代化后端 API 系统,提供卓越的性能和开发效率</p>
|
||||
<h1>高性能后台管理系统</h1>
|
||||
<p>基于 Laravel 12 + Swoole + Vue3 构建的现代化后台管理系统,提供卓越的性能和开发效率</p>
|
||||
<div>
|
||||
<a href="/admin" class="btn btn-primary">进入后台管理</a>
|
||||
<a href="https://github.com/hhxsv5/laravel-s" target="_blank" class="btn btn-secondary">查看文档</a>
|
||||
@@ -315,24 +315,24 @@
|
||||
<p>采用 Laravel Modules 实现模块化架构,业务模块独立管理,易于扩展和维护</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">🔒</div>
|
||||
<h3>安全可靠</h3>
|
||||
<p>JWT 认证、RBAC 权限控制、数据验证等多重安全防护机制</p>
|
||||
<div class="feature-icon">🔐</div>
|
||||
<h3>完整权限</h3>
|
||||
<p>基于 RBAC 的权限控制系统,支持用户、角色、权限、部门管理</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">🎨</div>
|
||||
<h3>现代前端</h3>
|
||||
<p>基于 Vue 3 + Ant Design Vue + Vite 构建的现代化管理界面</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">📊</div>
|
||||
<h3>完整后台</h3>
|
||||
<p>基于 Vue3 + Ant Design Vue 构建的现代化后台管理系统</p>
|
||||
<h3>数据管理</h3>
|
||||
<p>支持数据导入导出、在线编辑、批量操作等功能</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">🔄</div>
|
||||
<h3>热重载</h3>
|
||||
<p>开发环境支持文件监控热重载,提升开发体验</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">📝</div>
|
||||
<h3>RESTful API</h3>
|
||||
<p>遵循 RESTful 规范的 API 设计,统一的响应格式</p>
|
||||
<div class="feature-icon">🌐</div>
|
||||
<h3>实时通信</h3>
|
||||
<p>内置 WebSocket 支持,实现实时消息推送和在线状态同步</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -344,11 +344,11 @@
|
||||
<div class="tech-grid">
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🐘</div>
|
||||
<h4>PHP</h4>
|
||||
<h4>PHP 8.2+</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🔷</div>
|
||||
<h4>Laravel</h4>
|
||||
<h4>Laravel 12</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🚀</div>
|
||||
@@ -358,21 +358,21 @@
|
||||
<div style="font-size: 36px;">⚡</div>
|
||||
<h4>Laravel-S</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🔑</div>
|
||||
<h4>JWT-Auth</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">📦</div>
|
||||
<h4>Laravel Modules</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">💚</div>
|
||||
<h4>MySQL</h4>
|
||||
<h4>Vue 3</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🎨</div>
|
||||
<h4>Ant Design</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">💾</div>
|
||||
<h4>MySQL 8.0+</h4>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<div style="font-size: 36px;">🔴</div>
|
||||
<h4>Redis</h4>
|
||||
<h4>Redis 6.0+</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -386,27 +386,34 @@
|
||||
<h3>模块化设计</h3>
|
||||
<p>项目采用清晰的分层架构,将业务逻辑合理划分:</p>
|
||||
<ul class="architecture-list">
|
||||
<li>基础模块(Auth、System):不使用 Laravel Modules 扩展</li>
|
||||
<li>基础模块(Auth、System):核心功能模块</li>
|
||||
<li>业务模块:使用 Laravel Modules 独立管理</li>
|
||||
<li>Controller 层:处理 HTTP 请求</li>
|
||||
<li>Service 层:业务逻辑处理</li>
|
||||
<li>Model 层:数据模型定义</li>
|
||||
<li>统一的 API 响应格式</li>
|
||||
<li>完整的权限控制系统</li>
|
||||
<li>WebSocket 实时通信支持</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="architecture-diagram">
|
||||
<div style="background: #f8f9fa; padding: 30px; border-radius: 10px;">
|
||||
<h4 style="text-align: center; margin-bottom: 20px; color: #667eea;">快速开始</h4>
|
||||
<pre style="background: #333; color: #fff; padding: 20px; border-radius: 5px; overflow-x: auto;"><code># 安装依赖
|
||||
<pre style="background: #333; color: #fff; padding: 20px; border-radius: 5px; overflow-x: auto;"><code># 一键安装
|
||||
composer run setup
|
||||
|
||||
# 或手动安装
|
||||
composer install
|
||||
|
||||
# 配置环境
|
||||
cp .env.example .env
|
||||
|
||||
# 执行迁移
|
||||
php artisan key:generate
|
||||
php artisan migrate
|
||||
php artisan db:seed
|
||||
php artisan jwt:secret
|
||||
|
||||
# 启动 Laravel-S
|
||||
# 启动开发服务
|
||||
composer run dev
|
||||
|
||||
# 或启动 Swoole(生产环境)
|
||||
php bin/laravels start
|
||||
|
||||
# 访问后台
|
||||
@@ -419,7 +426,7 @@ php bin/laravels start
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>© 2024 Laravel-S. Built with ❤️ using Laravel & Swoole</p>
|
||||
<p>© 2024 LarAdmin. Built with ❤️ using Laravel & Swoole & Vue3</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user