Commit Graph

118 Commits

Author SHA1 Message Date
Anton Komarev
6525b2650d Fix badge rendering without GD 2023-10-12 00:27:17 +03:00
Anton Komarev
85c0193d72 Fix badge rendering without GD 2023-10-11 23:10:35 +03:00
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
f2be5bec40 Add postgres database container to test PDO driver 2023-09-04 10:19:38 +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
cd5b7842af Code style fix 2023-09-03 13:25:57 +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
Anton Komarev
78b6e54b6b Allow PHP8 2023-09-02 17:16:55 +03:00
Anton Komarev
6a49ee50e1 Fail on .env load 2023-09-02 17:03:49 +03:00
Anton Komarev
742c77197d Add more safe counter update (#68) 2023-09-02 17:03:15 +03:00
Omar Adel Brikaa
bdaf96941f Use flock to avoid race conditions on views-count file (#67) 2023-09-02 16:38:09 +03:00
Anton Komarev
84ac753adf Constant name consistency 2023-09-02 15:50:14 +03:00
Anton Komarev
e110989a97 Add missing PROJECT_NAME to .env 2023-09-02 15:46:48 +03:00
dependabot[bot]
bd368819a0 Bump vlucas/phpdotenv from 5.4.1 to 5.5.0 (#54)
Bumps [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) from 5.4.1 to 5.5.0.
- [Release notes](https://github.com/vlucas/phpdotenv/releases)
- [Commits](https://github.com/vlucas/phpdotenv/compare/v5.4.1...v5.5.0)

---
updated-dependencies:
- dependency-name: vlucas/phpdotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 21:40:24 +03:00
dependabot[bot]
620574ebdf Bump webmozart/assert from 1.10.0 to 1.11.0 (#52)
Bumps [webmozart/assert](https://github.com/webmozarts/assert) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/webmozarts/assert/releases)
- [Changelog](https://github.com/webmozarts/assert/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webmozarts/assert/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: webmozart/assert
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 22:17:12 +03:00
Rizky Tegar
8bd4bfd97b Add continuous integration with github actions (#53)
* create continuous integration for PHP test

* add docker test for continuous integration
2022-07-08 22:13:59 +03:00
Rizky Tegar
7c96d0bdda Add dependabot and update dependency version (#49)
* Add dependabot.yml
* Bump vlucas/phpdotenv from 5.2.0 to 5.4.1
* Bump webmozart/assert from 1.9.1 to 1.10.0
2022-03-19 11:15:05 +03:00
Anton Komarev
da58aa6b47 Add "For The Badge" badge style (#45) 2022-02-23 13:47:40 +03:00
Anton Komarev
ae00750bc4 Containerize application (#44)
* Containerize application
2022-02-20 20:22:57 +05:00
Anton Komarev
08311226e1 Fix exceptions namespace 2022-02-20 20:06:57 +05:00
Anton Komarev
a7acba150f Update README.md 2022-02-14 09:44:37 +05:00
Anton Komarev
d6aa99d3d0 Update README.md 2022-02-14 09:42:31 +05:00
Anton Komarev
5888d819d5 Update README.md 2022-02-14 09:20:38 +05:00
Anton Komarev
eeb98aea16 Update README.md 2022-02-14 09:19:19 +05:00
Anton Komarev
2f409a4f0c Update README.md 2022-02-14 08:53:00 +05:00
Anton Komarev
c9faa5af40 Update README.md 2022-02-12 11:34:40 +03:00
Jade
f7bb5969cf 🐛 Filter XSS injection (#31) 2021-06-01 07:34:24 +03:00
Anton Komarev
f16b266155 Update README.md 2021-04-19 03:04:06 +03:00
Anton Komarev
e3fa354f39 Add reset counter instructions 2020-12-31 21:35:08 +03:00
Anton Komarev
807811822c Update README.md 2020-12-29 06:08:02 +03:00
Anton Komarev
d26ca052a1 Update Ÿ HŸPE domain 2020-12-10 23:26:53 +03:00
antonkomarev
baa46b27c8 Fix typo 2020-11-16 21:59:53 +03:00
antonkomarev
f7cf826475 Add Ÿ HŸPE mention 2020-11-16 21:10:48 +03:00
Ramón Morcillo
e17f926d6a fix: typo on readme in the making money section (#22) 2020-10-01 18:02:34 +03:00
antonkomarev
da75b78be6 Update FAQ 2020-09-26 01:09:49 +03:00
Aditya Bisoi
637b972e70 Update misleading instruction (#19)
In the link ![](https://komarev.com/ghpvc/?username=your-github-username)

`your-github-username` needs to be changed instead of `username`
2020-09-21 09:46:01 +03:00
antonkomarev
698a0d0ea9 Update poser package 2020-09-17 14:05:14 +03:00
antonkomarev
f81623e4fe Update poser package 2020-09-17 13:53:41 +03:00
Anton Komarev
a629e62029 Fix undefined user agent warning (#17) 2020-09-10 01:25:16 +03:00
antonkomarev
f32bd24fa5 Update badge generator 2020-07-29 16:33:48 +03:00
antonkomarev
82b03c19c3 Fix typo 2020-07-23 02:31:44 +03:00
antonkomarev
e1d8acbffd Redirect to page with documentation on root endpoint without username 2020-07-23 02:21:35 +03:00
Anton Komarev
384456a73e Add count number format (#13) 2020-07-22 20:01:59 +03:00
antonkomarev
afe541c4c6 Fix image 2020-07-21 18:55:59 +03:00
antonkomarev
330257e835 Fix grammar 2020-07-21 02:05:02 +03:00
antonkomarev
bd02d5452d Fix grammar 2020-07-21 02:01:57 +03:00
antonkomarev
d8a6dc4e81 Improve readability 2020-07-21 01:59:01 +03:00
antonkomarev
99406c38f4 Fix badge URL 2020-07-21 01:31:27 +03:00