Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/larapack/attribute-hashing
- Owner: larapack
- License: mit
- Created: 2015-11-27T10:55:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-04T09:18:55.000Z (almost 9 years ago)
- Last Synced: 2024-10-24T18:06:16.432Z (2 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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
```