PHPackages                             goblindegook/delimiter-align - 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. goblindegook/delimiter-align

ActiveLibrary

goblindegook/delimiter-align
============================

Aligns and rebalances plain text multiline strings around a delimiter.

0.2.0(10y ago)21571PHP

Since Aug 8Pushed 10y agoCompare

[ Source](https://github.com/goblindegook/delimiter-align)[ Packagist](https://packagist.org/packages/goblindegook/delimiter-align)[ RSS](/packages/goblindegook-delimiter-align/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

goblindegook/delimiter-align [![Build Status](https://camo.githubusercontent.com/4405f3840bc1dc45075fbe00dbc3a44cea6492d05d44074e02a9e41a8aadec08/68747470733a2f2f7472617669732d63692e6f72672f676f626c696e6465676f6f6b2f64656c696d697465722d616c69676e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/goblindegook/delimiter-align)
================================================================================================================================================================================================================================================================================================================================================

[](#goblindegookdelimiter-align-)

Aligns and rebalances plain text multiline strings around a delimiter.

In short, it turns this:

```
one: 1
two: 2
three: 3

```

into this:

```
one:   1
two:   2
three: 3

```

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

[](#installation)

Install using Composer by running the following in your project directory:

```
$ composer require goblindegook/delimiter-align

```

Description
-----------

[](#description)

```
string delimiter_align ( string $string [, string $delimiter ] [, array $options ] );
```

Aligns and rebalances plain text multiline strings around a delimiter.

### Parameters

[](#parameters)

#### `string`

[](#string)

Multiline string to align.

#### `delimiter`

[](#delimiter)

Boundary string to align around. (Optional, defaults to `:`.)

#### `options`

[](#options)

Alignment options:

OptionDescriptionDefault`before`String prepended to the padded delimiter.(empty)`after`String appended to the padded delimiter.`' '``pad`Padding character.`' '``right`Align the delimiter by placing padding on the left.`false`### Return Value

[](#return-value)

Returns the `string` aligned around the provided `delimiter`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

3927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/035c98a3fbc2961e88522dae86521b6bb114624800e342a317b66ab270fc4baa?d=identicon)[goblindegook](/maintainers/goblindegook)

---

Top Contributors

[![goblindegook](https://avatars.githubusercontent.com/u/285497?v=4)](https://github.com/goblindegook "goblindegook (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/goblindegook-delimiter-align/health.svg)

```
[![Health](https://phpackages.com/badges/goblindegook-delimiter-align/health.svg)](https://phpackages.com/packages/goblindegook-delimiter-align)
```

PHPackages © 2026

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