2017 © Pedro Peláez
 

library one-or-fail

image

unisharp/one-or-fail

  • Tuesday, June 6, 2017
  • by storyn26383
  • Repository
  • 9 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

One Or Fail

Build Status Coverage Status, (*1)

Introduction

TBD ..., (*2)

Installation

To get started, install via the Composer package manager:, (*3)

composer require unisharp/one-or-fail

Next, register the service provider in the providers array of your config/app.php configuration file:, (*4)

UniSharp\OneOrFail\OneOrFailServiceProvider::class,

Usage

$model = Model::where('key', 'value')->oneOrFail();

The Versions