承接 nqt/theme-vinahentai 相关项目开发

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

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

nqt/theme-vinahentai

最新稳定版本:1.0.3

Composer 安装命令:

composer require nqt/theme-vinahentai

包简介

Theme giao diện VinaHentai (Blade, asset, route) cho ứng dụng Laravel.

README 文档

README

Package Composer nqt/theme-vinahentai: theme giao diện VinaHentai cho Laravel 13.

Thành phần Giá trị
Thư mục monorepo packages/theme-vinahentai
Namespace PHP Nqt\ThemeVinahentai
Tiền tố Blade theme-vinahentai::
Slug đăng ký theme (dynamic theme) theme-vinahentai
Asset đã publish public/vendor/theme-vinahentai/
Tag publish Composer theme-vinahentai-assets

Cài trong dự án

{
  "repositories": [
    {
      "type": "path",
      "url": "./packages/theme-vinahentai",
      "options": { "symlink": true }
    }
  ],
  "require": {
    "nqt/theme-vinahentai": "^1.0"
  }
}
composer update nqt/theme-vinahentai
php artisan vendor:publish --tag=theme-vinahentai-assets --force
php artisan view:clear

Nếu trước đây bạn dùng public/vendor/theme-sample/, hãy publish lại hoặc copy sang public/vendor/theme-vinahentai/ để asset('vendor/theme-vinahentai/...') hoạt động.

Trong bảng themes (Backpack / dynamic theme), cập nhật slug theme đang bật thành theme-vinahentai nếu trước đó là theme-sample.

Build JS (tùy chọn)

cd packages/theme-vinahentai
npm install
npm run build:js

File nguồn: resources/assets/js/main.entry.js → bundle resources/assets/js/main.js (sau đó publish asset).

Seed trong package

Cửa hàng (4 vật phẩm):

php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\ShopItemSeeder

Waifu (JSON + ảnh):

php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\WaifuCollectionSeeder
php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\ShopItemSeeder && php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\WaifuCollectionSeeder && php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\ThemeVinahentaiMenuSeeder && php artisan db:seed --class=Nqt\\ThemeVinahentai\\Database\\Seeders\\ThemeVinahentaiLevelSeeder

Menu / level (khi theme active slug = theme-vinahentai):

  • Nqt\ThemeVinahentai\Database\Seeders\ThemeVinahentaiMenuSeeder
  • Nqt\ThemeVinahentai\Database\Seeders\ThemeVinahentaiLevelSeeder

Lệnh sinh sitemap

Sinh sitemap index + các file sitemap con:

  • sitemap-static.xml
  • sitemap-genres.xml
  • sitemap-authors.xml
  • sitemap-translators.xml
  • sitemap-manga-1.xml, sitemap-manga-2.xml, ...
  • sitemap-chapters-1.xml, sitemap-chapters-2.xml, ...
php artisan theme-vinahentai:sitemap

Tùy chỉnh file index và kích thước tách trang:

php artisan theme-vinahentai:sitemap --index=sitemap.xml
php artisan theme-vinahentai:sitemap --index=seo/sitemap-index.xml --manga-per-file=15000 --chapter-per-file=15000

Ảnh cửa hàng (ShopItemSeeder)

Đặt WebP tại public/vendor/theme-vinahentai/images/ (tên file khớp image_path trong seeder), hoặc sửa seeder cho đúng đường dẫn thực tế.

Yêu cầu

  • PHP ^8.3
  • laravel/framework ^13.0

License

MIT

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固