PHPackages                             fobia/php-tablesheet - 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. fobia/php-tablesheet

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

fobia/php-tablesheet
====================

PHP Table Sheet

v0.1(11y ago)019MITHTMLPHP &gt;=5.3.0

Since May 7Pushed 11y ago3 watchersCompare

[ Source](https://github.com/faclib/TableSheet)[ Packagist](https://packagist.org/packages/fobia/php-tablesheet)[ RSS](/packages/fobia-php-tablesheet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

TableSheet
==========

[](#tablesheet)

[![Build Status](https://camo.githubusercontent.com/aecd351a8599a3773d558f47a53730c12814c3b5c048a94d0e167bed3d1364a9/68747470733a2f2f7472617669732d63692e6f72672f6661636c69622f5461626c6553686565742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/faclib/TableSheet)

Конвертор таблиц в стандартный CSV формат

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

[](#installation)

Установка

```
$ sudo apt-get install python python-pip
$ sudo pip install --requirement=requirements.txt
$ composer install

```

### requirements.txt

[](#requirementstxt)

```
chardet==2.3.0
xlrd==0.9.3
xlsx2csv==0.7.1
xlutils==1.7.1
xlwt==0.7.5

```

Usage
-----

[](#usage)

### `toCSV()`

[](#tocsv)

```
Fobia\TableSheet::toCSV($pFilename, $outfile, $options)
```

**Parameters:**

> - `pFilename` *String* Имя читаемого файла.
> - `outfile` *String* Путь к записываемому файлу.
> - `options` *Array* Параметры.
> - - `delimiter` *String (optional, default: `,`)* разделитель

### `toXLS()`

[](#toxls)

```
Fobia\TableSheet::toXLS($csvFile, $output, $options)
```

**Parameters:**

> - `csvFile` *String* Имя читаемого файла.
> - `output` *String* Путь к записываемому файлу.
> - `options` *Array* Параметры.
> - - `sheetname` *String (optional, default: `Sheet1`)* Название листа.
> - - `head_color` *String (optional, default: `null`)* Установить шапку в цвет (#F4ECC5) \[red, yellow, blue\]
> - - `forse` *String (optional, default: `false`)* Попытаться предварительно преобразовать формат файла

Usage python
------------

[](#usage-python)

Синтаксис

```
$ python convert-table.py  [options]

```

, где:

> - `command` *String (`csv`, `xls`)* команда.
> - `infile` *String* входной-файл
> - `outfile` *String* выходной-файл (CSV, XLS)

**csv** - конвертация в CSV

> - `--delimiter ` *String (optional, default: `,`)*delimiter columns delimiter in csv (default: ',')

**xls** - конвертация в XLS

> - `--forse` предварительно преобразовать в csv
> - `--sheetname ` *String (optional, default: `Sheet1`)* имя сохраняемого листа
> - `--head` заморозить шапку
> - `--color ` *String (optional)* цвет фона шапки

Преобразовать в правельный CSV формат, разделитель `,`

```
$ python convert-table.py csv in.xls out.csv
$ python convert-table.py csv --delimetr ';' in.xls out.csv

```

Преобразовать в excel таблицу

```
$ python convert-table.py xls in.csv out.xls
$ python convert-table.py xls --forse  in.oter out.xls
$ python convert-table.py xls --head --color '#FFCC00' in.csv out.xls

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

4029d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8872d9ec77d4990b20dbde810f239399118d6c11daadd4da833dcb15f7f7621c?d=identicon)[fobia](/maintainers/fobia)

---

Top Contributors

[![tyurind](https://avatars.githubusercontent.com/u/2355982?v=4)](https://github.com/tyurind "tyurind (24 commits)")

### Embed Badge

![Health badge](/badges/fobia-php-tablesheet/health.svg)

```
[![Health](https://phpackages.com/badges/fobia-php-tablesheet/health.svg)](https://phpackages.com/packages/fobia-php-tablesheet)
```

###  Alternatives

[hillholliday/craft-user-manual

Craft User Manual allows developers (or even content editors) to provide CMS documentation using Craft's built-in sections (singles, channels, or structures) to create a `User Manual` or `Help` section directly in the control panel.

8472.1k1](/packages/hillholliday-craft-user-manual)

PHPackages © 2026

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