承接 prezet/docs-template 相关项目开发

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

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

prezet/docs-template

最新稳定版本:v0.3.0

Composer 安装命令:

composer require prezet/docs-template

包简介

Official documentation template for the Prezet markdown blogging engine

README 文档

README

prezet-local test_prezet_features_images(1280x720)

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status

This package provides a documentation-focused starting template for the Prezet Markdown Blogging Engine [1]. It sets up routes, controllers, views, CSS, and content structure suitable for project documentation.

The installer copies the necessary files into your Laravel application and then removes this package, leaving you with the template files to modify as needed.

Installation

  1. Require the package:

    composer require prezet/docs-template --dev

    (Note: We install as a dev dependency since the package removes itself after installation).

  2. Run the installer:

    php artisan docs-template:install

    This command will:

    • Copy routes, controllers, views, CSS, content stubs, and Vite configuration into your application.
    • Install required Node dependencies (tailwindcss, alpinejs, etc.).
    • Remove the prezet/docs-template package from your Composer dependencies.

Files Added/Modified

The docs-template:install command will add or modify the following files and directories within your Laravel application:

your-laravel-app/
├── app/
│   └── Http/
│       └── Controllers/
│           └── Prezet/     # Contains the index, show, image, ogimage, and search controllers
├── routes/
│   ├── prezet.php          # Route definitions for the above controllers
│   └── web.php             # Modified to include routes/prezet.php
├── resources/
│   ├── css/
│   │   └── prezet.css      # Contains the Tailwind v4 CSS
│   └── views/
│       ├── components/
│       │   └── prezet/     # A collection of Blade components used in the documentation
│       └── prezet/         # Page level Blade views for the index, show, and ogimage routes
├── prezet/                 # Example content containng markdown files and images
├── package.json            # Modified with added node dependencies
└── vite.config.js          # Overwrites existing vite.config.js. Be sure to check this file.

Testing

composer test

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-11