Laravel后台启动器

laqul — Laravel 后台模板

作者 laqul

Laqul 是一个基于 Laravel 与 Quasar 的全栈启动套件,后端用 GraphQL 提供 API,前端为数据看板式客户端,并预留 Firebase 集成。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-01查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

前后端分离:Laravel + GraphQL API 与 Quasar 客户端分离,另有 client-backend 中转 OAUTH2 凭据

02

认证方式多样:OAUTH 2、密码登录、Google 与 Facebook 社交登录,注册与重置密码均带邮箱验证

03

客户端可构建为 SPA、PWA、桌面应用或移动应用

04

集成 Firebase Authentication 与 Firebase Cloud Messaging 通知

05

内置多语言、XSRF 防护、用户角色、用户头像、时区检测与条款/隐私政策页面

模板详细介绍

Laqul 是一个后台/启动器类模板,仓库分为 api、client 与 client-backend 三部分。api 是基于 Laravel 的 GraphQL API,使用 OAUTH 2 认证;client 是用 Quasar Framework 开发的看板客户端,可构建为 SPA、PWA、桌面应用或移动应用;client-backend 是一个 PHP 脚本,用于安全存放 API 的 client-id 与 client-secret,并处理 OAUTH2 认证与刷新令牌流程。

功能覆盖多语言、XSRF 防护、条款与隐私政策页面、Google 与 Facebook 社交登录、密码登录、带邮箱验证的注册与重置密码、用户头像、修改密码与用户名、退出登录、用户角色、用户时区检测,以及 Firebase Authentication、Firebase Cloud Messaging 通知。

使用限制:项目依赖 LAMP 环境、Node/npm、quasar-cli、composer 与 git;需要自行创建数据库并配置 SMTP、Firebase 服务账号与私钥、Firebase AUD、FCM 服务器密钥与发送者 ID、Google 与 Facebook OAuth 凭据。README 标注的框架版本为 Quasar 0.16 与 Laravel 5.6,属于较早版本,实际使用前需自行核对依赖兼容性。

Laravel后台启动器

适合你的项目吗?

适用场景

  • 需要带 OAUTH2 与社交登录的后台管理界面起步项目
  • 希望用 GraphQL 作为前后端数据交互方式的项目
  • 需要同时输出 Web、桌面或移动端客户端的应用
  • 计划使用 Firebase 认证与推送通知的项目

适合人群

  • 熟悉 Laravel、GraphQL 与 Quasar 的开发者
  • 需要现成认证与用户管理流程的后台项目
  • 可自行配置数据库、SMTP 与 Firebase 的团队
  • 以 MIT 许可代码为基础进行二次开发的场景

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需准备 LAMP 环境、Node/npm、quasar-cli、composer 与 git

  2. 2

    API 侧需克隆仓库后执行 composer install、生成应用密钥与 Passport 密钥,并配置数据库连接、迁移与种子数据

  3. 3

    需在 .env 中配置 SMTP、Firebase 服务账号与私钥、Firebase AUD、FCM 服务器密钥与发送者 ID,以及 Google/Facebook OAuth 凭据

  4. 4

    client-backend 需以 php -S localhost:8001 启动,作为客户端与 API 之间的 OAUTH2 中转

  5. 5

    client 侧需 npm install,并在 src/config/index.js 填入 Firebase 项目参数后运行 quasar dev

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 使用 Firebase Authentication 与 Cloud Messaging 功能需自行创建 Firebase 项目并配置服务账号、私钥、AUD、FCM 服务器密钥与发送者 ID,属于外部服务依赖。
  • Google 社交登录需自行申请 Google OAuth 2.0 客户端 ID 与密钥,依赖 Google 开发者控制台账号。
  • Facebook 社交登录需自行申请 Facebook OAuth 2.0 客户端 ID 与密钥,依赖 Facebook 开发者账号。
  • 注册、邮箱验证与重置密码等邮件功能需自行配置可用的 SMTP 邮件服务器。
  • 运行环境要求 LAMP 服务器,并需自行准备数据库、Node/npm、quasar-cli、composer 与 git。
  • README 提及 Firebase 集成;启用相关动态功能前需自行配置,并核对 Firebase 的额度与收费。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

