PHPackages                             paliari/php-text-object - 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. paliari/php-text-object

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

paliari/php-text-object
=======================

Converte arquivos de texto para objeto

1.0.2(3y ago)21.9k↓50%[1 PRs](https://github.com/paliari/php-text-object/pulls)MITPHPPHP &gt;=8.0CI passing

Since Mar 15Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/paliari/php-text-object)[ Packagist](https://packagist.org/packages/paliari/php-text-object)[ Docs](https://github.com/paliari/php-text-object)[ RSS](/packages/paliari-php-text-object/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (32)Used By (0)

Converte arquivos de texto delimitado
=====================================

[](#converte-arquivos-de-texto-delimitado)

Faz o parse do arquivo já tratando os dados, validando e convertendo para types PHP.

Muito fácil de usar, com apenas algumas linha de código consegue extrair dados do arquivos.

\*\*Exemplo de uso: \*\*

```
$file_name = 'file.txt';

$result = FileFacade::create()
    ->addColumn('', 'id', 0, 2, Types::INT, true)
    ->addColumn('', 'c1', 2, 3, Types::DOUBLE)
    ->addColumn('', 'c2', 5, 10, Types::NUMBER_STRING)
    ->addColumn('', 'c3', 15, 5, Types::STRING)
    ->addColumn('', 'c4', 20, 10, Types::EMAIL)
    ->addColumn('', 'c5', 30, 19, Types::DATE_TIME, ['format' => 'Y-m-d H:i:s', 'required' => true])
    		->exec($file_name)
    ;
```

**Install Composer:**

```
composer require paliari/php-text-object
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance53

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity79

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

Recently: every ~245 days

Total

30

Last Release

1312d ago

Major Versions

0.8.0 → 1.0.02022-09-02

### Community

Maintainers

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

---

Top Contributors

[![paliari](https://avatars.githubusercontent.com/u/2801041?v=4)](https://github.com/paliari "paliari (118 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paliari-php-text-object/health.svg)

```
[![Health](https://phpackages.com/badges/paliari-php-text-object/health.svg)](https://phpackages.com/packages/paliari-php-text-object)
```

###  Alternatives

[alexandre-daubois/lazy-stream

Write data to streams, only when it is really needed to.

755.7k](/packages/alexandre-daubois-lazy-stream)[yireo/magento2-theme-override-checker

N/A

178.3k](/packages/yireo-magento2-theme-override-checker)

PHPackages © 2026

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