定制 gergo-tar/laravel-package-skeleton 二次开发

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

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

gergo-tar/laravel-package-skeleton

最新稳定版本:v1.3.0

Composer 安装命令:

composer require gergo-tar/laravel-package-skeleton

包简介

A PHP package to scaffold Laravel package projects with best practices and code quality tools.

README 文档

README

Latest Version on Packagist

This package provides a modern, interactive skeleton for building Laravel packages with best practices and essential development tools.

🚀 How It Works

  1. Clone the skeleton:

    git clone https://github.com/gergo-tar/laravel-plugin-skeleton my-package
    cd my-package
  2. Run the configuration script:

    php configure.php
    • The script will prompt for author, vendor, package, and feature options.
    • Based on your selections, it generates all necessary files, and cleans up unused templates.
  3. Start developing your package!

    • All selected features (config, migrations, commands, etc.) are ready to use.
    • Testing infrastructure (Pest) and dev tools (PHPStan, Rector) are pre-configured.

✨ Conditional Features

  • Configuration file: Only included if selected during setup. If enabled, you can publish it with:
    php artisan vendor:publish --tag="my-package-config"
  • Migrations: Only included if selected. Publish with:
    php artisan vendor:publish --tag="my-package-migrations"
  • Commands: Only included if selected. Usage instructions will be added for each command.
  • Facade, Views, Routes, Translations, Assets: Documented and included only if selected.

🛠️ Development Tools

  • Pest: Modern testing framework
  • PHPStan (Larastan): Static analysis
  • Commitlint: Enforces conventional commit messages
  • Rector: Automated refactoring
  • Pint: Code style fixer

📦 Usage

  • After configuration, your package is ready for local development or publishing.
  • See CONFIGURATION for a full guide to the configuration process and available features.

📄 License

MIT. See LICENSE for more information.

Your package, your way, in seconds! 🚀

统计信息

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

GitHub 信息

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

其他信息

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