PHP code example of frnxstd / sudoxu
1. Go to this page and download the library: Download frnxstd/sudoxu library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
frnxstd / sudoxu example snippets
Sudoxu\Sudoku;
/** @var Sudoku $Sudoku */
$Sudoku = new Sudoku();
// Example 1 Returns JSON
$json = $Sudoku->generate('json');
// Example 2 Returns an array
$array = $Sudoku->generate('array');
// Example 3 Returns Serialized
$serialize = $Sudoku->generate('serialize');