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

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

akutaktau/csv-importer
======================

CsvImporter plugin for CakePHP

0.5(2y ago)04MITPHPPHP &gt;=7.2

Since May 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/akutaktau/cakephp-csv-importer)[ Packagist](https://packagist.org/packages/akutaktau/csv-importer)[ RSS](/packages/akutaktau-csv-importer/feed)WikiDiscussions master Synced 1mo ago

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

CsvImporter plugin for CakePHP
==============================

[](#csvimporter-plugin-for-cakephp)

Not yet supported unit testing. Still in development
----------------------------------------------------

[](#not-yet-supported-unit-testing-still-in-development)

Pre-requisites
--------------

[](#pre-requisites)

1. Model to use with this plugin must be created
2. Model should follow Cakephp -&gt; table naming convention

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require akutaktau/csv-importer

```

Load the plugin

```
bin/cake plugin load CsvImporter

```

Go to

\##Use with your own UI In the controller add

```
use CsvImporter\Controller\Component\ImportCsvComponent;

```

Then load the component

```
$this->loadComponent('CsvImporter.ImportCsv');

```

To get list of tables

```
$this->ImportCsv->getTables();

```

To get list of table column

```
$this->ImportCsv->getFields($table);

```

To upload and save csv to database

```
$this->ImportCsv->saveFile($data['field'],$data['tables'],$files['inputNameFromForm'],$delimiter);

```

$data\['field'\] is an array consist of fieldName from the table as the index and column number from the csv as the value.

```
$data['field'] = ['fieldName1' => 'columnNumber2','fieldName2' => 'columnNumber4']

```

$data\['tables'\] should have the table name.

```
$data['tables'] = 'tableName';

```

$files\['inputNameFromForm'\] should contain object from $this-&gt;getRequest()-&gt;getUploadedFiles()

```
$files = $this->getRequest()->getUploadedFiles();

```

$delimiter contain csv separator value

```
$delimiter = ',';

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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

Every ~13 days

Total

3

Last Release

1054d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4d6f5422753ffe4bb6a639c018465c0bed1a7f0a2cbf1db718682f47852c434?d=identicon)[akutaktau](/maintainers/akutaktau)

---

Top Contributors

[![akutaktau](https://avatars.githubusercontent.com/u/408417?v=4)](https://github.com/akutaktau "akutaktau (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/akutaktau-csv-importer/health.svg)

```
[![Health](https://phpackages.com/badges/akutaktau-csv-importer/health.svg)](https://phpackages.com/packages/akutaktau-csv-importer)
```

###  Alternatives

[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[cakedc/cakephp-phpstan

CakePHP plugin extension for PHPStan.

40676.6k31](/packages/cakedc-cakephp-phpstan)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)[cakedc/enum

Enumeration list Plugin for CakePHP 5

30222.5k2](/packages/cakedc-enum)[josegonzalez/cakephp-environments

CakePHP plugin to handle environments-level configuration

4785.9k](/packages/josegonzalez-cakephp-environments)

PHPackages © 2026

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