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
Requires
- illuminate/database: >=5.3
Requires (Dev)
- mockery/mockery: ^0.9.9
- phpunit/php-code-coverage: ^5.2
- phpunit/phpunit: ^6.1
- satooshi/php-coveralls: dev-master
- squizlabs/php_codesniffer: ^2.8
This package is auto-updated.
Last update: 2024-10-25 04:30:34 UTC
README
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();