From 5664a0f19164c19902bb2b788f3cea8c96515061 Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Wed, 8 Feb 2017 12:51:15 -0800 Subject: [PATCH] Grammar and composer instructions (#11) --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f67ecf8..f1bbca7 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,22 @@ -# Read Only Laravel 5 Models -The Read only trait Monkey Patches Laravel models to not save, delete or modify models. -Ideally, this would be used in addition to DB permissions to ensure Users and Developers cannot write to a Legacy system of some kind. +# Laravel 5+ Read Only Models +The read only trait removes the ability to save, delete or modify Laravel models. +Ideally, this would be used in addition to DB permissions to ensure users and developers cannot write to a Legacy system. + +## Install + +``` +composer require michaelachrisco/readonly +``` -This is only a simple demonstration of the model. ## To use: + + ```php