mirror of
https://github.com/Findus23/adopt-a-plugin.git
synced 2024-08-27 19:52:11 +02:00
init
This commit is contained in:
commit
347d0e6b4c
5 changed files with 460 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
vendor/
|
||||
plugins.json
|
||||
.idea/
|
280
README.md
Normal file
280
README.md
Normal file
|
@ -0,0 +1,280 @@
|
|||
## Barometer
|
||||
*Live Plugin that shows the current number of visitors on the page.*
|
||||
[Marketplace](https://plugins.matomo.org/Barometer), [repository](https://github.com/halfdan/piwik-barometer-plugin)
|
||||
Matomo 3 support: Probably not (hasn't specified supported versions)
|
||||
Author: [Fabian Becker](http://geekproject.eu)
|
||||
Latest Release: 2015-08-20
|
||||
License: GPL-3.0+
|
||||
31 commits by 3 contributors | last commit was on 2015-08-20
|
||||
Downloads: 16119
|
||||
[details="Screenshots"]![Barometer](https://plugins.matomo.org/Barometer/images/0.6.0/piwik-barometer-01.png)![Barometer](https://plugins.matomo.org/Barometer/images/0.6.0/piwik-barometer-02.png)[/details]
|
||||
|
||||
## cache Buster
|
||||
*Clears all temporary cache files*
|
||||
[Marketplace](https://plugins.matomo.org/cacheBuster), [repository](https://github.com/JohnDeery/cacheBuster)
|
||||
Matomo 3 support: Possible (>=2.2.0)
|
||||
Author: [John Deery](http://fractalice.com)
|
||||
Latest Release: 2015-03-24
|
||||
License: GPL v3+
|
||||
15 commits by 3 contributors | last commit was on 2018-01-10
|
||||
Downloads: 10254
|
||||
|
||||
## Chat
|
||||
*Tested on 2.16.2. Adds to Matomo (Piwik) the ability to engage people on your website through Chat and automatic Push Messages.*
|
||||
[Marketplace](https://plugins.matomo.org/Chat), [repository](https://github.com/VincentLahaye/piwik-chat)
|
||||
Matomo 3 support: Possible (>=2.16.0)
|
||||
Author: Vincent Lahaye
|
||||
Latest Release: 2016-06-16
|
||||
License: GPL v3+
|
||||
2 commits by 2 contributors | last commit was on 2016-06-16
|
||||
Downloads: 9819
|
||||
[details="Screenshots"]![Chat](https://plugins.matomo.org/Chat/images/0.3.2/BackendVisitorProfile.png)![Chat](https://plugins.matomo.org/Chat/images/0.3.2/ClientState2.png)![Chat](https://plugins.matomo.org/Chat/images/0.3.2/ClientState3.png)![Chat](https://plugins.matomo.org/Chat/images/0.3.2/ClientState4.png)[/details]
|
||||
|
||||
## Click Heat
|
||||
*ClickHeat is a visual heatmap of clicks on a HTML page. This plugin based on Dugwood's ClickHeat version 1.14. Plugin not consider IIS. Sorry.*
|
||||
[Marketplace](https://plugins.matomo.org/ClickHeat), [repository](https://github.com/piwikjapan/plugin-clickheat)
|
||||
Matomo 3 support: Possible (>=2.11.0)
|
||||
Author: [Dugwood](http://www.dugwood.com/clickheat/index.html), [YAMAMOTO Takashi (PiwikJapan)](http://www.piwikjapan.org/)
|
||||
Latest Release: 2016-09-04
|
||||
License: GPLv3 or later
|
||||
22 commits by 3 contributors | last commit was on 2016-09-04
|
||||
Downloads: 17576
|
||||
[details="Screenshots"]![ClickHeat](https://plugins.matomo.org/ClickHeat/images/0.1.9/Your_heat_map.png)[/details]
|
||||
|
||||
## Exposure Research Tools
|
||||
*Download unique visits as CSV, and support for merging data with pre-/post surveys for selective exposure research (see Plugin Website for details).*
|
||||
[Marketplace](https://plugins.matomo.org/ExposureResearchTools), [repository](https://github.com/BurninLeo/ExposureResearchTools)
|
||||
Matomo 3 support: Possible (>=2.16.0)
|
||||
Author: [Dominik J. Leiner](http://www.ls1.ifkw.uni-muenchen.de/personen/wiss_ma/leiner_dominik/index.html)
|
||||
Latest Release: 2016-12-26
|
||||
[License: GPL v3+](http://plugins.matomo.org/ExposureResearchTools/0.1.7/license)
|
||||
25 commits by 1 contributors | last commit was on 2017-02-17
|
||||
Downloads: 2964
|
||||
[details="Screenshots"]![ExposureResearchTools](https://plugins.matomo.org/ExposureResearchTools/images/0.1.7/exports_visits.png)[/details]
|
||||
|
||||
## Feed Press
|
||||
*Displays your FeedPress feed analytics.*
|
||||
[Marketplace](https://plugins.matomo.org/FeedPress), [repository](https://github.com/maximevalette/FeedPressPiwikPlugin)
|
||||
Matomo 3 support: Probably not (hasn't specified supported versions)
|
||||
Author: [Maxime VALETTE](http://feedpress.it)
|
||||
Latest Release: 2015-04-07
|
||||
License: GPL v3+
|
||||
3 commits by 1 contributors | last commit was on 2015-04-07
|
||||
Downloads: 7395
|
||||
|
||||
## Grab Gravatar
|
||||
*Adds a profile photo from Gravatar based on the email address stored in the User Id field.*
|
||||
[Marketplace](https://plugins.matomo.org/GrabGravatar), [repository](https://github.com/alnoorp/GrabGravatar)
|
||||
Matomo 3 support: Possible (>=2.11.2)
|
||||
Author: [Alnoor Pirani](http://alnoorpirani.com/)
|
||||
Latest Release: 2015-07-24
|
||||
License: GPL v3+
|
||||
15 commits by 1 contributors | last commit was on 2015-03-22
|
||||
Downloads: 4607
|
||||
[details="Screenshots"]![GrabGravatar](https://plugins.matomo.org/GrabGravatar/images/0.2.0/Gravatar_replaces_default_avatar_when_email_known.png)[/details]
|
||||
|
||||
## Inter Sites
|
||||
*Analyze how many visitors navigate between your websites.*
|
||||
[Marketplace](https://plugins.matomo.org/InterSites), [repository](https://github.com/PiwikPRO/plugin-InterSites)
|
||||
Matomo 3 support: Possible (>=2.16.0)
|
||||
Author: [Piwik PRO](http://piwik.pro)
|
||||
Latest Release: 2016-03-08
|
||||
License: GPL v3+
|
||||
69 commits by 6 contributors | last commit was on 2016-04-15
|
||||
Downloads: 11298
|
||||
[details="Screenshots"]![InterSites](https://plugins.matomo.org/InterSites/images/0.4.0/CompareCommonVisitors_loaded.png)![InterSites](https://plugins.matomo.org/InterSites/images/0.4.0/CompareCommonVisitors_stats.png)[/details]
|
||||
|
||||
## IPv6 Usage
|
||||
*Matomo (Piwik) Plugin to track whether visitors are using IPv4 or IPv6*
|
||||
[Marketplace](https://plugins.matomo.org/IPv6Usage), [repository](https://github.com/halfdan/IPv6Usage)
|
||||
Matomo 3 support: Possible (>=2.12.0)
|
||||
Author: [Fabian Becker](http://geekproject.eu)
|
||||
Latest Release: 2016-05-05
|
||||
License: GPL-3.0+
|
||||
39 commits by 3 contributors | last commit was on 2016-05-23
|
||||
Downloads: 15020
|
||||
|
||||
## Kafka Push
|
||||
*Pushes Raw Data to Kafka using RdKafka Libray for further processing.*
|
||||
[Marketplace](https://plugins.matomo.org/KafkaPush), [repository](https://github.com/bruery/piwik-plugin-kafkapush)
|
||||
Matomo 3 support: Possible (>=2.16.5)
|
||||
Author: [The Bruery](https://github.com/bruery)
|
||||
Latest Release: 2016-11-03
|
||||
[License: MIT](http://plugins.matomo.org/KafkaPush/0.1.0/license)
|
||||
5 commits by 1 contributors | last commit was on 2016-11-03
|
||||
Downloads: 1848
|
||||
[details="Screenshots"]![KafkaPush](https://plugins.matomo.org/KafkaPush/images/0.1.0/kafkapush-screenshot-001.png)[/details]
|
||||
|
||||
## Login Revokable
|
||||
*An Authentication plugin that allows a user to log into multiple locations, however remotely logs out of all locations when any of the locations log o*
|
||||
[Marketplace](https://plugins.matomo.org/LoginRevokable), [repository](https://github.com/torosian/LoginRevokable)
|
||||
Matomo 3 support: Possible (>=2.11.2-b1)
|
||||
Author: [Bryan Torosian](https://github.com/torosian/LoginRevokable)
|
||||
Latest Release: 2015-03-06
|
||||
License: GPL
|
||||
10 commits by 1 contributors | last commit was on 2015-03-09
|
||||
Downloads: 4799
|
||||
|
||||
## Max Concurrent
|
||||
*Reports maximum concurrent visitors in a time interval*
|
||||
[Marketplace](https://plugins.matomo.org/MaxConcurrent), [repository](https://github.com/mikekerr247/MaxConcurrent)
|
||||
Matomo 3 support: Possible (>=2.16.1)
|
||||
Author: [Michael Kerr](http://github.com/mikekerr247)
|
||||
Latest Release: 2016-07-06
|
||||
License: GPL v3+
|
||||
18 commits by 2 contributors | last commit was on 2016-07-06
|
||||
Downloads: 3270
|
||||
[details="Screenshots"]![MaxConcurrent](https://plugins.matomo.org/MaxConcurrent/images/0.2.2/Max_Concurrent_Usage.png)![MaxConcurrent](https://plugins.matomo.org/MaxConcurrent/images/0.2.2/line_graph.png)[/details]
|
||||
|
||||
## Page Colours
|
||||
*Allows custom icons and colours for pages in the real-time visitor log.*
|
||||
[Marketplace](https://plugins.matomo.org/PageColours), [repository](https://github.com/orismology/PageColours)
|
||||
Matomo 3 support: Possible (>=2.8.0)
|
||||
Author: [Dominic Mulligan](http://dominicmulligan.com)
|
||||
Latest Release: 2016-04-26
|
||||
License: GPL v3+
|
||||
14 commits by 1 contributors | last commit was on 2016-04-26
|
||||
Downloads: 2796
|
||||
|
||||
## Performance Info
|
||||
*Matomo (Piwik) plugin to check if the settings are good for security/performance*
|
||||
[Marketplace](https://plugins.matomo.org/PerformanceInfo), [repository](https://github.com/ThaDafinser/Piwik-PerformanceInfo)
|
||||
Matomo 3 support: No (>=2.15.0,<3.0.0-b1)
|
||||
Author: [Martin Keckeis](https://github.com/thadafinser)
|
||||
Latest Release: 2016-09-23
|
||||
[License: GPL v3](http://plugins.matomo.org/PerformanceInfo/0.3.1/license)
|
||||
20 commits by 1 contributors | last commit was on 2017-11-16
|
||||
Downloads: 6901
|
||||
|
||||
## Performance Monitor
|
||||
*Displays the performance index of a site as a widget and adds an performance overview page to the top navigation. The index is calculated by the numbe*
|
||||
[Marketplace](https://plugins.matomo.org/PerformanceMonitor), [repository](https://github.com/chanzler/piwik-performance-monitor)
|
||||
Matomo 3 support: Possible (>=2.0.0)
|
||||
Author: [Frank Kanzler](http://www.intersolve.de)
|
||||
Latest Release: 2014-11-08
|
||||
License: GPL-3.0+
|
||||
13 commits by 1 contributors | last commit was on 2014-11-10
|
||||
Downloads: 11478
|
||||
[details="Screenshots"]![PerformanceMonitor](https://plugins.matomo.org/PerformanceMonitor/images/0.2.5/performancemonitor.png)[/details]
|
||||
|
||||
## Report Publisher
|
||||
*Publish Matomo (Piwik) reports to external systems using various protocols. Please consult the changelog for available protocols.*
|
||||
[Marketplace](https://plugins.matomo.org/ReportPublisher), [repository](https://github.com/JulienMoumne/piwik-report-publisher)
|
||||
Matomo 3 support: Possible (>=2.0.1)
|
||||
Author: [Julien Moumné](http://moumne.com)
|
||||
Latest Release: 2014-03-16
|
||||
License: GPL-3.0+
|
||||
6 commits by 1 contributors | last commit was on 2014-03-16
|
||||
Downloads: 9777
|
||||
[details="Screenshots"]![ReportPublisher](https://plugins.matomo.org/ReportPublisher/images/0.2.2/configure-report-to-ftp.png)![ReportPublisher](https://plugins.matomo.org/ReportPublisher/images/0.2.2/report-configured-to-ftp.png)[/details]
|
||||
|
||||
## Rer User Dates
|
||||
*Hide custom date range selection from calendar, avoid users to set ranges in their default profile*
|
||||
[Marketplace](https://plugins.matomo.org/RerUserDates), [repository](https://github.com/RegioneER/RerUserDates)
|
||||
Matomo 3 support: Possible (>=2.8.0)
|
||||
Author: [Pierluigi Tassi](https://github.com/tassoman), [Regione Emilia-Romagna](https://RegioneER.github.io)
|
||||
Latest Release: 2015-02-05
|
||||
License: GPL v3+
|
||||
8 commits by 3 contributors | last commit was on 2015-02-05
|
||||
Downloads: 7173
|
||||
[details="Screenshots"]![RerUserDates](https://plugins.matomo.org/RerUserDates/images/1.3.0/RerUserDates-cal.png)![RerUserDates](https://plugins.matomo.org/RerUserDates/images/1.3.0/RerUserDates-settings.png)![RerUserDates](https://plugins.matomo.org/RerUserDates/images/1.3.0/RerUserDates.png)[/details]
|
||||
|
||||
## Simple Page Builder
|
||||
*Lets you add a custom page to Matomo (Piwik). The page will be visible to all users in the top menu.*
|
||||
[Marketplace](https://plugins.matomo.org/SimplePageBuilder), [repository](https://github.com/PiwikPRO/plugin-SimplePageBuilder)
|
||||
Matomo 3 support: Possible (>=2.16.0)
|
||||
Author: [Piwik PRO](http://piwik.pro)
|
||||
Latest Release: 2016-03-08
|
||||
License: GPL v3+
|
||||
38 commits by 5 contributors | last commit was on 2016-04-15
|
||||
Downloads: 7276
|
||||
[details="Screenshots"]![SimplePageBuilder](https://plugins.matomo.org/SimplePageBuilder/images/1.2.0/page.png)[/details]
|
||||
|
||||
## Simple Sys Mon
|
||||
*Simple System Monitor for visualizing system data like cpu load, memory use or network traffic*
|
||||
[Marketplace](https://plugins.matomo.org/SimpleSysMon), [repository](https://github.com/job963/SimpleSysMon)
|
||||
Matomo 3 support: Probably not (hasn't specified supported versions)
|
||||
Author: [Joachim Barthel](https://github.com/job963)
|
||||
Latest Release: 2015-03-15
|
||||
License: GPL-3.0+
|
||||
25 commits by 2 contributors | last commit was on 2015-03-15
|
||||
Downloads: 10007
|
||||
[details="Screenshots"]![SimpleSysMon](https://plugins.matomo.org/SimpleSysMon/images/0.3.1/settingLiveSysLoad-EN.png)![SimpleSysMon](https://plugins.matomo.org/SimpleSysMon/images/0.3.1/settingSystemLiveSysLoad-EN.png)![SimpleSysMon](https://plugins.matomo.org/SimpleSysMon/images/0.3.1/widgetLiveSysLoad-EN.png)![SimpleSysMon](https://plugins.matomo.org/SimpleSysMon/images/0.3.1/widgetLiveSysLoad.png)![SimpleSysMon](https://plugins.matomo.org/SimpleSysMon/images/0.3.1/widgetLiveSysLoadBars-EN.png)[/details]
|
||||
|
||||
## Site Migration
|
||||
*Migrate your website and all website data between two Matomo (Piwik) installations.*
|
||||
[Marketplace](https://plugins.matomo.org/SiteMigration), [repository](https://github.com/PiwikPRO/plugin-SiteMigration)
|
||||
Matomo 3 support: Possible (>=2.11.0)
|
||||
Author: [Piwik PRO](http://piwik.pro)
|
||||
Latest Release: 2015-11-27
|
||||
License: GPL v3+
|
||||
70 commits by 7 contributors | last commit was on 2017-02-15
|
||||
Downloads: 8485
|
||||
[details="Screenshots"]![SiteMigration](https://plugins.matomo.org/SiteMigration/images/1.0.8/Command.png)[/details]
|
||||
|
||||
## Snoopy Behavioral Scoring
|
||||
*User behaviour scoring plugin for piwik. It allows you to score your visitors depending on goals reached, pages visited, email campaigns opened and ot*
|
||||
[Marketplace](https://plugins.matomo.org/SnoopyBehavioralScoring), [repository](https://github.com/spletnik/snoopy-behavioral-scoring)
|
||||
Matomo 3 support: Possible (>=2.15.0)
|
||||
Author: [Spletnik Ltd](http://spletnik.si/)
|
||||
Latest Release: 2016-01-27
|
||||
License: GPL v3+
|
||||
18 commits by 1 contributors | last commit was on 2016-01-27
|
||||
Downloads: 3825
|
||||
[details="Screenshots"]![SnoopyBehavioralScoring](https://plugins.matomo.org/SnoopyBehavioralScoring/images/0.1.2/snoopy_scores.png)![SnoopyBehavioralScoring](https://plugins.matomo.org/SnoopyBehavioralScoring/images/0.1.2/snoopy_settings.png)[/details]
|
||||
|
||||
## Top Pages By Actions
|
||||
*Live widget that displays the top pages by actions in a 20 minute timespan. Auto-refresh interval can be configured.*
|
||||
[Marketplace](https://plugins.matomo.org/TopPagesByActions), [repository](https://github.com/chanzler/piwik-top-pages-by-actions)
|
||||
Matomo 3 support: Possible (>=2.0.0)
|
||||
Author: [Frank Kanzler](http://www.intersolve.de)
|
||||
Latest Release: 2014-11-11
|
||||
License: GPL-3.0+
|
||||
commits by contributors | last commit was on 2014-11-11
|
||||
Downloads: 6856
|
||||
[details="Screenshots"]![TopPagesByActions](https://plugins.matomo.org/TopPagesByActions/images/0.1.3/toppagesbyactions.png)[/details]
|
||||
|
||||
## Tracking Code Customizer
|
||||
*Allows Matomo (Piwik) admininstrators to customize the tracking code that is autogenerated for users. This is useful for directing requests to the correct serv*
|
||||
[Marketplace](https://plugins.matomo.org/TrackingCodeCustomizer), [repository](https://github.com/jbrule/piwikplugin-TrackingCodeCustomizer)
|
||||
Matomo 3 support: Possible (>=v2.12.0)
|
||||
Author: [Josh Brule](https://www.linkedin.com/pub/joshua-brule/15/326/9b9)
|
||||
Latest Release: 2015-11-20
|
||||
License: GPL v3+
|
||||
5 commits by 1 contributors | last commit was on 2016-04-26
|
||||
Downloads: 5206
|
||||
[details="Screenshots"]![TrackingCodeCustomizer](https://plugins.matomo.org/TrackingCodeCustomizer/images/0.1.2/Plugin_Settings.png)![TrackingCodeCustomizer](https://plugins.matomo.org/TrackingCodeCustomizer/images/0.1.2/Tracking_Code.png)[/details]
|
||||
|
||||
## Uptime Robot Monitor
|
||||
*Plugin for displaying UptimeRobot data in Matomo (Piwik)*
|
||||
[Marketplace](https://plugins.matomo.org/UptimeRobotMonitor), [repository](https://github.com/job963/UptimeRobot-Monitor)
|
||||
Matomo 3 support: Probably not (hasn't specified supported versions)
|
||||
Author: [Joachim Barthel](https://github.com/job963)
|
||||
Latest Release: 2014-12-04
|
||||
License: GPL-3.0+
|
||||
9 commits by 2 contributors | last commit was on 2016-02-12
|
||||
Downloads: 7327
|
||||
[details="Screenshots"]![UptimeRobotMonitor](https://plugins.matomo.org/UptimeRobotMonitor/images/0.2/SettingsDE.png)![UptimeRobotMonitor](https://plugins.matomo.org/UptimeRobotMonitor/images/0.2/widgetLogList.png)![UptimeRobotMonitor](https://plugins.matomo.org/UptimeRobotMonitor/images/0.2/widgetTimeBar.png)[/details]
|
||||
|
||||
## Visitor Avatar
|
||||
*Custom display visitors avatar(URL) and description(Title & Alt)*
|
||||
[Marketplace](https://plugins.matomo.org/VisitorAvatar), [repository](https://github.com/surenjie/VisitorAvatar)
|
||||
Matomo 3 support: Possible (>=2.5.0)
|
||||
Author: [renjie](https://github.com/surenjie)
|
||||
Latest Release: 2014-11-18
|
||||
License: GPL v3
|
||||
14 commits by 1 contributors | last commit was on 2014-11-18
|
||||
Downloads: 6361
|
||||
[details="Screenshots"]![VisitorAvatar](https://plugins.matomo.org/VisitorAvatar/images/0.2.2/Step1_Tracking_Code.png)![VisitorAvatar](https://plugins.matomo.org/VisitorAvatar/images/0.2.2/Step2_Plugin_Settings.png)![VisitorAvatar](https://plugins.matomo.org/VisitorAvatar/images/0.2.2/Step3_Visitor_Profile.png)[/details]
|
||||
|
||||
## Website Groups
|
||||
*Assign websites to groups in your 'All Websites' dashboard. Useful to get a view by client or category.*
|
||||
[Marketplace](https://plugins.matomo.org/WebsiteGroups), [repository](https://github.com/PiwikPRO/plugin-WebsiteGroups)
|
||||
Matomo 3 support: Possible (>=2.16.0)
|
||||
Author: [Piwik PRO](http://piwik.pro)
|
||||
Latest Release: 2016-03-09
|
||||
License: GPL v3+
|
||||
70 commits by 6 contributors | last commit was on 2017-02-13
|
||||
Downloads: 8955
|
||||
[details="Screenshots"]![WebsiteGroups](https://plugins.matomo.org/WebsiteGroups/images/0.3.0/All_Websites_Dashboard.png)![WebsiteGroups](https://plugins.matomo.org/WebsiteGroups/images/0.3.0/Create_Or_Assign_Group.png)[/details]
|
||||
|
5
composer.json
Normal file
5
composer.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"require": {
|
||||
"composer/semver": "^1.4"
|
||||
}
|
||||
}
|
80
composer.lock
generated
Normal file
80
composer.lock
generated
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "b6ba8557af6308680edf7d175335f969",
|
||||
"packages": [
|
||||
{
|
||||
"name": "composer/semver",
|
||||
"version": "1.4.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/semver.git",
|
||||
"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573",
|
||||
"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.3.2 || ^7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.5 || ^5.0.5",
|
||||
"phpunit/phpunit-mock-objects": "2.3.0 || ^3.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Composer\\Semver\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nils Adermann",
|
||||
"email": "naderman@naderman.de",
|
||||
"homepage": "http://www.naderman.de"
|
||||
},
|
||||
{
|
||||
"name": "Jordi Boggiano",
|
||||
"email": "j.boggiano@seld.be",
|
||||
"homepage": "http://seld.be"
|
||||
},
|
||||
{
|
||||
"name": "Rob Bast",
|
||||
"email": "rob.bast@gmail.com",
|
||||
"homepage": "http://robbast.nl"
|
||||
}
|
||||
],
|
||||
"description": "Semver library that offers utilities, version constraint parsing and validation.",
|
||||
"keywords": [
|
||||
"semantic",
|
||||
"semver",
|
||||
"validation",
|
||||
"versioning"
|
||||
],
|
||||
"time": "2016-08-30T16:08:34+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": []
|
||||
}
|
92
main.php
Normal file
92
main.php
Normal file
|
@ -0,0 +1,92 @@
|
|||
<?php
|
||||
|
||||
use Composer\Semver\Comparator;
|
||||
use Composer\Semver\Semver;
|
||||
|
||||
function output($string) {
|
||||
echo $string . "\n";
|
||||
}
|
||||
|
||||
function url($text, $url) {
|
||||
if (empty($url)) {
|
||||
return $text;
|
||||
}
|
||||
return "[$text]($url)";
|
||||
}
|
||||
|
||||
function image($alttext, $screenshots) {
|
||||
$text = "[details=\"Screenshots\"]";
|
||||
foreach ($screenshots as $screenshot) {
|
||||
$text .= "![$alttext]($screenshot)";
|
||||
}
|
||||
$text .= "[/details]";
|
||||
return $text;
|
||||
}
|
||||
|
||||
function heading($string) {
|
||||
return "## $string";
|
||||
}
|
||||
|
||||
function emphasis($string) {
|
||||
return "*$string*";
|
||||
}
|
||||
|
||||
function formatDate($datestring) {
|
||||
return date("Y-m-d", strtotime($datestring));
|
||||
}
|
||||
|
||||
require_once "vendor/autoload.php";
|
||||
|
||||
//$json = file_get_contents("https://plugins.matomo.org/api/2.0/plugins");
|
||||
//$piwikVersion = trim(file_get_contents("https://api.piwik.org/1.0/getLatestVersion/"));
|
||||
$json = file_get_contents("plugins.json");
|
||||
$piwikVersion = "3.2.1";
|
||||
|
||||
$data = json_decode($json);
|
||||
foreach ($data->plugins as $plugin) {
|
||||
$add = false;
|
||||
$maxVersion = "0.0.1";
|
||||
$maxRelease = false;
|
||||
foreach ($plugin->versions as $version) {
|
||||
if (Comparator::greaterThanOrEqualTo($version->name, $maxVersion)) {
|
||||
$maxVersion = $version->name;
|
||||
$maxRelease = $version;
|
||||
}
|
||||
}
|
||||
$latestVersion = $maxRelease;
|
||||
if (empty($latestVersion->requires) or empty($latestVersion->requires->piwik)) {
|
||||
$add = "Probably not (hasn't specified supported versions)";
|
||||
} else {
|
||||
$contstraint = $latestVersion->requires->piwik;
|
||||
if (Semver::satisfies($piwikVersion, $latestVersion->requires->piwik)) {
|
||||
if (strpos($contstraint, "3") === false && strpos($contstraint, "4") === false) {
|
||||
$add = "Possible ($contstraint)";
|
||||
}
|
||||
} else {
|
||||
$add = "No ($contstraint)";
|
||||
}
|
||||
}
|
||||
if ($add !== false) {
|
||||
output(heading($plugin->displayName));
|
||||
output(emphasis($plugin->description));
|
||||
output(url("Marketplace", "https://plugins.matomo.org/" . $plugin->name) . ", " . \
|
||||
url("repository", $plugin->repositoryUrl));
|
||||
output("Matomo 3 support: " . $add);
|
||||
$authors = [];
|
||||
foreach ($plugin->authors as $author) {
|
||||
$authors[] = url($author->name, $author->homepage);
|
||||
}
|
||||
output("Author: " . join(", ", $authors));
|
||||
output("Latest Release: " . formatDate($latestVersion->release));
|
||||
output(url("License: " . $latestVersion->license->name, $latestVersion->license->url));
|
||||
$activity = $plugin->activity;
|
||||
output(sprintf("%s commits by %s contributors | last commit was on %s",
|
||||
$activity->numCommits, $activity->numContributors, formatDate($activity->lastCommitDate)));
|
||||
output("Downloads: " . $plugin->numDownloads);
|
||||
if (!empty($plugin->screenshots)) {
|
||||
output(image($plugin->name, $plugin->screenshots));
|
||||
}
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue