PHPackages                             yuloh/neko - 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. yuloh/neko

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

yuloh/neko
==========

Simple helpers for case transformations.

0.1.0(10y ago)1849.6k↓100%1MITPHPPHP &gt;=5.6.4

Since Mar 21Pushed 10y agoCompare

[ Source](https://github.com/matt-allan/neko)[ Packagist](https://packagist.org/packages/yuloh/neko)[ RSS](/packages/yuloh-neko/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Neko - Case tranformation functions for PHP
===========================================

[](#neko---case-tranformation-functions-for-php)

Neko is a small collection of case tranformation functions for PHP. They are as simple as possible with no external dependencies.

I wrote this library because I was tired of the other libraries out there not working like I expected. Neko can handle input in Title case, lower case, PascalCase, camelCase, kebab-case, SCREAMING-KEBAB-CASE, snake\_case, and SCREAMING\_SNAKE\_CASE.

You can see how Neko stacks up against other case transformation libraries in the throwdown [over here](https://github.com/yuloh/case-transform-tests).

Install
-------

[](#install)

Neko can be installed using [composer](getcomposer.org).

```
$ composer require yuloh/neko
```

Usage
-----

[](#usage)

### Snake Case

[](#snake-case)

```
use function Yuloh\Neko\snake_case;

echo snake_case('Hello World'); // hello_world
```

### Kebab Case

[](#kebab-case)

```
use function Yuloh\Neko\kebab_case;

echo kebab_case('Hello World'); // hello-world
```

### Pascal Case

[](#pascal-case)

```
use function Yuloh\Neko\pascal_case;

echo pascal_case('Hello World'); // HelloWorld
```

### Camel Case

[](#camel-case)

```
use function Yuloh\Neko\camel_case;

echo camel_case('Hello World'); //helloWorld
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2687baf734ad8beb4dcc84d936ab41a500412e0aad55ab5a15a2205cacee15f?d=identicon)[matt-allan](/maintainers/matt-allan)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yuloh-neko/health.svg)

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

###  Alternatives

[ishanvyas22/asset-mix

Asset Mix plugin for CakePHP

3375.4k2](/packages/ishanvyas22-asset-mix)[prgayman/laravel-zatca

Laravel package a helper to Generate the QR code and signed it for ZATCA E-invoicing

2926.9k1](/packages/prgayman-laravel-zatca)[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1032.4k](/packages/ducks-project-spl-types)

PHPackages © 2026

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