LaravelWordPress启动器

sage — Laravel 启动器模板

作者 roots

Sage 是 Roots 维护的 WordPress 启动主题,使用 Laravel Blade 组件与模板、Tailwind CSS,并内置区块编辑器支持。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

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

值得关注的模板亮点

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

01

使用 Laravel Blade 组件与模板编写 WordPress 主题,替代传统 PHP 模板写法

02

前端构建基于 Vite,支持即时构建与 CSS 热重载

03

内置 Tailwind CSS 支持

04

通过 Acorn 集成引入 Laravel 功能集

05

内置区块编辑器支持

06

MIT 许可,允许免费使用、修改、商用和分发

模板详细介绍

Sage 是一个面向 WordPress 的启动主题(starter theme),由 Roots 团队维护,采用 MIT 许可发布。它把 Laravel 的 Blade 模板引擎引入 WordPress 主题开发,用组件和模板组织 PHP 渲染逻辑,替代传统主题中散落的 PHP 文件写法。前端构建由 Vite 驱动,支持即时构建与 CSS 热重载;Tailwind CSS 开箱可用。通过 Acorn 集成,主题可以调用 Laravel 的功能集。区块编辑器(block editor)支持为内置能力,而非需要额外拼装的插件。

Sage 定位为开发起点而非成品主题:仓库提供的是主题骨架与工具链,具体页面、样式和业务逻辑需要开发者自行编写。它适合已经熟悉 WordPress 主题结构、并愿意接受 Blade 与 Vite 工作流的开发者。使用前需按官方文档完成安装步骤,并自行准备本地或服务器运行环境。

许可方面,仓库中的代码采用 MIT 许可,允许免费使用、修改、商用和分发,分发时需保留版权声明与完整 MIT 许可声明。演示图片、字体、图标等第三方素材的授权需单独核对;域名、托管、数据库等外部服务可能产生费用。

LaravelWordPress启动器

适合你的项目吗?

适用场景

  • 需要以组件化方式组织 WordPress 主题模板结构的项目
  • 希望在前端构建中使用 Vite 与 Tailwind CSS 的 WordPress 主题开发
  • 需要主题原生支持区块编辑器(block editor)的站点
  • 愿意在 WordPress 中引入 Laravel Blade 与 Acorn 的开发团队

适合人群

  • 熟悉 WordPress 主题结构并接受 Blade 模板语法的开发者
  • 使用 Vite 与 Tailwind CSS 作为前端工具链的团队
  • 需要从零搭建自定义 WordPress 主题、而非套用成品主题的项目
  • 能够按官方文档自行完成安装与配置的开发者

上手与定制指南

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

  1. 1

    安装步骤以官方文档 https://roots.io/sage/docs/installation/ 为准

  2. 2

    主题为开发起点,页面、样式与业务逻辑需自行编写

  3. 3

    使用 Acorn 集成时需按文档完成相应配置

  4. 4

    演示图片、字体、图标等第三方素材需单独核对授权

  5. 5

    域名、托管、数据库等外部服务可能另外收费

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • README 提及可通过购买 Radicle 或赞助 Roots 来支持项目,赞助者可获得私有 Discord 访问权限;这些属于自愿支持与额外福利,并非使用 Sage 主题代码的必要条件,MIT 许可下的代码仍可免费使用。
  • 加入 Roots 的 Discord 社区需通过 GitHub 赞助,属于社区访问限制,但不影响主题代码本身的免费使用与分发。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Support us by purchasing [Radicle](https://roots.io/radicle/) or [sponsoring us on GitHub](https://github.com/sponsors/roots) — sponsors get access to our private Discord.

README 原文

Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)

README 原文
https://github.com/roots/sage/blob/main/LICENSE.mdhttps://github.com/roots/sage/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 2aa06832601f9790b991f8d45bcf5f0f23a498712787e8099abbf1ed46e0f6d1

2026-10-01T02:26:53.196Z

来源文件 / 仓库
<p align="center">
  <a href="https://roots.io/sage/"><img alt="Sage" src="https://cdn.roots.io/app/uploads/logo-sage.svg" height="100"></a>
</p>

<p align="center">
  <a href="https://packagist.org/packages/roots/sage"><img alt="Packagist Installs" src="https://img.shields.io/packagist/dt/roots/sage?label=projects%20created&colorB=2b3072&colorA=525ddc&style=flat-square"></a>
  <a href="https://github.com/roots/sage/actions/workflows/main.yml"><img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/roots/sage/main.yml?branch=main&logo=github&label=CI&style=flat-square"></a>
  <a href="https://twitter.com/rootswp"><img alt="Follow Roots" src="https://img.shields.io/badge/follow%20@rootswp-1da1f2?logo=twitter&logoColor=ffffff&message=&style=flat-square"></a>
  <a href="https://github.com/sponsors/roots"><img src="https://img.shields.io/badge/sponsor%20roots-525ddc?logo=github&style=flat-square&logoColor=ffffff&message=" alt="Sponsor Roots"></a>
</p>

# Sage

**Advanced hybrid WordPress starter theme with Laravel Blade and Tailwind CSS**

- 🔧 Clean, efficient theme templating with Laravel Blade
- ⚡️ Modern front-end development workflow powered by Vite
- 🎨 Out of the box support for Tailwind CSS
- 🚀 Harness the power of Laravel with [Acorn integration](https://github.com/roots/acorn)
- 📦 Block editor support built-in

Sage brings proper PHP templating and modern JavaScript tooling to WordPress themes. Write organized, component-based code using Laravel Blade, enjoy instant builds and CSS hot-reloading with Vite, and leverage Laravel's robust feature set through Acorn.

[Read the docs to get started](https://roots.io/sage/docs/installation/)

## Support us

Roots is an independent open source org, supported only by developers like you. Your sponsorship funds [WP Packages](https://wp-packages.org/) and the entire Roots ecosystem, and keeps them independent. Support us by purchasing [Radicle](https://roots.io/radicle/) or [sponsoring us on GitHub](https://github.com/sponsors/roots) — sponsors get access to our private Discord.

### Sponsors

<a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" height="90"></a> <a href="https://www.itineris.co.uk/"><img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" height="90"></a> <a href="https://kinsta.com/?kaid=OFDHAJIXUDIV"><img src="https://cdn.roots.io/app/uploads/kinsta.svg" alt="Kinsta" height="90"></a> <a href="https://40q.agency/"><img src="https://cdn.roots.io/app/uploads/40q.svg" alt="40Q" height="90"></a>

## Community

Keep track of development and community news.

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Join us on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Follow the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)
反馈内容错误

看看同类模板

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