承接 yukazakiri/shadcthemes-tools 相关项目开发

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

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

yukazakiri/shadcthemes-tools

Composer 安装命令:

composer require yukazakiri/shadcthemes-tools

包简介

Theme management Artisan commands for tweakcn themes.

README 文档

README

Powerful Artisan commands to seamlessly integrate and manage tweakcn / shadcn themes in your Laravel Inertia applications.

Support for Inertia React and Inertia Vue.

Features

  • 🎨 Instant Theme Setup: Scaffolds theme configuration, hooks, and UI components in seconds.
  • 📥 One-Command Import: Import any theme from tweakcn.com directly via URL.
  • 🌗 Dark Mode Ready: Automatically handles CSS variables for light and dark modes.
  • 💅 Tailwind CSS Integration: Injects necessary shadow and font mappings into your app.css.
  • ⚛️ Multi-Stack Support: First-class support for both React and Vue (Inertia).

Requirements

  • PHP 8.2+ for Laravel 12 projects, PHP 8.4+ for Laravel 13 projects
  • Laravel 12 or 13
  • Inertia.js (React or Vue)
  • Tailwind CSS

Installation

Install the package via Composer:

composer require yukzakiri/shadcthemes-tools

Quick Start

1. Setup the Environment

Run the setup command to initialize the theming system in your application.

php artisan theme:setup

For non-interactive installs, pass the setup choices directly:

php artisan theme:setup --mode=starter --stack=react --force
php artisan theme:setup --mode=standalone --stack=vue --skip-existing

theme:install is also available as an alias for first-time setup.

Useful setup options:

php artisan theme:setup --dry-run
php artisan theme:setup --skip-existing
php artisan theme:setup --force

The setup command will now warn before overwriting existing files unless --force is used. Use --skip-existing to preserve customized files.

You will be presented with two options:

  • Starter Kit Template: Installs a full suite of components (ThemeSwitcher, useColorTheme), configures app.css, and even sets up a "Personalization" section in your Profile page settings. Ideal for fresh projects or those following standard starter kit structures.
  • Stand-alone Configuration: Installs only the core plumbing (CSS files, config, and state management hooks). Perfect if you want to build your own UI or integrate into an existing custom layout without overwriting files.

2. Build Assets

After setup, rebuild your frontend assets to compile the new CSS variables:

npm run dev
# or
npm run build

Usage

Importing Themes

Find a theme you like on shadcn themes or tweakcn, copy its JSON URL, and run:

php artisan theme:add https://shadcnthemer.com/r/themes/your-theme-id.json

If the package has not been set up yet, the command will stop with a setup hint instead of failing with a filesystem error.

This command will:

  1. Download the theme definition.
  2. Generate a CSS file in resources/css/themes/.
  3. Register the theme in resources/js/conf/themes.ts.
  4. Add the necessary imports to app.css.

Removing Themes

To remove a theme and clean up its files:

php artisan theme:remove theme-name

Updating Components

If the package updates its UI stubs (like the Theme Switcher component), you can pull the latest versions into your app:

php artisan theme:update

For non-interactive updates:

php artisan theme:update --stack=react --force
php artisan theme:update --stack=vue --force

Diagnosing Setup

Check whether the package has the files and frontend dependencies it expects:

php artisan theme:doctor

Contributing

Please see CONTRIBUTING.md for details on how to set up a local development environment and contribute to this project.

License

The MIT License (MIT). Please see License File for more information.

yukazakiri/shadcthemes-tools 适用场景与选型建议

yukazakiri/shadcthemes-tools 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 226 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 01 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「themes」 「laravel」 「inertia」 「tailwindcss」 「shadcn」 「tweakcn」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 yukazakiri/shadcthemes-tools 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 yukazakiri/shadcthemes-tools 我们能提供哪些服务?
定制开发 / 二次开发

基于 yukazakiri/shadcthemes-tools 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-22