PHPackages                             phlak/coffee-codename - 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. phlak/coffee-codename

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

phlak/coffee-codename
=====================

Generate random codenames based on coffee drinks

2.0.0(3y ago)24[1 issues](https://github.com/PHLAK/Cafelias/issues)MITPHPPHP ^8.0 || ^8.1 || ^8.2

Since May 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PHLAK/Cafelias)[ Packagist](https://packagist.org/packages/phlak/coffee-codename)[ GitHub Sponsors](https://github.com/sponsors/PHLAK)[ Patreon](https://patreon.com/PHLAK)[ RSS](/packages/phlak-coffee-codename/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (5)Versions (6)Used By (0)

Cafelias (caf • alias)
======================

[](#cafelias-caf--alias)

[![Latest Stable Version](https://camo.githubusercontent.com/6fea1a7cee44f40d9d7bc26fff403afd5dd55b4b364e73627fb3652dceae7ed1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f50484c414b2f436166656c6961732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PHLAK/Cafelias)[![Total Downloads](https://camo.githubusercontent.com/bc5c342c5ed5f28cbe76cbc6d1dacf38c7ae1688743068579ff75868eb3463a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f50484c414b2f436166656c6961732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PHLAK/Cafelias)[![License](https://camo.githubusercontent.com/36311a979b984695e2bc46464cf461a72aeaccc102a7830308d58ccbc03effc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f50484c414b2f436166656c6961732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PHLAK/Cafelias)[![Build Status](https://camo.githubusercontent.com/0015a04bf2c88aecc6b5e38492caaaaf2d8ea23e04e32ff37a78ec210135559b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f50484c414b2f436166656c6961732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/PHLAK/Cafelias)[![StyleCI](https://camo.githubusercontent.com/d3041f076d38214967663dd1a0c2f84b19cce09f98e925ca611afd8322e8bc78/68747470733a2f2f7374796c6563692e696f2f7265706f732f39353632333939302f736869656c643f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://styleci.io/repos/95623990)

[![Join our Community](https://camo.githubusercontent.com/0ec8036e75aea886860fce704b8225107146baa9be302edec8c3642cda0e5e07/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6f696e5f7468652d436f6d6d756e6974792d3762313666662e7376673f7374796c653d666c61742d737175617265)](https://spectrum.chat/phlaknet)[![Become a Sponsor](https://camo.githubusercontent.com/3bfe9b59263a8b398488b4662a1c417449d5783e64cde52b3cd71a1ce79a3f47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4265636f6d655f612d53706f6e736f722d6363343139352e7376673f7374796c653d666c61742d737175617265)](https://github.com/users/PHLAK/sponsorship)[![One-time Donation](https://camo.githubusercontent.com/65eed5aa5e4485acc8c2b7a7ecebb853f2ae7187821d11a56ec5652d99ce87da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616b655f612d446f6e6174696f6e2d3030366262362e7376673f7374796c653d666c61742d737175617265)](https://paypal.me/ChrisKankiewicz)

Randomly generated coffee slugs -- by, [Chris Kankiewicz](https://www.ChrisKankiewicz.com) ([@PHLAK](https://twitter.com/PHLAK))

---

Requirements
------------

[](#requirements)

- [PHP](https://php.net) &gt;= 8.0

Install with Composer
---------------------

[](#install-with-composer)

```
composer require phlak/cafelias
```

### Usage

[](#usage)

```
use PHLAK\Cafelias;

$codename = new Cafelias\Codename();
// or
$codename = Cafelias\Codename::make();
// or
$codename = cafelias();

echo $codename; // Something like 'vanilla-cortado'
```

### Example Codenames

[](#example-codenames)

```
coconut-frappuccino
mint-coffee
marshmallow-macchiato
mocha-cortado
grande-irish-coffee
gingerbread-frappe
pumpkin-spice-cappuccino
mint-iced-coffee
peanut-butter-latte
tall-iced-coffee

```

Changelog
---------

[](#changelog)

A list of changes can be found on the [GitHub Releases](https://github.com/PHLAK/Cafelias/releases) page.

Troubleshooting
---------------

[](#troubleshooting)

For general help and support join our [Spectrum community](https://spectrum.chat/phlaknet).

Please report bugs to the [GitHub Issue Tracker](https://github.com/PHLAK/Cafelias/issues).

Copyright
---------

[](#copyright)

This project is licensed under the [MIT License](https://github.com/PHLAK/Cafelias/blob/master/LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity76

Established project with proven stability

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

Total

3

Last Release

1220d ago

Major Versions

1.0.1 → 2.0.02023-01-11

PHP version history (2 changes)1.0.0PHP &gt;=7.1.3

2.0.0PHP ^8.0 || ^8.1 || ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53531?v=4)[Chris Kankiewicz](/maintainers/PHLAK)[@PHLAK](https://github.com/PHLAK)

---

Tags

coffeeespressophpslugs

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phlak-coffee-codename/health.svg)

```
[![Health](https://phpackages.com/badges/phlak-coffee-codename/health.svg)](https://phpackages.com/packages/phlak-coffee-codename)
```

###  Alternatives

[jofrysutanto/windsor

YAML-ised Configuration for ACF

549.2k](/packages/jofrysutanto-windsor)[jshannon63/jsoncollect

Supercharge your JSON using collections

154.9k1](/packages/jshannon63-jsoncollect)

PHPackages © 2026

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