PHPackages                             solve/inflector - 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. solve/inflector

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

solve/inflector
===============

\- \[ Inflector \] class for string manipulating

v1.0.7(10y ago)443512MITPHPPHP &gt;=5.3.0

Since Sep 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Solve/Inflector)[ Packagist](https://packagist.org/packages/solve/inflector)[ Docs](http://github.com/viniychuk/solve-inflector)[ RSS](/packages/solve-inflector/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)DependenciesVersions (8)Used By (2)

Solve inflector
===============

[](#solve-inflector)

v1.0.1

This class allows you to solve different word-related tasks.

Methods available at the current version
----------------------------------------

[](#methods-available-at-the-current-version)

```
Inflector::transliterate($text, $direction = "en");
Inflector::slugify($text, $slugChar = '-');
Inflector::underscore($text);
Inflector::camelize($text);
Inflector::pluralize($text);
Inflector::singularize($text);
Inflector::priceToStringLong($price, $keepFloat = true, $currency = "uah", $language = null);
Inflector::priceToStringShort($price, $keepFloat = true, $currencyShortLabel = 'грн.', $language = null);
```

For the last two methods you can use a method to define default language:

```
Inflector::setDefaultLanguage($language)
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~129 days

Total

7

Last Release

3768d ago

### Community

Maintainers

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

---

Top Contributors

[![viniychuk](https://avatars.githubusercontent.com/u/1412341?v=4)](https://github.com/viniychuk "viniychuk (7 commits)")

---

Tags

sluginflectorconvertation

### Embed Badge

![Health badge](/badges/solve-inflector/health.svg)

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.3k885.0M825](/packages/doctrine-inflector)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6757.8M76](/packages/jbroadway-urlify)[ausi/slug-generator

Slug Generator

8002.3M24](/packages/ausi-slug-generator)[mmucklo/inflect

inflect - a memoizing inflector for php

4024.1M14](/packages/mmucklo-inflect)[voku/urlify

PHP port of URLify.js from the Django project. Transliterates non-ascii characters for use in URLs.

254.2M8](/packages/voku-urlify)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

41515.2k](/packages/wazum-sluggi)

PHPackages © 2026

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