PHPackages                             leonickl/bibtex-formatter - 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. leonickl/bibtex-formatter

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

leonickl/bibtex-formatter
=========================

A simplistic BibTeX formatter in PHP

v2.3.0(5mo ago)010PHPPHP &gt;=8.4

Since Oct 28Pushed 5mo agoCompare

[ Source](https://github.com/leonickl/bibtex-formatter)[ Packagist](https://packagist.org/packages/leonickl/bibtex-formatter)[ RSS](/packages/leonickl-bibtex-formatter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (12)Used By (0)

Simplistic BibTex Formatter
===========================

[](#simplistic-bibtex-formatter)

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

[](#installation)

```
composer global require leonickl/bibtex-formatter
```

Usage
-----

[](#usage)

```
format-bibtex literature.tex [--save|--print|--log|--dump]
```

- `--print` prints the result to the console (**default** option)
- `--save` overrides the original file
- `--log` prints a step-wise info about each token and the current state of the app
- `--dump` dumps the resulting PHP datastructure to the console

**Warning:** The original file will be overwritten by this!

Features
--------

[](#features)

This formatter only supports simple entries of the form

```
@type{reference,
    key = {value},
    other = 5,
    ...
}
```

The formatter

- adds trailing commas,
- aligns `=` signs above each other,
- and sets indentation to 4 spaces.
- ...

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance73

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

10

Last Release

179d ago

Major Versions

v1.1.2 → v2.1.02025-11-02

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/leonickl-bibtex-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/leonickl-bibtex-formatter/health.svg)](https://phpackages.com/packages/leonickl-bibtex-formatter)
```

PHPackages © 2026

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