* Create a [Firebase project](https://firebase.google.com)

README 原文

* Get your Google Oauth 2.0 Client ID and Client Secret from [Developers Console](https://console.developers.google.com)

README 原文

* Get your Facebook Oauth 2.0 Client ID and Client Secret from [Facebook Developers](https://developers.facebook.com)

README 原文

* Configure the SMTP server for emails in laqul/api/.env file:

README 原文

* LAMP Server

README 原文
https://github.com/laqul/laqul/blob/develop/LICENSEhttps://github.com/laqul/laqul/blob/develop/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 81 / 100
技术栈
Laravel
网站类型
后台 · 启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2020-08-16
截图检查日期
2026-10-01

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Laravel。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 89d98a1b186ada6cd3532037ae2d8d5d1086432192399c8a1cbcbe532c2d170f

2026-10-01T02:32:08.675Z

来源文件 / 仓库
![Laqu-l logo](https://laqul.github.io/assets/img/logo.png)

# Laqu-l

<a href="https://github.com/quasarframework/quasar">
    <img alt="Made with Quasar" src="https://img.shields.io/badge/made with-Quasar-2fa4cf.svg">
</a>
<a href="https://github.com/graphql">
    <img alt="Powered by GraphQL" src="https://img.shields.io/badge/powered by-GraphQL-e572d9.svg">
</a>
<a href="https://github.com/laravel/laravel">
    <img alt="uses Laravel" src="https://img.shields.io/badge/uses-Laravel-ff5d0e.svg">
</a>
<a href="https://github.com/firebase">
    <img alt="Ready for Firebase" src="https://img.shields.io/badge/ready for-Firebase-f6bc00.svg">
</a>

> A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL query language. And ready to use the Google Firebase features.

### Login Screen
[![Laqu-l Login Screen](https://laqul.github.io/assets/img/login.jpg)](https://laqul.github.io)
### Admin Screen
[![Laqu-l Admin Screen](https://laqul.github.io/assets/img/account.jpg)](https://laqul.github.io)


# Features
* Multilanguage capability
* XSRF protection in client and client-backend comunication.
* Use as SPA, PWA, DESKTOP APP, MOBILE APP, thanks to Quasar Framework
* Area for Terms and Conditions and Privacy Policy
* Social login (Google and Facebook by default)
* OAUTH 2 Authentication
* Password login
* User registration with password and email verification
* Reset password with email verification
* User avatar
* Update password
* Update user name
* Logout
* Firebase Authentication with custom generated token that allows using all Firebase features
* Firebase Cloud Messaging for app notifications
* User timezone detection for process related to user's time
* User roles

# Components

### API
OAUTH 2 Laravel API Powered with GraphQl

### Client
Dashboard with a basic features developed with Quasar Framework

### Client-Backend
PHP script that allows securely storing the API client-id and client-secret and managing the OAUTH2 authentication and refresh tokens process

## Requirements

* LAMP Server
* Terminal
* node
* npm
* quasar-cli
* [composer](https://github.com/composer/composer)
* git

## Installation

### Video Tutorial
[![Video Tutorial Instalation And Setup](https://img.youtube.com/vi/x5yF3bAbPzY/0.jpg)](https://youtu.be/x5yF3bAbPzY)

### API Setup

Prepare the Laravel API for the initial setup

* In your terminal type:
```
git clone https://github.com/laqul/laqul.git
cd laqul/api
composer install
cp .env.example .env
php artisan key:generate
php artisan passport:keys
```
* Create a database using [phpmyadmin](https://www.phpmyadmin.net/) or terminal:
```
mysql -u root -e "create database testdb"; 
```
If you have an existing mysql password, add -p above. You will be prompted for your password.

* Put your data connection in laqul/api/.env file:
```
DB_DATABASE=YOUR_DATABASE
DB_USERNAME=YOUR_DATABASE_USER
DB_PASSWORD=YOUR_DATABASE_PASSWORD
```
* Migrate data base
```
php artisan migrate --seed
```
* Configure the SMTP server for emails in laqul/api/.env file:
```
[email protected]
MAIL_FROM_NAME='Laqul'
MAIL_DRIVER=smtp
MAIL_HOST=SMTP_HOST
MAIL_PORT=SMTP_PORT
MAIL_USERNAME=SMTP_USERNAME
MAIL_PASSWORD=SMTP_PASSWORD
MAIL_ENCRYPTION=tls
```
* Create a [Firebase project](https://firebase.google.com)
* Go to project settings and get a service account then paste it in laqul/api/.env file
```
FIREBASE_SERVICE_ACCOUNT=YOUR_FIREBASE_SERVICE_ACCOUNT
```
* Into the Firebase project settings in service account option generate a private key, one file was downloaded, rename the key file to firebase-private.key and move it to laqul/api/storage folder

* Get the Firebase AUD and paste it in laqul/api/.env file [More Info](https://firebase.google.com/docs/auth/admin/create-custom-tokens)
```
FIREBASE_AUD=YOUR_FIREBASE_TOKEN_AUD
```
* Into the Firebase project settings in Cloud Messaging option get the server key and the sender id and paste it in laqul/api/.env file
```
FCM_SERVER_KEY=YOUR_FCM_SERVER_KEY
FCM_SENDER_ID=YOUR_FCM_SENDER_ID
```
* Get your Google Oauth 2.0 Client ID and Client Secret from [Developers Console](https://console.developers.google.com) and paste it in laqul/api/.env file
```
SOCIAL_GOOGLE_CLIENTID=YOUR_GOOGLE_CLIENT_ID
SOCIAL_GOOGLE_CLIENTSECRET=YOUR_GOOGLE_CLIENT_SECRET
```
* Get your Facebook Oauth 2.0 Client ID and Client Secret from [Facebook Developers](https://developers.facebook.com) and paste it in laqul/api/.env file
```
SOCIAL_FACEBOOK_CLIENTID=YOUR_FACEBOOK_CLIENT_ID
SOCIAL_FACEBOOK_CLIENTSECRET=YOUR_FACEBOOK_CLIENT_SECRET
```
* Back in your terminal make a sym-link to storage folder in your API folder
```
php artisan storage:link
```
* Run the API
```
php artisan serve
```

### Run The Client Backend
* Open a new terminal in laqul/client-backend folder and run:
```
php -S localhost:8001
```
This creates a server listening in port 8001, this is the intermediary between client and api for the Oauth 2.0 authentication

### Setup Client
* Open a new terminal in laqul/client folder and run:
```
npm install
```
* Go to laqul/client/src/config/index.js file and setup your firebase project data:
```
apiKey: 'YOUR_FIREBASE_API_KEY',
authDomain: 'YOUR_FIREBASE_AUTH_DOMAIN',
databaseURL: 'YOUR_FIREBASE_DATABASE_URL',
projectId: 'YOUR_FIREBASE_PROJECT_ID',
storageBucket: 'YOUR_FIREBASE_STORAGE_BUCKET',
messagingSenderId: 'YOUR_FIREBASE_SENDER_ID'
```
* Back to your terminal and run:
```
quasar dev
```

You are done! make something awesome! 

> Spelling and grammar correction are welcome :+1:

## Frameworks Used
* Quasar 0.16: [Official Documentation](http://quasar-framework.org)
* Laravel 5.6: [Official Documentation](https://laravel.com/docs/5.6)

## GraphQL
* Official Site: [GraphQL Info](http://graphql.org)
* Laravel GraphQL implementation: [Folkloreatelier/laravel-graphql](https://github.com/Folkloreatelier/laravel-graphql)

## Contributing
It would be great if you could contribute by adding new features, fixing bugs or showing us the steps to reproduce bugs.

## License

Copyright (c) 2018-present Fabian VR

[MIT License](http://en.wikipedia.org/wiki/MIT_License)
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。