PHPackages                             logikos/csv-to-mysql - 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. logikos/csv-to-mysql

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

logikos/csv-to-mysql
====================

v1.0(7y ago)0221MITPHPPHP ^7.0

Since May 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/logikostech/csv-to-mysql)[ Packagist](https://packagist.org/packages/logikos/csv-to-mysql)[ Docs](https://github.com/logikostech/csv-to-mysql)[ RSS](/packages/logikos-csv-to-mysql/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

[![Travis CI](https://camo.githubusercontent.com/450325b54e7c7a8c8ede900236a30c93813806535b97dc39c55d616ccd601edb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c6f67696b6f73746563682f6373762d746f2d6d7973716c2f6d61737465722e737667)](https://travis-ci.org/logikostech/csv-to-mysql)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bcfb3e269461e7930f492c15ee57f4138ad4e5f6870d1e5c3b25d4ddf3fc1c40/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6f67696b6f73746563682f6373762d746f2d6d7973716c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/logikostech/csv-to-mysql/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3f861ecff96e3b2011010d5948099ab47cc0e594711dafec43cb6514976a220c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6f67696b6f73746563682f6373762d746f2d6d7973716c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/logikostech/csv-to-mysql/?branch=master)[![CodeCov](https://camo.githubusercontent.com/7505f55c6f8ce026fd4f14fa0b8ba277c93fc4197552d1950ceef172c46e9715/68747470733a2f2f636f6465636f762e696f2f67682f6c6f67696b6f73746563682f6373762d746f2d6d7973716c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/logikostech/csv-to-mysql)[![Minimum PHP Version](https://camo.githubusercontent.com/009a2d4e52860ee4ebcf3f072e3a82d263c31151d7e8aa48b9c86096937933ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c6f67696b6f732f6373762d746f2d6d7973716c2e737667)](https://php.net/)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/logikostech/util/master/LICENSE)

Logikos\\Csv\\CsvToMysql\\ [LoadDataInFile](src/CsvToMysql/LoadDataInFile.php)
==============================================================================

[](#logikoscsvcsvtomysql-loaddatainfile)

Constructs the `LOAD DATA INFILE` MySQL Query.

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

[](#installation)

### Composer

[](#composer)

Install Composer in a common location or in your project:

```
curl -s http://getcomposer.org/installer | php
```

Require library:

```
composer.phar require logikos/csv-to-mysql
```

### GitHub

[](#github)

Just clone the repository in a common location or inside your project:

```
git clone https://github.com/logikostech/csv-to-mysql.git
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2901d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22dea9d45991672bd10001bb3cfaf5900bdd27d29322564581dadaa8f863e565?d=identicon)[logikos](/maintainers/logikos)

---

Top Contributors

[![tempcke](https://avatars.githubusercontent.com/u/6674150?v=4)](https://github.com/tempcke "tempcke (11 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/logikos-csv-to-mysql/health.svg)

```
[![Health](https://phpackages.com/badges/logikos-csv-to-mysql/health.svg)](https://phpackages.com/packages/logikos-csv-to-mysql)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
