gadelgado/singularizer

PHP Library to convert english words from plural to singular

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

This package is auto-updated.

Last update: 2025-06-22 23:12:31 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.