Commit Graph

13 Commits

Author SHA1 Message Date
Anton Komarev
8c49635ac2 Improve big integer number formatting (#75) 2023-09-17 13:45:32 +03:00
Omar Brikaa
97f5f82760 Ability to provide a base number to be added to the counter (#74)
* Ability to provide a base number to be added to the counter

* baseNumber -> baseCount

* Throw an error if the base count or the final count is inappropriate

* BaseCount, Count -> Count & PHP_INT_MAX for max base count

* Remove unneeded comment

* Add negative count check in the constructor
2023-09-16 19:56:36 +03:00
Anton Komarev
1bfb082c58 Extract Request class (#72)
* Extract Request class

* Strict in_array
2023-09-03 13:50:21 +03:00
Anton Komarev
bd9bad0f0b Cleanup index.php file (#70) 2023-09-03 10:17:01 +03:00
Anton Komarev
e7bc0454c5 Merge duplicated code (#69) 2023-09-02 17:59:12 +03:00
antonkomarev
2961dcf3e7 Rename Database repository to Pdo repository 2020-07-18 20:32:41 +03:00
antonkomarev
cf00dd637f Rename PdoRepository to DatabaseRepository 2020-07-12 18:53:31 +03:00
Anton Komarev
e4f24b04f7 Add PDO repository (#2)
* Add PDO repository

* Make file storage path configurable

* Name username query property required

* Add special exception class
2020-07-12 18:46:42 +03:00
antonkomarev
bf7b636702 Refactor CounterRepository 2020-07-12 12:43:51 +03:00
antonkomarev
b33e9d4fcf Refactor CounterImageRendererService 2020-07-12 12:28:18 +03:00
antonkomarev
793a8ff0b4 Add CounterRepositoryInterface 2020-07-12 12:15:03 +03:00
Anton Komarev
02397a195d Add dynamic username (#1)
* Add dynamic username resolving
2020-07-12 01:46:18 +03:00
antonkomarev
64f36e61f4 Initial commit 2020-07-11 22:55:19 +03:00