PHPackages                             devvoh/fixedwidth - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. devvoh/fixedwidth

AbandonedLibrary[Parsing &amp; Serialization](/categories/parsing)

devvoh/fixedwidth
=================

FixedWidth is a library to read and generate fixed-width data files

0.2.6(6y ago)43.6k3[1 issues](https://github.com/devvoh/fixed-width/issues)[2 PRs](https://github.com/devvoh/fixed-width/pulls)UnlicensePHPPHP &gt;=5.6

Since Nov 9Pushed 5y ago3 watchersCompare

[ Source](https://github.com/devvoh/fixed-width)[ Packagist](https://packagist.org/packages/devvoh/fixedwidth)[ Docs](http://devvoh.com/fixedwidth)[ RSS](/packages/devvoh-fixedwidth/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (9)Used By (0)

Fixed Width File Reader &amp; Generator
---------------------------------------

[](#fixed-width-file-reader--generator)

[![Latest Stable Version](https://camo.githubusercontent.com/a8c7e20bcaa01b773b488b8b6daa4f1285717d5895a4fe6234451b9cc46d5001/68747470733a2f2f706f7365722e707567782e6f72672f646576766f682f666978656477696474682f762f737461626c65)](https://packagist.org/packages/devvoh/fixedwidth)[![Latest Unstable Version](https://camo.githubusercontent.com/226158db55068780a490e4ce4680e5ae1690a83f26415f118ec17f50e08d5eaf/68747470733a2f2f706f7365722e707567782e6f72672f646576766f682f666978656477696474682f762f756e737461626c65)](https://packagist.org/packages/devvoh/fixedwidth)[![License](https://camo.githubusercontent.com/b6b65ebbb5b37c1a39c49323be969828d90eec2cf2af809d10572c7569c0f052/68747470733a2f2f706f7365722e707567782e6f72672f646576766f682f666978656477696474682f6c6963656e7365)](https://packagist.org/packages/devvoh/fixedwidth)

Fixed-width is a simple library that can make working with fixed width file formats much easier. You define a Schema for a line, which can have a delimiter or not, and both the Reader and Generator will work with that Schema.

You can define valid characters, and the line or data will be rejected if it doesn't adhere to it. If a delimiter is found in a data value, it's rejected. If a line is rejected, the `Reader` will return `null`, which you can then interpret as you wish. If a dataItem is rejected, the `Generator` will return `-- invalid data: data`.

Requirements
------------

[](#requirements)

- PHP 5.6, PHP 7

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

[](#installation)

Fixed-width can be installed by using [Composer](http://getcomposer.org/). Simply run:

`composer require devvoh/fixedwidth`

License
-------

[](#license)

Fixed-width is open-sourced software licensed under the [Unlicense](http://unlicense.org/).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~191 days

Recently: every ~286 days

Total

7

Last Release

2377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7db40df70c77a9d591de4521642b0ddcb6c448e4876b22dc2f76900c736ab579?d=identicon)[robindevoh](/maintainers/robindevoh)

---

Top Contributors

[![thebatclaudio](https://avatars.githubusercontent.com/u/1524134?v=4)](https://github.com/thebatclaudio "thebatclaudio (1 commits)")[![wilsenhc](https://avatars.githubusercontent.com/u/13445515?v=4)](https://github.com/wilsenhc "wilsenhc (1 commits)")

---

Tags

libraryfixed width

### Embed Badge

![Health badge](/badges/devvoh-fixedwidth/health.svg)

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

###  Alternatives

[thunderer/shortcode

Advanced shortcode (BBCode) parser and engine for PHP

3952.8M50](/packages/thunderer-shortcode)[thunderer/serializard

Flexible serializer

2667.7k1](/packages/thunderer-serializard)[norgul/xmpp-php

PHP library for XMPP.

4611.7k1](/packages/norgul-xmpp-php)[bupy7/xml-constructor

The array-like constructor of XML document structure.

1338.9k](/packages/bupy7-xml-constructor)[jbuilder/common

This is a library for creating the structure of the JSON for PHP 5.4+

1330.9k1](/packages/jbuilder-common)[leonelquinteros/php-toml

PHP parser for TOML language ( https://github.com/toml-lang/toml )

276.8k](/packages/leonelquinteros-php-toml)

PHPackages © 2026

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