Laravel启动器

northwestern-laravel-starter — Laravel 启动器模板

作者 NIT-Administrative-Systems

西北大学 IT 团队维护的 Laravel 启动器,预置认证授权、API 令牌与日志、审计、Filament 管理面板及西北大学目录与 EventHub 集成。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

领域驱动设计,按业务关注点组织代码,业务逻辑以单一职责 Action 类封装

02

认证支持 Entra ID SSO、访问令牌与免密码邮件验证码,含角色权限管理与用户模拟

03

API 侧提供令牌 CIDR 限制与轮换、请求日志与性能指标、trace ID 传播、RFC 9457 错误响应

04

完整审计轨迹记录模型变更与用户操作的前后历史,敏感信息哈希或加密

05

模块化 Filament 管理面板,含预置表格、表单与仪表盘,遵循学校品牌与 WCAG 2.1

06

预置 GitHub Actions 工作流、并行 PHPUnit 与 Cypress 测试、健康检查与运维仪表盘

模板详细介绍

这是 Northwestern University(西北大学)NIT-Administrative-Systems 团队开源的 Laravel 启动器,定位为校内项目的企业级起点。它把业务逻辑之外的基础设施先行搭好:认证流程、授权层、API 约定、审计、CI/CD 工作流、前端模式与项目结构,使团队可以直接进入功能开发。架构上采用领域驱动设计,按业务关注点组织代码,业务逻辑以单一职责的 Action 类封装;配置项覆盖认证方式、API 功能、西北大学集成与应用行为。

功能范围包括:认证支持 Entra ID SSO、访问令牌与免密码邮件验证码;基于角色的权限系统带管理界面,并支持用户模拟。API 侧提供访问令牌管理(CIDR IP 限制、轮换、有效期与到期通知)、请求日志与性能指标、trace ID 传播、符合 RFC 9457 的错误响应。审计方面记录模型变更与用户操作的前后历史,敏感信息做哈希或加密。前端为模块化 Filament 管理面板,含预置表格、表单与仪表盘,并遵循学校品牌规范与 WCAG 2.1 无障碍实践。开发者体验含本地数据库快照与重建工具、并行 PHPUnit 与 Cypress 端到端测试、GitHub Actions 静态分析与格式化工作流;运维侧有健康检查与 API 请求、登录活动仪表盘。

使用限制需注意:项目主要面向西北大学生态内的应用,校外使用者可能无法直接套用,架构与模式可作参考;Entra ID、Northwestern Directory、EventHub 等集成依赖校内服务。仓库采用 MIT 许可,演示图片、字体、图标等第三方素材需单独核对许可,域名、托管、数据库等外部服务可能另行收费。

Laravel启动器

适合你的项目吗?

适用场景

  • 西北大学校内团队新建需要统一认证、授权与审计的 Web 应用
  • 构建带访问令牌管理、请求日志与标准化错误响应的 API 服务
  • 需要对接 Northwestern Directory 做用户即时开通与同步,或通过 EventHub 发布事件与注册 webhook
  • 为已有 Laravel 项目寻找领域驱动与 Action 模式的架构参考

适合人群

  • 西北大学及其生态内的开发团队
  • 需要企业级认证、授权与审计基线的 Laravel 项目
  • 以 API 服务为主、需要令牌管理与请求追踪的后端团队
  • 希望参考领域驱动设计与 Action 模式组织代码的开发者

上手与定制指南

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

  1. 1

    使用 composer create-project northwestern-sysdev/northwestern-laravel-starter your-project-name 创建项目

  2. 2

    完整安装、配置与使用说明见官方文档站点 laravel-starter.entapp.northwestern.edu

  3. 3

    Entra ID、Northwestern Directory、EventHub 等集成依赖校内服务,校外环境可能无法直接使用

  4. 4

    演示图片、字体、图标等第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 项目主要面向西北大学生态内的应用;校外使用者可能无法直接按原样使用,架构与模式仅可作参考。
  • Northwestern Directory 集成依赖校内目录服务,校外环境通常无法使用该功能。
  • EventHub 集成依赖校内 EventHub 系统,校外环境通常无法使用该功能。
  • Entra ID SSO 认证依赖外部身份服务与相应配置,使用前需具备可用的 Entra ID 环境。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

