PHPackages                             convenia/textmapable - 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. convenia/textmapable

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

convenia/textmapable
====================

1.0.1(8y ago)020PHPPHP &gt;=7.1

Since Mar 12Pushed 8y ago5 watchersCompare

[ Source](https://github.com/convenia/textMapable)[ Packagist](https://packagist.org/packages/convenia/textmapable)[ RSS](/packages/convenia-textmapable/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Biblioteca para ler arquivos de textos sem delimitadores físicos e retornar em formato legível

[![Build Status](https://camo.githubusercontent.com/ef1cdd3c3ca63bd18f3f5aede2159534005d32ba50d1b89ea8c59c6aaca28bb2/68747470733a2f2f7472617669732d63692e6f72672f636f6e76656e69612f746578744d617061626c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/convenia/textMapable)[![Codacy Badge](https://camo.githubusercontent.com/7034516d45d8d8b8faf3e0464300019f0c000e4c145f6112267cae6d0a2c26c2/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6337643433626362323432393466623239313531313432363531656166316565)](https://www.codacy.com/app/Convenia/dominio-payroll-export?utm_source=github.com&utm_medium=referral&utm_content=convenia/dominio-payroll-export&utm_campaign=Badge_Grade)

Requisitos
----------

[](#requisitos)

- PHP &gt;= 7.1

### Instale usando o composer [Composer](http://getcomposer.org/)

[](#instale-usando-o-composer-composer)

```
composer require convenia/textMapable
```

Exemplos de Uso
---------------

[](#exemplos-de-uso)

### Criando um novo field

[](#criando-um-novo-field)

```
use Convenia\TextMap\Field;

class NameField extends Field
{
    protected $name = 'name'
    protected $length = 10;
    protected $offset = 30;
}
```

### Definindo o arquivo de leitura e seus fields

[](#definindo-o-arquivo-de-leitura-e-seus-fields)

```
use Convenia\TextMap\Mapable;

/* ... */

$mapable = new Mapable();
$mapable
    ->readFile($greatFile)
    ->addField($someFieldsInArray)
    ->addField($aFieldOutOfAnArray);
```

### Obtendo o mapa dos fields com seus valores

[](#obtendo-o-mapa-dos-fields-com-seus-valores)

```
use Convenia\TextMap\Mapable;

/* ... */

$map = $mapable->getMap();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Every ~2 days

Total

2

Last Release

2983d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a92c26e6cdfea4cce9a05560ab71b39b875dbd2b40d542ac4a4ba88e3a16014?d=identicon)[AmadeusDelfino](/maintainers/AmadeusDelfino)

---

Top Contributors

[![AmadeusDelfino](https://avatars.githubusercontent.com/u/8449920?v=4)](https://github.com/AmadeusDelfino "AmadeusDelfino (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/convenia-textmapable/health.svg)

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

###  Alternatives

[muqsit/simple-packet-handler

Handle specific data packets (virion for PMMP API 4.0.0)

426.1k3](/packages/muqsit-simple-packet-handler)[webdevstudios/taxonomy_core

A tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.

394.0k1](/packages/webdevstudios-taxonomy-core)[metabolism/wp-steroids

Supercharge Wordpress with YML configuration, increase performance and security

237.1k1](/packages/metabolism-wp-steroids)[zman/zman

A Jewish date converter and helper.

186.4k](/packages/zman-zman)[pudongping/hyperf-wise-locksmith

A mutex library provider for the Hyperf framework, designed to enable serialized execution of PHP code in high-concurrency scenarios.

106.3k2](/packages/pudongping-hyperf-wise-locksmith)

PHPackages © 2026

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