From eef4294941cfe1a512151557f98639ef62c40ff4 Mon Sep 17 00:00:00 2001 From: Noah Halstead Date: Tue, 13 Oct 2020 09:55:19 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a15f7c0..bff2b34 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ Make laravel model relationships transferable! This is perfect to use when you want a model relationships to me assigned to another model (of the same type) and not be deleted or set null. +## Install + +```bash +composer require nhalstead/transferable +``` + ## How to use On the model its self you need to add in the use statement and optionally add in the implements to block the model from being deleted.