Download the PHP package adamhebby/wordle-php without Composer

On this page you can find all versions of the php package adamhebby/wordle-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wordle-php

Wordle (PHP)

My implementation of Wordle in PHP.

Features:

Usage

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

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.

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.

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!

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.

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

composer global require adamhebby/wordle-php

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


All versions of wordle-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adamhebby/wordle-php contains the following files

Loading the files please wait ....