PHPackages                             dragonrun1/peol - 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. dragonrun1/peol

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

dragonrun1/peol
===============

Php End Of Line is a group Non-OS specific PHP commands to change line endings on text files

071PHP

Since May 21Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Dragonrun1/peol)[ Packagist](https://packagist.org/packages/dragonrun1/peol)[ RSS](/packages/dragonrun1-peol/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Peol
====

[](#peol)

Php End Of Line is a group of Non-OS specific PHP commands to change line endings on text files.

Why Peol
--------

[](#why-peol)

Since I do development in Windows as well as Linux systems I needed a cross-platform way to insure that line ending are set correctly in my projects. Most of the time my IDE does things right but there's time I'll NOT notice it used LF Unix type endings say in a README file which does need to be in Windows (DOS) CR-LF format or used them in PHP which I prefer to have in LF instead.

Differences in line endings can also cause issues with VCS if NOT handled correctly as well. In Linux it's no problem to fix a file or even a group of them using the dos2unix and unit2dos commands in CLI but it's more of an issue in Windows since it does NOT have those utils. Add to that I've been wanting to learn more about Symfony's Console and this project was born.

Installing
----------

[](#installing)

Peol uses Composer and is up on Packagest so if you also use Composer in your project you can just add it. If you do NOT use Composer in your project you can still use it to install Peol. First you'll need to install Composer somewhere which you can get at . Once you have composer.phar file you can just put it in the directory you want to install Peol to and add a copy of the composer.json file from GitHub there as well. Once you have both files in the directory you can run `php -f "composer.phar" install -o --no-dev`. This should setup Peol so you can use it.

Using
-----

[](#using)

Using Peol is easy for example to change the line endings of all the txt files in the current directory to Windows (DOS):

```
php -f where/i/installed/it/bin/peol EolToWin *.txt

```

For more information on using Peol try `php -f where/i/installed/it/bin/peol list`.

Future
------

[](#future)

In the future I'll probably add ability to use shell type glob paths as well but I run into a few snags adding that and decided that for now it'll do what I need and I've been neglecting my other projects long enough working on it. I included in the project some WIP on that so if someone else wants to pick it up and finish it they can.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![Dragonrun1](https://avatars.githubusercontent.com/u/1431541?v=4)](https://github.com/Dragonrun1 "Dragonrun1 (6 commits)")

### Embed Badge

![Health badge](/badges/dragonrun1-peol/health.svg)

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

###  Alternatives

[aerni/factory

Quickly whip up fake content

193.5k](/packages/aerni-factory)

PHPackages © 2026

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