PHPackages                             objui/export - 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. objui/export

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

objui/export
============

v0.0.4(5y ago)019MITPHPPHP &gt;=7.0

Since May 7Pushed 5y agoCompare

[ Source](https://github.com/ruixuange/export)[ Packagist](https://packagist.org/packages/objui/export)[ RSS](/packages/objui-export/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

### 说明

[](#说明)

使用PHP开发，批量导入导出，支持csv、xls、xlsx、doc、docx格式文件批量处理

### 安装

[](#安装)

```
composer require objui/export

```

使用示例

```
#CSV导入
$csv_import_config = ['file_path'=>'./test.csv'];
$csv_import_obj = new Export($csv_import_config);
$data = $csv_import_obj->import();
var_dump($data);

#CSV导出
$csv_export_config = [
    'table_header' =>['id','name'],
    'table_data'   => [
       ['id'=>1,'name'=>'objui'     ]
     ],
    'suffix' => 'csv'
];
$obj = new Export($csv_export_config);
$obj->export();

#xls导入
$config = [
    'file_path' => './test.xls'
];
$obj = new Export($config);
$result = $obj->import();
var_dump($result);

#xls导出
$config = [
     'table_header' =>['id','name'],
     'table_data'   => [
       ['id'=>1,'name'=>'objui'     ]
     ],
    'suffix' => 'xls'
];
$obj = new Export($config);
$obj->export();
*/

#xlsx导入
$config = [
    'file_path' => './test.xlsx'
];
$obj = new Export($config);
$result = $obj->import();
var_dump($result);

#xlsx导出
$config = [
    'table_header' => ['id', 'name'],
    'table_data'   => [
        ['id'=>1, 'name'=>'objui']
    ],
    'suffix' => 'xlsx'
];
$obj = new Export($config);
$obj->export();

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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 ~126 days

Total

3

Last Release

1996d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/objui-export/health.svg)

```
[![Health](https://phpackages.com/badges/objui-export/health.svg)](https://phpackages.com/packages/objui-export)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[boomcms/boom-core

Core classes for BoomCMS

203.0k6](/packages/boomcms-boom-core)

PHPackages © 2026

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