承接 juniorfontenele/laravel-contracts 相关项目开发

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

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

juniorfontenele/laravel-contracts

Composer 安装命令:

composer require juniorfontenele/laravel-contracts

包简介

Set of Laravel Contracts

README 文档

README

Latest Version Total Downloads

A set of reusable contracts (interfaces) for Laravel projects, designed to standardize and simplify the implementation of common patterns such as validation, filtering, and data transformation.

Features

  • Validation Contracts: Define how data should be validated in a consistent way.
  • Filter Contracts: Standardize query filtering logic.
  • Data Contracts: Ensure data objects can be easily converted to and from arrays.

Installation

composer require juniorfontenele/laravel-contracts

Usage

Implement the provided interfaces in your classes to enforce consistent structure and behavior.

Example:

use JuniorFontenele\LaravelContracts\Validation\Validatable;

class MyRequest implements Validatable
{
    // Implement required methods: validate(), rules(), messages(), attributes()
}

License

MIT License. See LICENSE for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-29