Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/larapack/attribute-hashing

Allows you to define what attributes in your Eloquent Model which should be hashed.
https://github.com/larapack/attribute-hashing

Last synced: about 2 months ago
JSON representation

Allows you to define what attributes in your Eloquent Model which should be hashed.

Awesome Lists containing this project

README

        

# attribute-hashing
Allows you to define what attributes in your Eloquent Model which should be hashed.

## Installing

Install using Composer `composer require larapack/attribute-hashing 1.*`.

## Usage

First add the traits `Manipulateable` and `Hashable` to your Eloquent Model.
```
password = 'secret';
echo $user->password // Here you will see the encrypted password
```