承接 high-five/craft-hyperdrive 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

high-five/craft-hyperdrive

Composer 安装命令:

composer require high-five/craft-hyperdrive

包简介

Light-speed Craft CMS development

README 文档

README

Light-speed Craft CMS development

craft-hyperdrive is a component library for Craft CMS that applies atomic design principles and leverages Tailwind CSS for styling. It’s built to help developers ship scalable, consistent, and maintainable front-end interfaces at warp speed.

✨ Features

  • 🧩 Atomic Design Structure — Atoms, molecules, organisms and templates clean, reusable UI.
  • 🎨 Tailwind CSS Ready — Utility-first styling out of the box, fully customizable.
  • Light-speed Craft CMS Development — Drop in pre-built components and accelerate your workflow.
  • 🔌 Twig Extension Included — Render atoms, molecules, organisms, or particles with simple helpers.
  • 🛠 Overridable Components — Project-level overrides let you customize or extend components without forking.
  • 🧪 Safe Fallbacks — Missing components log a warning instead of breaking your templates.

🔧 Requirements

  • Craft CMS ^5.0
  • Tailwind CSS ^3.0
  • PHP ^8.4

📦 Installation

composer require high-five/craft-hyperdrive
php craft plugin/install hyperdrive

Add component paths to your Tailwind config:

// tailwind.config.js
module.exports = {
  content: [
    './templates/**/*.twig',
    './vendor/high-five/craft-hyperdrive/src/templates/**/*.twig',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

🚀 Getting Started

Use Components with Twig Helpers

Atoms

{{ atom('button', { label: 'Submit', url: '/submit', style: 'primary' }) }}

Molecules

{{ molecule('card', {
  title: 'Card Title',
  body: 'Card body text goes here.',
  image: entry.image.one()
}) }}

Organisms

{{ organism('hero', {
  heading: entry.title,
  subheading: entry.teaser,
  cta: [{ label: 'Learn More', url: entry.url }]
}) }}

📂 Overriding & Custom Components

To override or define new components, create a hyperdrive/ folder in your project’s templates:

templates/
└── hyperdrive/
    ├── atoms/
    │   └── button.twig            # overrides vendor button
    ├── molecules/
    │   └── card.twig              # overrides vendor card
    └── organisms/
        └── newsletter-signup.twig # custom project-only component

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固