PHPackages                             tangoman/entity-helper - 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. tangoman/entity-helper

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

tangoman/entity-helper
======================

Symfony Entity Helper

2.1.3(6y ago)11802MITPHPPHP &gt;=5.5.0CI failing

Since Aug 21Pushed 6y agoCompare

[ Source](https://github.com/TangoMan75/EntityHelper)[ Packagist](https://packagist.org/packages/tangoman/entity-helper)[ RSS](/packages/tangoman-entity-helper/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (2)Versions (13)Used By (2)

TangoMan Entity Helper
======================

[](#tangoman-entity-helper)

**TangoMan Entity Helper** provides a collection of traits for common properties to use in your project entities.

Features
========

[](#features)

- Included asserts with custom messages (french) for property validation.
- Fluent setters for all properties, allowing chaining.
- Magic JsonSerialisable.

Installation
============

[](#installation)

Step 1: Download the Helper
---------------------------

[](#step-1-download-the-helper)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this helper:

```
$ composer require tangoman/entity-helper
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable VichUploader
---------------------------

[](#step-2-enable-vichuploader)

Since **TangoMan Entity Helper** requires [VichUploaderBundle](https://github.com/dustin10/VichUploaderBundle), if you plan to use **UploadableDocument**, or **UploadableImage** traits, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
