PHPackages                             chipulaja/algo-backtrack-sudoku - 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. chipulaja/algo-backtrack-sudoku

ActiveLibrary

chipulaja/algo-backtrack-sudoku
===============================

a library for solving sudoku

v1.0(5y ago)014MITPHPPHP &gt;=7.2.0

Since Jan 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chipulaja/algo-backtrack-sudoku)[ Packagist](https://packagist.org/packages/chipulaja/algo-backtrack-sudoku)[ RSS](/packages/chipulaja-algo-backtrack-sudoku/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Algo Backtrack Sudoku
=====================

[](#algo-backtrack-sudoku)

[![Latest version](https://camo.githubusercontent.com/6d8b899d8c93b8f73a82cb544fa90a04d88c06fc23752ce3580de2f0791a9acd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f43686970756c616a612f416c676f2d4261636b747261636b2d5375646f6b752e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chipulaja/algo-backtrack-sudoku)[![Build Status](https://camo.githubusercontent.com/c04c0756e33709c6e3ab6de9c7fdd6bd6215873747b8a712bcab3f2c37a190a0/68747470733a2f2f7472617669732d63692e6f72672f43686970756c616a612f416c676f2d4261636b747261636b2d5375646f6b752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Chipulaja/Algo-Backtrack-Sudoku)[![Coverage Status](https://camo.githubusercontent.com/fed9a3580de5c89b545687c04c9f93501c5b2b7df05f80f6597352300367a002/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f43686970756c616a612f416c676f2d4261636b747261636b2d5375646f6b752e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Chipulaja/Algo-Backtrack-Sudoku/code-structure)[![Quality Score](https://camo.githubusercontent.com/a7c01372f37bf7e40be86c2f489521dccb9f20d1906ef22ad252d66255c79e36/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f63686970756c616a612f416c676f2d4261636b747261636b2d5375646f6b752e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Chipulaja/Algo-Backtrack-Sudoku)[![Total Downloads](https://camo.githubusercontent.com/30eb39fdb7126dfbf53623094bf06d2a256074f0f5c7fa6e84c058aa195613aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63686970756c616a612f616c676f2d6261636b747261636b2d7375646f6b752e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chipulaja/algo-backtrack-sudoku)

a library for solving sudoku.

Table of contents
-----------------

[](#table-of-contents)

- [Install](#install)
- [Usage](#usage)
- [Testing](#testing)

Install
-------

[](#install)

Via Composer

```
$ composer require chipulaja/algo-backtrack-sudoku
```

Usage
-----

[](#usage)

```
use Chipulaja\Algo\Backtrack\Sudoku\SudokuSolverCara1;

$data = [
    [0,2,0,  0,1,3,  0,6,0],
    [0,0,5,  6,0,0,  3,4,0],
    [0,0,0,  0,0,0,  0,0,0],

    [1,0,2,  0,7,0,  0,8,5],
    [0,9,0,  0,0,2,  0,0,0],
    [7,0,0,  0,3,0,  0,0,0],

    [0,0,0,  3,0,5,  9,0,0],
    [0,0,0,  0,2,0,  0,5,1],
    [0,0,0,  8,0,0,  0,7,0]
];

$solver = new SudokuSolverCara1();
$solver->tryToSolve($data);
$answerBoard = $solver->getAnswerBoard();
```

Testing
-------

[](#testing)

```
$ vendor\bin\phpunit
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1957d ago

### Community

Maintainers

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

---

Top Contributors

[![chipulaja](https://avatars.githubusercontent.com/u/3088220?v=4)](https://github.com/chipulaja "chipulaja (5 commits)")

---

Tags

sudokubacktrack

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/chipulaja-algo-backtrack-sudoku/health.svg)

```
[![Health](https://phpackages.com/badges/chipulaja-algo-backtrack-sudoku/health.svg)](https://phpackages.com/packages/chipulaja-algo-backtrack-sudoku)
```

###  Alternatives

[xeeeveee/sudoku

PHP sudoku logic library - Generate and solve sudoku puzzles

2814.1k](/packages/xeeeveee-sudoku)

PHPackages © 2026

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