What's the best way to make your own stats collector for your site?
Yo guys! So I have a website for my personal brand but I have no clue if people are visiting it and stuff. So I decided to add some way to collect stats. I don't want to use any third party services, and I only need to collect very basic data, most of which are already in the HTTP headers. Since a lot of you are very experienced with web development, I thought it'd be a good idea to ask you guys about what's the best way to achieve this? What languages do you think will be needed? I presume some PHP is required but would like to have a second opinion! Also are there any open source projects related to this already? I found dumprequest.php which seems to be a good starting point that I can modify later, but I wonder if there's already something like what I'm looking for...