定制 slokee/supporter 二次开发

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

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

slokee/supporter

最新稳定版本:v1.0.7

Composer 安装命令:

composer require slokee/supporter

包简介

Laravel Supporter is a powerful utility package designed to enhance development speed by providing ready-to-use code snippets. This package helps developers streamline their workflow by reducing repetitive coding tasks, ensuring cleaner and more efficient Laravel applications.

README 文档

README

Laravel Supporter is a powerful utility package designed to enhance development speed by providing ready-to-use code snippets. This package helps developers streamline their workflow by reducing repetitive coding tasks, ensuring cleaner and more efficient Laravel applications.

Installation

composer require slokee/supporter

Configuration

Publish the configuration file (if required):

php artisan vendor:publish --provider="Slokee\Supporter\SupportServiceProvider"

Features

  • Validation Rules - Custom validation rules to extend Laravel's validation capabilities.
  • Casts - Custom Eloquent model casts for better data handling.
  • Commands - Artisan commands to generate services, repositories, and more.
  • Scopes:
    • Local Scopes - Predefined local model scopes for common queries.
    • Global Scopes - Global query scopes for automatic model filtering.
  • Utilities - Additional helper functions to simplify common operations.
  • Enums - Enum classes to standardize values like named colors.
  • Blade Diretives - Common Custom Blade directives for faster development.

Usage

Refer to the individual documentation files for detailed usage examples.

Publishing Stubs and Configurations

To customize stub files or configurations used by the commands, you can publish them using the following tags:

# Publish configuration file
php artisan vendor:publish --tag=supporter-config

# Publish translation files
php artisan vendor:publish --tag=supporter-translations

# Publish stub files
php artisan vendor:publish --tag=supporter-stubs

This will publish:

  • config/supporter.php
  • stubs/supporter/*

Contribution

We welcome contributions! Please check the Contribution Guide for more details on how to get involved.

License

This package is open-source software licensed under the MIT license.

Reporting Issues

If you encounter a bug or have a feature request, please open an issue on GitHub with detailed information.

Contact

For reporting bugs or further inquiries, you can reach out via email at: contact@slokee.com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-08