PHPackages                             darkghosthunter/fluid - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. darkghosthunter/fluid

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

darkghosthunter/fluid
=====================

Fluid utility class based on Laravel's Fluent class

v1.2.0(5y ago)11.1k2MITPHPPHP &gt;=7.4

Since Jan 4Pushed 5y agoCompare

[ Source](https://github.com/DarkGhostHunter/Fluid)[ Packagist](https://packagist.org/packages/darkghosthunter/fluid)[ Fund](https://paypal.me/darkghosthunter)[ Fund](https://ko-fi.com/DarkGhostHunter)[ RSS](/packages/darkghosthunter-fluid/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (1)Versions (7)Used By (2)

[![Aaron Burden - Unsplash (UL) #Kp9z6zcUfGw](https://camo.githubusercontent.com/cced24814d44f97a042e3a95be7c1a2a734094795036ec2908d64653078cfe6e/68747470733a2f2f696d616765732e756e73706c6173682e636f6d2f70686f746f2d313437313837393833323130362d6337616239653063656532333f69786c69623d72622d312e322e3126697869643d65794a6863484266615751694f6a45794d446439266175746f3d666f726d6174266669743d63726f7026773d3132383026683d34303026713d3830)](https://camo.githubusercontent.com/cced24814d44f97a042e3a95be7c1a2a734094795036ec2908d64653078cfe6e/68747470733a2f2f696d616765732e756e73706c6173682e636f6d2f70686f746f2d313437313837393833323130362d6337616239653063656532333f69786c69623d72622d312e322e3126697869643d65794a6863484266615751694f6a45794d446439266175746f3d666f726d6174266669743d63726f7026773d3132383026683d34303026713d3830)

[![Latest Stable Version](https://camo.githubusercontent.com/68311ed873f83bd1a554ffb8c07b3faaa136606880de120017099ca344011fba/68747470733a2f2f706f7365722e707567782e6f72672f6461726b67686f737468756e7465722f666c7569642f762f737461626c65)](https://packagist.org/packages/darkghosthunter/fluid) [![License](https://camo.githubusercontent.com/f73a5e186c9ea8cac1a3d62db0911ce5ccb2c5dbb13440da73c0d5ccc5e02f0b/68747470733a2f2f706f7365722e707567782e6f72672f6461726b67686f737468756e7465722f666c7569642f6c6963656e7365)](https://packagist.org/packages/darkghosthunter/fluid)[![](https://camo.githubusercontent.com/2185688ebbd1f68324e9c48b58a0a274f277bd007c9a1aa26319faa58fe322d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6461726b67686f737468756e7465722f666c7569642e737667)](https://camo.githubusercontent.com/2185688ebbd1f68324e9c48b58a0a274f277bd007c9a1aa26319faa58fe322d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6461726b67686f737468756e7465722f666c7569642e737667) [![Coverage Status](https://camo.githubusercontent.com/f76f450e4836f31668e278d4479923a1396f30b2be054560f4cfface8ebe619f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4461726b47686f737448756e7465722f466c7569642f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/DarkGhostHunter/Fluid?branch=master) [![Maintainability](https://camo.githubusercontent.com/7692ed1a24d7969d1d0e0fa651ec225fd1c538d81bc40cefa5917a706143b9ff/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37356430336532656531326130343762386130322f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/DarkGhostHunter/Fluid/maintainability)

Fluid
=====

[](#fluid)

A flexible class based on the famous Laravel's [Fluent](https://github.com/Illuminate/Support/blob/master/Fluent.php) and [Eloquent Model](https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Eloquent/Model.php) class.

Fluid will allow you to flexible manipulate a class as a bag of properties (or array keys), and allow simple serialization while hiding sensible data from your users.

Installation
------------

[](#installation)

Fire up composer and require it into your project.

```
composer require darkghosthunter/fluid
```

Otherwise, you can just download this as a ZIP file and require it manually in your code:

```
