PHPackages                             siokobu/phpspreadsheetdb - 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. siokobu/phpspreadsheetdb

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

siokobu/phpspreadsheetdb
========================

Library for DB Operation using SpreadSheet

v3.0.2(5mo ago)01.0kApache-2.0PHP

Since Nov 26Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/siokobu/PHPSpreadsheetDB)[ Packagist](https://packagist.org/packages/siokobu/phpspreadsheetdb)[ RSS](/packages/siokobu-phpspreadsheetdb/feed)WikiDiscussions main Synced today

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

PhpSpreadsheetDB
================

[](#phpspreadsheetdb)

PhpSpreadsheet is a library written in pure PHP and offers a function to export data from DB to Spreadsheet and a function to import data from Spreadsheet to DB

Supported Databases
-------------------

[](#supported-databases)

Microsoft SQL Server And SQLite, PostgreSQL, MariaDB is Supported.

Supported Spreadsheet
---------------------

[](#supported-spreadsheet)

Only Microsoft Excel is Supported.

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

[](#installation)

Use [composer](https://getcomposer.org) to install PhpSpreadsheetDB into your project:

```
composer require siokobu/phpspreadsheetdb
```

Often PhpSpreadsheetDB to help PHPUnit test.

```
composer require --dev siokobu/phpspreadsheetdb
```

### How to use

[](#how-to-use)

- SQL Server

```
$db = new SQLSrv($host, $port, $database, $user, $password);
$xlsx = new Xlsx($path);
$phpSpreadsheetDB = new PHPSpreadsheetDB($SQLSrv, $xlsx);
$phpSpreadsheetDB->import();
```

- Postgres

```
$db = new Postgres($host, $port, $database, $user, $password);
$xlsx = new Xlsx($path);
$phpSpreadsheetDB = new PHPSpreadsheetDB($postgres, $xlsx);
$phpSpreadsheetDB->import();
```

- MariaDB

```
$db = new MariaDB($host, $port, $database, $user, $password);
$xlsx = new Xlsx($path);
$phpSpreadsheetDB = new PHPSpreadsheetDB($db, $xlsx);
$phpSpreadsheetDB->import();
```

- SQLite

```
$db = new SQLite($filename);
$xlsx = new Xlsx($path);
$phpSpreadsheetDB = new PHPSpreadsheetDB($db, $xlsx);
$phpSpreadsheetDB->import();
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance70

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~6 days

Total

19

Last Release

177d ago

Major Versions

1.1.4 → 2.0.0.x-dev2022-02-09

1.1.5 → 2.0.02022-07-25

2.0.0 → v3.0.02025-12-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1815933?v=4)[tomocky1](/maintainers/tomocky1)[@tomocky1](https://github.com/tomocky1)

---

Top Contributors

[![tomocky1](https://avatars.githubusercontent.com/u/1815933?v=4)](https://github.com/tomocky1 "tomocky1 (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/siokobu-phpspreadsheetdb/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[kimai/kimai

Kimai - Time Tracking

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

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

751291.4k43](/packages/civicrm-civicrm-core)[yajra/laravel-datatables-export

Laravel DataTables Queued Export Plugin.

362.2M4](/packages/yajra-laravel-datatables-export)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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