PHPackages                             fastbolt/entity-importer - 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. fastbolt/entity-importer

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

fastbolt/entity-importer
========================

A library for importing CSV files to doctrine entities

v1.2.0(5mo ago)03.8k↑293.3%[3 issues](https://github.com/fastbolt/entity-importer/issues)MITPHPPHP &gt;=8.2CI passing

Since Mar 24Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/fastbolt/entity-importer)[ Packagist](https://packagist.org/packages/fastbolt/entity-importer)[ Docs](https://github.com/fastbolt/entity-importer)[ RSS](/packages/fastbolt-entity-importer/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (21)Versions (20)Used By (0)

[![Composer version](https://camo.githubusercontent.com/35100d25f3cc47f5d0eb482817aa70fa92609ee6ec40c2126255cf695bfcd84a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66617374626f6c742f656e746974792d696d706f72746572)](https://packagist.org/packages/fastbolt/entity-importer)

[![Code Climate maintainability](https://camo.githubusercontent.com/a34a11c3f2db234d6b0dfb11d01a2f730b9bfc59d29fb88c0fa6e88632ad42eb/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f66617374626f6c742f656e746974792d696d706f72746572)](https://codeclimate.com/github/fastbolt/entity-importer)[![Test Coverage](https://camo.githubusercontent.com/81a79b3d97c92427a0fe7d09c34e637806f31dfa4b095441d95daa43f8161e59/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f66617374626f6c742f656e746974792d696d706f72746572)](https://app.codecov.io/gh/fastbolt/entity-importer/)

[![Type Coverage](https://camo.githubusercontent.com/ad94afdae3257cf14a79ec3ca9bc24cc90a3e117718d9335cb7d6836a8f53338/68747470733a2f2f73686570686572642e6465762f6769746875622f66617374626f6c742f656e746974792d696d706f727465722f636f7665726167652e737667)](https://shepherd.dev/github/fastbolt/entity-importer)[![Psalm Level](https://camo.githubusercontent.com/ba136e4d058a88176f6b452956a4a6aa5ba57518a45ba50135bb14de35329461/68747470733a2f2f73686570686572642e6465762f6769746875622f66617374626f6c742f656e746974792d696d706f727465722f6c6576656c2e737667)](https://shepherd.dev/github/fastbolt/entity-importer)

[![Github Build](https://camo.githubusercontent.com/d67b30752b44fb715f404d1b2c63d65a24d8d3c16a0618d8b1f1eacd342e59cd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66617374626f6c742f656e746974792d696d706f727465722f706870756e69742e79616d6c3f6272616e63683d6d61696e)](https://github.com/fastbolt/entity-importer/actions)

Entity importing library
========================

[](#entity-importing-library)

This library aims to provide an easy way to import files into doctrine entities.

Prerequisites
-------------

[](#prerequisites)

For now, the bundle is tested using PHP 7.4, 8.0 and 8.1.

Internally, we rely on [PortPHP](https://github.com/portphp) and [Doctrine](https://github.com/doctrine/persistence)

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

[](#installation)

The library can be installed via composer:

```
composer require fastbolt/entity-importer

```

Configuration
-------------

[](#configuration)

If not configured automatically, the bundle needs to be enabled in your project's `bundles.php` file:

```
