PHPackages                             jivemonkey2000/larabits - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. jivemonkey2000/larabits

ActiveLibrary[Database &amp; ORM](/categories/database)

jivemonkey2000/larabits
=======================

A collection of useful Laravel bits.

v1.0.3(9y ago)0122MITPHPPHP &gt;=5.6.4

Since Jan 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jivemonkey2000/larabits)[ Packagist](https://packagist.org/packages/jivemonkey2000/larabits)[ Docs](https://github.com/jivemonkey2000/larabits)[ RSS](/packages/jivemonkey2000-larabits/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (6)Used By (0)

Larabits
========

[](#larabits)

A place for helpful collection of Laravel bits and bobs to reside.

Eloquent
--------

[](#eloquent)

### Attribute Encryption

[](#attribute-encryption)

Add attribute level encryption to your Eloquent models in just a few steps:

- Import `Larabits\Eloquent\AttributeEncryption` at the top of your class
- Add an `$encrypt` array property and populate it with attributes you wish to encrypt
- Add `use AttributeEncryption` to your Eloquent models

Just like this:

```
