PHPackages                             sycu/task-solver - 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. sycu/task-solver

ActiveLibrary

sycu/task-solver
================

v0.1.5(3y ago)08PHPPHP &gt;=8.1

Since Dec 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sycu/task-solver)[ Packagist](https://packagist.org/packages/sycu/task-solver)[ RSS](/packages/sycu-task-solver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Task Solver
===========

[](#task-solver)

PHP Framework for competitive programming

This is an app skeleton for task solver. If you want to use it as a library, check [sycu/task-solver-core](https://github.com/sycu/task-solver-core) repository.

Setup
-----

[](#setup)

```
composer create-project sycu/task-solver my-project
```

Configuration
-------------

[](#configuration)

Modify **config.php** to your needs.

Run tests and get solutions
---------------------------

[](#run-tests-and-get-solutions)

You can filter tasks by providing **\[FILTER\]** argument (regexp)

```
php solve [FILTER] [OPTIONS]
```

Options:

- **solutions** - skip tests, just calculate and return solutions. For now only works after FILTER argument, but you can pass an empty string for workaround.

Examples:

```
php solve
php solve Day5
php solve "Day[0-9]{1,2}B"
php solve "Day[3-6]B" solutions
```

Example output:

```
$ php solve "Day([5-9]|10|11)"

Day5A:	.         Solved in 0.000s: FJSRQCFTN
Day5B:	.         Solved in 0.000s: CJVLJQPHS
Day6A:	.....     Solved in 0.001s: 1766
Day6B:	.....     Solved in 0.001s: 2383
Day7A:	.         Solved in 0.000s: 1428881
Day7B:	.         Solved in 0.000s: 10475598
Day8A:	.         Solved in 0.006s: 1809
Day8B:	.         Solved in 0.007s: 479400
Day9A:	.         Solved in 0.003s: 6181
Day9B:	..        Solved in 0.009s: 2386
Day10A:	.         Solved in 0.000s: 13480
Day10B:	.         Solved in 0.000s:
####..##....##.###...##...##..####.#..#.
#....#..#....#.#..#.#..#.#..#.#....#.#..
###..#.......#.###..#....#....###..##...
#....#.##....#.#..#.#.##.#....#....#.#..
#....#..#.#..#.#..#.#..#.#..#.#....#.#..
####..###..##..###...###..##..#....#..#.
Day11A:	.         Solved in 0.002s: 108240
Day11B:	.         Solved in 0.954s: 25712998901

```

Generate new task
-----------------

[](#generate-new-task)

It will create task data in **tasks/** directory, which you should fill out. Actual code template will be located in **src/Tasks/**

```
php generate KEY
```

Examples:

```
php generate Day12A
```

Files to fill (assuming Day12A is a task key):

FileDescriptionRequiredsrc/Tasks/Day12A.phpYour code for the task. Just implement "**solve**" method for given array of input lines.Yestasks/Day12A/description.txtTask description. It is not used anywhere, just for convenience.Notasks/Day12A/input.txtInput for the actual problem.Yestasks/Day12A/output.txtWorking solution, that you have already submitted. It is used to validate your code during refactoring.Notasks/Day12A/test1.input.txtInput for a test case. You can have multiple test cases, just add test2.input.txt and so on.Notasks/Day12A/test1.output.txtOutput for a test case. Each test input should have a matching output file to be executed.No

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

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

Every ~1 days

Total

5

Last Release

1243d ago

### Community

Maintainers

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

---

Top Contributors

[![sycu](https://avatars.githubusercontent.com/u/1109505?v=4)](https://github.com/sycu "sycu (7 commits)")

### Embed Badge

![Health badge](/badges/sycu-task-solver/health.svg)

```
[![Health](https://phpackages.com/badges/sycu-task-solver/health.svg)](https://phpackages.com/packages/sycu-task-solver)
```

PHPackages © 2026

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