|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2021-08-23 (8 months ago)||Not yet rated by the users||Total: 136||All time: 9,147 This week: 202|
|simple_counter 4.0.3||GNU Lesser Genera...||7.0.0||Statistics, User Management, PHP 7|
This class can count and display the visits that site pages had.
Simple Counter is a simple PHP counter that counts your website visitors. It has the ability to either show the count as plain text or images; and whether or not to count only unique hits, or all hits. (IP Based)
This code is many years old (first started in 2006). I am in the process of bringing it into the modern world, and that includes the documentation. I am working on it, I promise. ;)
To install Simple Counter:
Usage is fairly simple once installed. Simply add the following code to the page where you want the counter to be shown:
<?php include './counter/counter.php'; ?>
Bugs and feature requests are tracked on GitHub
Issues are the quickest way to report a bug. If you find a bug or documentation error, please check the following first:
Simple Counter is licensed under the GNU LGPL v3 license. When submitting new features or patches to Simple Counter, you are giving permission to license those features or patches under the GNU LGPL v3 license.
Before we look into how, here are the guidelines. If your Pull Requests fail to pass these guidelines it will be declined and you will need to re-submit when you?ve made the changes. This might sound a bit tough, but it is required for me to maintain quality of the code-base.
Please ensure all new contributions match the PSR-2 coding style guide. The project is not fully PSR-2 compatible, yet; however, to ensure the easiest transition to the coding guidelines, I would like to go ahead and request that any contributions follow them.
If you change anything that requires a change to documentation then you will need to add it. New methods, parameters, changing default values, adding constants, etc are all things that will require a change to documentation. The change-log must also be updated for every change. Also PHPDoc blocks must be maintained.
One thing at a time: A pull request should only contain one change. That does not mean only one commit, but one change - however many commits it took. The reason for this is that if you change X and Y but send a pull request for both at the same time, we might really want X but disagree with Y, meaning we cannot merge the request. Using the Git-Flow branching model you can create new branches for both of these features and send two requests.
Eric Sizemore - <firstname.lastname@example.org> - <http://www.secondversion.com>
Simple Counter is licensed under the GNU LGPL v3 License - see the
LICENSE file for details
|Version Control||Unique User Downloads||Download Rankings|