Skip to content

Commit 2781aa0

Browse files
authored
Merge pull request #10 from khepin/readme
Update readme with "what this is for"
2 parents c92b644 + b98a440 commit 2781aa0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Eloquent Mutators
66
[![StyleCI](https://styleci.io/repos/102659341/shield?branch=master)](https://styleci.io/repos/102659341)
77
[![CircleCI](https://circleci.com/gh/Weebly/laravel-mutate/tree/master.svg?style=shield)](https://circleci.com/gh/Weebly/laravel-mutate)
88

9+
This package allows you to map your model attributes to database columns when the type in the PHP model does not match the type in the database column.
10+
11+
This could be using `$model->ip_address` as a `string` in your eloquent model but storing it as a `BINARY(16)` in the database for efficiency. Or having a string always encrypted in the DB but readable in clear form within your models.
12+
913
Installing
1014
----------
1115

0 commit comments

Comments
 (0)