2017 © Pedro Pelรกez
 

library laravel-lost-interfaces

A collection of lost interfaces for the Laravel framework

image

jalle19/laravel-lost-interfaces

A collection of lost interfaces for the Laravel framework

  • Thursday, June 1, 2017
  • by Jalle19
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7,881 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 22 % Grown

The README.md

laravel-lost-interfaces

Latest Stable Version, (*1)

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., (*2)

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

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)., (*4)

This library provides some of these missing interfaces., (*5)

Installation

composer require jalle19/laravel-lost-interfaces

Usage

Just implement the interfaces you need. The following list shows the currently available interfaces:, (*6)

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/., (*7)

License

MIT, (*8)

The Versions

01/06 2017

dev-master

9999999-dev

A collection of lost interfaces for the Laravel framework

  Sources   Download

MIT

The Requires

 

by Sam Stenvall

01/06 2017

1.1.0

1.1.0.0

A collection of lost interfaces for the Laravel framework

  Sources   Download

MIT

The Requires

 

by Sam Stenvall

26/05 2017

1.0.1

1.0.1.0

A collection of lost interfaces for the Laravel framework

  Sources   Download

MIT

The Requires

 

by Sam Stenvall

26/05 2017

1.0.0

1.0.0.0

A collection of lost interfaces for the Laravel framework

  Sources   Download

MIT

The Requires

 

by Sam Stenvall