In order to better understand our install base and end user environments, a plugin has been created to send those stats back to a Joomla controlled central server. No worries though, no identifying data is captured at any point, and we only keep the data last sent to us.
etc/config.dist.json
to etc/config.json
and fill in your database credentialscomposer install
command to install all dependenciesbin/stats install
command to create the application's databaseThe DisplayStatisticsController
optionally supports additional configuration values which affect the application's behavior, to include:
Joomla-Raw
header with the API request. The value of this must match the stats.rawdata
configuration key.Additionally, the application behavior is affected by the following configuration settings:
errorReporting
configuration key can be set to a valid bitmask to be passed into the error_reporting()
functionlog
configuration keys:
log.level
- The default logging level to use for all application loggerslog.application
- The logging level to use specifically for the monolog.handler.application
logger; defaults to the log.level
valuelog.database
- The logging level to use specifically for the monolog.handler.database
logger; defaults to the log.level
value (Note: if database.debug
is set to true then this level will ALWAYS correspond to the debug level)master
branch to the production server
database:migrate
command will take care of this
php /path/to/application/bin/stats database:migrate
etc/mysql.sql
schema file then manually run on the database using your preferred database management tool