PHPackages                             byscripts/static-entity - 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. byscripts/static-entity

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

byscripts/static-entity
=======================

Provide some kind of static entities

3.0.1(7y ago)22.6k↓16.7%1MITPHPPHP &gt;=7.1.0

Since Apr 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ByScripts/static-entity)[ Packagist](https://packagist.org/packages/byscripts/static-entity)[ RSS](/packages/byscripts-static-entity/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (1)Versions (17)Used By (1)

Byscripts Static Entity
=======================

[](#byscripts-static-entity)

Provides an easy way to get some entity/model behavior with static data

[![Build Status](https://camo.githubusercontent.com/a3adcb16c367e76fca4d3380252f681c2ee780dd97334c3e371c629306a226cd/68747470733a2f2f7472617669732d63692e6f72672f4279536372697074732f7374617469632d656e746974792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ByScripts/static-entity)[![Latest Stable Version](https://camo.githubusercontent.com/5f0c8ac0083281fd8dc0c0e63b986cf01f3c63b3907e61d52b28ce1cf7bb1a14/68747470733a2f2f706f7365722e707567782e6f72672f6279736372697074732f7374617469632d656e746974792f762f737461626c652e706e67)](https://packagist.org/packages/byscripts/static-entity)[![License](https://camo.githubusercontent.com/782cf85ffd2a35bdb1dff6c62ead6595a3630a1a4c0979bfbf1510549b51fec3/68747470733a2f2f706f7365722e707567782e6f72672f6279736372697074732f7374617469632d656e746974792f6c6963656e73652e706e67)](https://packagist.org/packages/byscripts/static-entity)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3f36d445a042b60ca05db19dba072e227f01aae3277a6db887b2ada394a3e6d7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4279536372697074732f7374617469632d656e746974792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ByScripts/static-entity/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/688fbbc892989d1757d40923dcb2f546873b9e5ae2da864a0764f111db573b8e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4279536372697074732f7374617469632d656e746974792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ByScripts/static-entity/?branch=master)[![Codeship Status for ByScripts/static-entity](https://camo.githubusercontent.com/21022b355d2fe539be85f2aa318269ddf13d97d7cc9e5c3fb4d68997669e882c/68747470733a2f2f6170702e636f6465736869702e636f6d2f70726f6a656374732f37656563363662302d623230342d303133362d613264312d3061336237313363353965392f7374617475733f6272616e63683d6d6173746572)](https://app.codeship.com/projects/310628)

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

[](#installation)

### Add the package in your composer.json

[](#add-the-package-in-your-composerjson)

At command line, run `composer require byscripts/static-entity:~3.0`

### Usage

[](#usage)

#### Create your static entity

[](#create-your-static-entity)

```
