定制 blimeydev/laravel-specify 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

blimeydev/laravel-specify

Composer 安装命令:

composer require blimeydev/laravel-specify

包简介

A package to automatically create routes and display entries generated by specify

README 文档

README

Laravel Specify

A small Laravel package to provide an interface for specifications and supporting documentation generated by githubs spec-kit

Status:: Stable

Contents

  • Overview: What the package does and why to use it
  • Installation: Composer install and asset/config publishing
  • Configuration: config/specify.php explanation
  • Usage: Routes, view composers and example blade snippets
  • Testing: Running the package test suite
  • Contributing & License

Overview

This package provides routes (default /specify) that lists the various outputs from githubs spec kit, and shows the contents of those files (/specify/{feature}/{file}) with as close to zero configuration as possible.

Installation

  1. Require the package via Composer:
composer require blimeydev/laravel-specify
  1. If your application does not use package auto-discovery, register the service provider in config/app.php:

    - Add \BlimeyDev\LaravelSpecify\SpecifyPagesServiceProvider::class to the providers array.

  2. Publish the configuration, views, and assets (if applicable):

php artisan vendor:publish --provider="BlimeyDev\LaravelSpecify\SpecifyPagesServiceProvider" --tag="specify-config"
php artisan vendor:publish --provider="BlimeyDev\LaravelSpecify\SpecifyPagesServiceProvider" --tag="specify-views"
php artisan vendor:publish --provider="BlimeyDev\LaravelSpecify\SpecifyPagesServiceProvider" --tag="specify-compiled-assets"

If you would like to publish the source files, you can do so via

php artisan vendor:publish --provider="BlimeyDev\LaravelSpecify\SpecifyPagesServiceProvider" --tag="specify-assets"

Configuration

After publishing, edit config/specify.php to configure the package behavior (routes, middleware, or page settings).

Testing

Run the package test suite using Pest or PHPUnit from the package root:

composer install
./vendor/bin/testbench workbench:install
./vendor/bin/pest

License

This package is open source and available under the MIT License. See the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-17