gadelgado/singularizer

PHP Library to convert english words from plural to singular

Maintainers

Package info

github.com/gadelgado/php-singularizer

pkg:composer/gadelgado/singularizer

Statistics

Installs: 1 356

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2022-08-22 16:45 UTC

This package is auto-updated.

Last update: 2026-03-23 00:50:39 UTC


README

Lightweight utility to convert plural form of words to singular

Getting Started

Intall package

composer require gadelgado/singularizer

Use

<?php

use Gadelgado\Singularizer\Singularizer;

$singular = Singularizer::singularize($plural);

Licence

The MIT License (MIT). Please see License File for more information.