PHPackages                             peeto/wordle-bot - 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. peeto/wordle-bot

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

peeto/wordle-bot
================

AI that plays NYT Wordle

v1.0.3(2y ago)0415GPL-2.0-onlyPHPPHP &gt;=7.3

Since Sep 14Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/peeto/wordlebot)[ Packagist](https://packagist.org/packages/peeto/wordle-bot)[ RSS](/packages/peeto-wordle-bot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

WordleBot
=========

[](#wordlebot)

A bot that can assist with playing NYT Wordle

About
-----

[](#about)

The New York Times has a game called Wordle that gives six chances to guess a five letter word. Given that there are 26 letters in the alphabet and there are 30 chances (6x5) this positions a bot to have a fair chance of solving each word. The premise is that wordlebot understaands words, the letters that make up words, a statistical analysis of the most common letters used in words, and as such can determine the best word to try with or without feedback.

Status and usage
----------------

[](#status-and-usage)

Set up a MySQL database using sql/wordle.sql and sql/wordlewords.sql

After adding the words to the database, run the following SQL:

```
CALL `rebuild_wordle_words`();

```

Install using composer:

```
composer require peeto/wordle-bot

```

See public/index.php and public/example.php for an example on how to use WordleBot.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance55

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

Total

4

Last Release

893d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6

v1.0.1PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f9631392c11092413edf2d7261a2cd0f8444744f28cbe7c3c745743eb5ffd15?d=identicon)[peeto](/maintainers/peeto)

---

Top Contributors

[![peeto](https://avatars.githubusercontent.com/u/12824230?v=4)](https://github.com/peeto "peeto (42 commits)")

### Embed Badge

![Health badge](/badges/peeto-wordle-bot/health.svg)

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

###  Alternatives

[arg/tagcloud

PHP Tag Cloud composer package Implementation of http://lotsofcode.github.io/tag-cloud/

101.9k2](/packages/arg-tagcloud)

PHPackages © 2026

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