定制 jalle19/laravel-lost-interfaces 二次开发

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

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

jalle19/laravel-lost-interfaces

最新稳定版本:1.2.0

Composer 安装命令:

composer require jalle19/laravel-lost-interfaces

包简介

A collection of lost interfaces for the Laravel framework

README 文档

README

Latest Stable Version

If you've used the Laravel framework for a while, you may have noticed that the common convention is to add certain methods that will magically get called at some point.

Common examples are console commands that should have a handle() method, middleware that should have a handle() method, and so on.

This can get pretty annoying since you need to look up the correct method names and their signatures from the documentation. Not having interfaces also makes it harder to use your IDE to find which classes implement some functionality (e.g. finding all event subscribers to ensure you've actually registered all of them).

This library provides some of these missing interfaces.

Installation

composer require jalle19/laravel-lost-interfaces

Usage

Just implement the interfaces you need. The following list shows the currently available interfaces:

src/
├── Console
│   └── Command.php
├── Events
│   └── Subscriber.php
├── Http
│   ├── Middleware
│   │   └── Middleware.php
│   └── Requests
│       └── FormRequest.php
├── Mail
│   └── Buildable.php
└── Providers
    └── ServiceProvider.php

Contributing

If you feel like some interface is missing, feel free to make a pull request. Remember to update the list in the README using tree src/.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-26