PHPackages                             gonza4/tic-tac-toe-sdk-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. [API Development](/categories/api)
4. /
5. gonza4/tic-tac-toe-sdk-php

ActiveLibrary[API Development](/categories/api)

gonza4/tic-tac-toe-sdk-php
==========================

Api clietn to play Tic Tac Toe

1.0.0(7y ago)09MITPHP

Since Apr 22Pushed 7y agoCompare

[ Source](https://github.com/gonza4/tic-tac-toe-sdk-php)[ Packagist](https://packagist.org/packages/gonza4/tic-tac-toe-sdk-php)[ RSS](/packages/gonza4-tic-tac-toe-sdk-php/feed)WikiDiscussions master Synced 2w ago

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

Tic Tac Toe SDK PHP
===================

[](#tic-tac-toe-sdk-php)

A PHP library to play Tic Tac Toe through the Tic Tac Toe API.

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

[](#requirements)

PHP 5.6 and later.

Composer
--------

[](#composer)

You can install the SDK via [Composer](http://getcomposer.org/). Run the following command:

```
composer require gonza4/tic-tac-toe-sdk-php
```

To use the SDK, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

Dependencies
------------

[](#dependencies)

The SDK require the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
- [`json`](https://secure.php.net/manual/en/book.json.php)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

- Create a instance of the TicTacToe Client

```
    $tictactoe = new \Gonza4\TicTacToe();
```

- Generate empty board

```
    $result = $tictactoe->getEmptyBoard();
    var_dump($result);
```

- Make a move

```
    $result = $tictactoe->postPlayGame(1);
    var_dump($result);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

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

Unknown

Total

1

Last Release

2626d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45611642?v=4)[gonza4](/maintainers/gonza4)[@gonza4](https://github.com/gonza4)

### Embed Badge

![Health badge](/badges/gonza4-tic-tac-toe-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/gonza4-tic-tac-toe-sdk-php/health.svg)](https://phpackages.com/packages/gonza4-tic-tac-toe-sdk-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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