PHPackages                             languaojs/ojstat - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. languaojs/ojstat

ActiveProject[Utility &amp; Helpers](/categories/utility)

languaojs/ojstat
================

A free, professional statistic counter for Open Journal System

v0.1.4(5mo ago)07MITJavaScriptPHP &gt;=8.0

Since Jan 14Pushed 5mo agoCompare

[ Source](https://github.com/languaojs/ojstat)[ Packagist](https://packagist.org/packages/languaojs/ojstat)[ RSS](/packages/languaojs-ojstat/feed)WikiDiscussions main Synced today

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

OJStat version 0.1.4 new
========================

[](#ojstat-version-014-new)

Basically, this is still the version 0.1.4, although there are many improvements have been made.

How to install
--------------

[](#how-to-install)

The installation of the OJStat is still similar to the previous versions.

### Get the app

[](#get-the-app)

First, of course, get the app. OJStat zip can be downloaded from its official GitHub page and then download the dependencies using composer. But as for now, the app can be downloaded using Composer:

```
composer create-project languaojs/ojstat ojstat
```

This command creates the folder `ojstat` and download the app into that folder. I recommend you to test the app in the localhost first. If you are using a previous version of OJStat, please backup your OJStat file and database before upgrading to this version. If you are testing using localhost (e.g., XAMPP or WAMP), please make an empty database and provide the credentials in the OJStat configuration file. If you are downloading the zip, make sure that you run the following command after extracting it:

```
composer install
```

### Configuration

[](#configuration)

The configuration file is located in `config/Config.php`. In this file, you will need to adapt the values of the following variables:

- APP\_EDIT: This variable is by default `true`, assuming that you are using localhost. However, when uploading to your OJS folder, you must set this variable to `false` so that it can use the correct server database configuration.
- OJSTAT\_SETUP: This variable is by default `false`. This must be set to true so that you can run the setup (install or upgrade). After the installation or upgrading processes completed, you must set this variable to `false`.
- LOCAL\_URL: This is when you are testing or configuring using localhost. The value is like `localhost/ojstat`, without http:// or https://.
- BASE\_URL: This is for the real base or location of your OJStat folder, which must be in the root folder of your OJS. For instance, if your OJS URL is `https://myjournal.edu`, the BASE\_URL must be `myjournal.edu/ojstat`.
- Database configuration: This should be self-explanatory. The variables like DB\_HOST is for hostname (typically localhost), DB\_USER is for database username, DB\_PASS is for the password, and DB\_NAME is the database name. If the APP\_EDIT is true, the app will use LOCAL\_ (e.g., LOCAL\_DB\_HOST). Meanwhile, when it is set to false, it will use DB\_ (e.g., DB\_HOST).

### Site Information

[](#site-information)

This is also self-explanatory. The information like SITE\_NAME (e.g., University name), PLACE\_NAME, SITE\_ADDRESS, etc. will appear in the footer of the app. So, please adjust.

### Email config

[](#email-config)

OJStat this version does not send or receive emails. So, this part does not need any change. The variables by default are provided by ViperPHP, the framework used to build this OJStat.

Installation and Upgrade
------------------------

[](#installation-and-upgrade)

When the variable OJSTAT\_SETUP is set to true, accessing OJStat (e.g., localhost/ojstat) will give you the setup page. From there, follow the guide step by step. After installing or upgrading, set the variable value to false.

Journals and users information
------------------------------

[](#journals-and-users-information)

This version of OJStat requires you to update the following:

- Journal cover
- User's profile photo It is so because starting from this version, OJStat will store the journal covers and users' profile photos in its directory. This is done to help you maintain the media, in case you move to a new host or when the old host is unavailable.

OJStat link and widgets
-----------------------

[](#ojstat-link-and-widgets)

You will need to replace your OJStat link (script tag) and widget codes in your OJS by generating new link and codes using this new version. In this version, OJStat no longer uses iframe for widgets. Also, you can choose whether to use widgets or not. Saying this, there are two script tags.

### OJStat main script

[](#ojstat-main-script)

This script tag is to link your OJS journal with OJStat, which is obligatory.

### OJStat widget script

[](#ojstat-widget-script)

This script tag is to render widgets in your OJS journal sidebar, which is optional. When this script is used, please place the script tag under the OJStat main script tag.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance70

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

170d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/107660406?v=4)[Zainurrahman](/maintainers/languaojs)[@languaojs](https://github.com/languaojs)

---

Top Contributors

[![languaojs](https://avatars.githubusercontent.com/u/107660406?v=4)](https://github.com/languaojs "languaojs (2 commits)")

### Embed Badge

![Health badge](/badges/languaojs-ojstat/health.svg)

```
[![Health](https://phpackages.com/badges/languaojs-ojstat/health.svg)](https://phpackages.com/packages/languaojs-ojstat)
```

###  Alternatives

[voku/html-min

HTML Compressor and Minifier

1885.0M63](/packages/voku-html-min)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7531.3M3](/packages/wp-media-wp-rocket)[wyrihaximus/html-compress

Compress/minify your HTML

791.7M36](/packages/wyrihaximus-html-compress)[msa/laravel-grapes

laravel grapes is a cms drag and drop page builder

1854.4k](/packages/msa-laravel-grapes)[bnussbau/laravel-trmnl

Develop TRMNL plugins with Laravel

501.7k](/packages/bnussbau-laravel-trmnl)

PHPackages © 2026

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