This starter kit is designed primarily for applications built within [Northwestern University](https://www.northwestern.edu)’s ecosystem. If you're outside Northwestern, you may not be able to use the project as-is.

README 原文

Northwestern Directory**: Just-in-time user provisioning, automatic data synchronization, and monitoring via the Northwestern Directory service.

README 原文

EventHub**: Publish events and register webhooks with the EventHub system.

README 原文

Support for Entra ID SSO, Access Tokens, and passwordless email-based verification codes.

README 原文
https://github.com/NIT-Administrative-Systems/northwestern-laravel-starter/blob/main/LICENSEhttps://github.com/NIT-Administrative-Systems/northwestern-laravel-starter/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

记录的仓库更新时间
2026-09-29
截图检查日期
2026-10-01

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: f67bacce27acd6030de1ef5a332780e04bd65cb41fd4a8319a23ed4132b2a1fb

2026-10-01T02:21:53.262Z

来源文件 / 仓库
<p align="center">
    <img width="650px" src="art/readme-lockup.png" alt="Logo lockup for the Northwestern Laravel Starter"/>
</p>

<p align="center">
    <img src="https://img.shields.io/badge/PHP-8.5-blue" alt="PHP Version">
    <img src="https://img.shields.io/badge/Laravel-13.x-red" alt="Laravel Version">
    <a href="https://coveralls.io/github/NIT-Administrative-Systems/northwestern-laravel-starter?branch=main"><img src="https://coveralls.io/repos/github/NIT-Administrative-Systems/northwestern-laravel-starter/badge.svg?branch=main" alt="Coverage Status"></a>
</p>

<hr/>

<div align="center">
  <p>An enterprise-focused Laravel starter kit for <a href="https://www.northwestern.edu" target="_blank">Northwestern University</a> projects. This opinionated project provides what you need to build secure, maintainable web applications or API-driven services.</p>

  <table>
    <tr>
      <td align="center">
        <a href="art/ui-preview-1.png" target="_blank">
          <img src="art/ui-preview-1.png" width="500" alt="Authentication screen and homepage UI" />
        </a>
      </td>
      <td align="center">
        <a href="art/ui-preview-2.png" target="_blank">
          <img src="art/ui-preview-2.png" width="500" alt="User profile and table UI" />
        </a>
      </td>
    </tr>
    <tr>
      <td align="center">
        <a href="art/ui-preview-3.png" target="_blank">
          <img src="art/ui-preview-3.png" width="500" alt="API user profile, role creation form, and audit log UI" />
        </a>
      </td>
      <td align="center">
        <a href="art/ui-preview-4.png" target="_blank">
          <img src="art/ui-preview-4.png" width="500" alt="API Request Log and Login Records dashboard UI" />
        </a>
      </td>
    </tr>
  </table>
</div>

## Overview

Modern web development extends beyond routes, controllers, and views. Before any business logic can take shape, teams must establish authentication flows, authorization layers, API conventions, auditing, CI/CD pipelines, frontend patterns, monitoring, and a maintainable project structure. These concerns take time and lead to duplicated effort across projects.

The **Northwestern Laravel Starter** handles this baseline work up front with a production-ready architecture, so teams can start building features instead of infrastructure.

> [!IMPORTANT]
>
> This starter kit is designed primarily for applications built within [Northwestern University](https://www.northwestern.edu)’s ecosystem. If you're outside Northwestern, you may not be able to use the project as-is. The architecture and patterns may still be useful as reference material. Contributions from the community are welcome.

## Getting Started

```bash
composer create-project northwestern-sysdev/northwestern-laravel-starter your-project-name
cd your-project-name
```

Visit the [documentation](https://laravel-starter.entapp.northwestern.edu) for complete installation, configuration, and
usage guides.

## Features

### Architectural Foundation

- **Domain-Driven Design**: Code is grouped by business concerns for modularity and maintainability.
- **Action-Based Business Logic**: Single-responsibility action classes encapsulate discrete operations for reusability
  and testability.
- **Flexible Configuration**: Fine-grained settings for authentication methods, API features, Northwestern integrations,
  and application behavior.

### Authentication & Authorization

- **Multi-Authentication Methods**: Support for Entra ID SSO, Access Tokens, and passwordless email-based verification codes.
- **Role-Based Access Control**: Fine-grained role and permissions system with a built-in management interface.
- **User Impersonation**: Secure ability to troubleshoot user-specific issues and simulate user experiences.

### API Features

- **Advanced Access Token Management**: Cryptographically secure tokens with CIDR-based IP restrictions, rotation,
  time-bound validity, and automatic expiration notifications.
- **API Request Logging & Analytics**: Request tracking with performance metrics, failure analysis, and
  probabilistic sampling.
- **Request Tracing**: Automatic trace ID propagation for correlation across logs, audits, and error reports.
- **Standardized Error Responses**: [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457.html) compliant machine-readable
  error response formats.

### Auditing & Compliance

- **Full Audit Trail**: Logs all model changes and user actions with before/after history.
- **Secure Data Handling**: Sensitive information is hashed or encrypted to limit data exposure risk.

### Northwestern Integrations

- **Northwestern Directory**: Just-in-time user provisioning, automatic data synchronization, and monitoring via the
  Northwestern Directory service.
- **EventHub**: Publish events and register webhooks with the EventHub system.

### Frontend & UX

- **Modular Filament UI**: Ready-to-use administration panel with pre-built tables, forms, and dashboards for managing
  application data.
- **Brand Compliance**: Pre-built components, layouts, and styling that adhere to the University's branding guidelines.
- **Responsive Design**: Consistent user experience across devices with various screen sizes.
- **WCAG 2.1 Accessibility**: Built with accessibility best practices.

### Developer Experience

- **Local Development**: Schema-validated database snapshots, configuration validation, and database rebuild
  utilities.
- **Testing**: Parallelized PHPUnit execution and end-to-end testing
  with [Cypress](https://www.cypress.io).
- **CI/CD Ready**: Pre-configured GitHub Actions workflows for static analysis, formatting, and automated testing.

### Monitoring & Operations

- **Health Checks & Monitoring**: Built-in health checks to monitor critical system components.
- **Analytics Dashboards**: Pre-built dashboards for API request metrics and login activity.

## Acknowledgements

Numerous open-source packages power this starter kit. Special thanks to the Laravel community and [Northwestern University IT](https://www.it.northwestern.edu).
反馈内容错误

看看同类模板

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