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(3y ago)04MITPHPPHP &gt;=7.2

Since May 25Pushed 3y 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 today

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

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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

1109d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/408417?v=4)[Jasdy Syarman Mohd Saari](/maintainers/akutaktau)[@akutaktau](https://github.com/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

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-dto

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

3099.1k6](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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