unisharp/one-or-fail

There is no license information available for the latest version (v0.0.1) of this package.

v0.0.1 2017-06-06 07:53 UTC

This package is auto-updated.

Last update: 2024-10-25 04:30:34 UTC


README

Build Status Coverage Status

Introduction

TBD ...

Installation

To get started, install via the Composer package manager:

composer require unisharp/one-or-fail

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

UniSharp\OneOrFail\OneOrFailServiceProvider::class,

Usage

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