PHPackages                             adamhebby/wordle-php - 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. adamhebby/wordle-php

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

adamhebby/wordle-php
====================

Wordle written in PHP, complete with a random Daily word

v1.0.6(4y ago)537GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Feb 20Pushed 4y ago2 watchersCompare

[ Source](https://github.com/AdamHebby/wordle-php)[ Packagist](https://packagist.org/packages/adamhebby/wordle-php)[ RSS](/packages/adamhebby-wordle-php/feed)WikiDiscussions develop Synced 6d ago

READMEChangelogDependencies (4)Versions (9)Used By (0)

[![Coverage](.github/badges/coverage.svg)](.github/badges/coverage.svg)

Wordle (PHP)
============

[](#wordle-php)

My implementation of Wordle in PHP.

Features:

- Unlimited tries!
- A global Daily random word synced to UTC
- Random words of 4 to 9 letters
- Tell your friends about word #123 of 5 letters for them to try!

Usage
-----

[](#usage)

If git cloning, use `bin/wordle`, if installing globally use `wordle`.

### Daily Word

[](#daily-word)

Command: `wordle`

Will get the daily word without internet access. The daily word is generated using a seeded random number, the seed will be the current date in UTC.

[![Daily Wordle](.github/images/daily.png)](.github/images/daily.png)

### Random Words

[](#random-words)

Command: `wordle LENGTH`

Replace LENGTH with any number between 4 and 9 (inclusive).

This is entirely random.

When you're done, it will tell you which number word you did, so your friends can try.

[![Random 8](.github/images/8-letters.png)](.github/images/8-letters.png)

[![Random 8](.github/images/8-letters-end.png)](.github/images/8-letters-end.png)

### Specific word

[](#specific-word)

Command: `wordle LENGTH WORD_NUMBER`

Like the last command, replace LENGTH with any number between 4 and 9 (inclusive).

If your friend has tried word #123, you can replace WORD\_NUMBER with this to use try the same word!

[![834](.github/images/8-letters-specific.png)](.github/images/8-letters-specific.png)

### Cheating

[](#cheating)

Make no mistake, this is cheating, you cheater!

When wordle asks for a word, you can enter `?` for suggestions and `??` for the answer.

Suggestions are only as good as your guesses, it's limited to 10 results but will tell you if there are more. If you haven't guessed any words yet, it will try and recommend every word.

Cheating will show up on your share code with red question marks (?) for suggestions and red asterisks (\*) for full-on cheating.

[![834](.github/images/cheating-suggestions.png)](.github/images/cheating-suggestions.png)[![834](.github/images/cheating-answer.png)](.github/images/cheating-answer.png)

Try not to use this, but I know how annoying it is when you can't solve a wordle but never find out the answer, now you can!

THIS WILL NOT HELP YOU CHEAT ON OTHER VERSIONS OF WORDLE.

Installation
------------

[](#installation)

`composer global require adamhebby/wordle-php`

Then you can run `wordle` from anywhere, assuming you have composer in your path.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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 ~2 days

Total

7

Last Release

1535d ago

### Community

Maintainers

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

---

Top Contributors

[![AdamHebby](https://avatars.githubusercontent.com/u/18214951?v=4)](https://github.com/AdamHebby "AdamHebby (40 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/adamhebby-wordle-php/health.svg)

```
[![Health](https://phpackages.com/badges/adamhebby-wordle-php/health.svg)](https://phpackages.com/packages/adamhebby-wordle-php)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[asantibanez/livewire-select

Livewire dropdown select component

520138.4k2](/packages/asantibanez-livewire-select)[square1/nova-metrics

Add support for resource-filters on your laravel nova metrics

27278.7k](/packages/square1-nova-metrics)[portphp/spreadsheet

PhpSpreadsheet reader and writer for Port

14796.4k4](/packages/portphp-spreadsheet)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)

PHPackages © 2026

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