PHPackages                             themewizz/twz-software-feedback-client-library - 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. themewizz/twz-software-feedback-client-library

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

themewizz/twz-software-feedback-client-library
==============================================

Collecting plugin data and reporting plugin usage to developers.

5.0.5(2y ago)0261Apache-2.0JavaScriptPHP &gt;=8.1

Since Dec 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ThemeWizz/twz-software-feedback-client-library)[ Packagist](https://packagist.org/packages/themewizz/twz-software-feedback-client-library)[ Docs](https://github.com/themewizz/twz-software-feedback-client-library)[ RSS](/packages/themewizz-twz-software-feedback-client-library/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (4)Used By (0)

twz-software-feedback
=====================

[](#twz-software-feedback)

This library will show a de-activation survey dialog when the user clicks "deactivate" on plugins.php on any plugins you've bound the library to. The form data will be posted to ccplugins.co

Installation
------------

[](#installation)

Use composer to manage your dependencies and download PHP-JWT:

```
composer require themewizz/twz-software-feedback-client-library
```

Usage
-----

[](#usage)

```
add_filter('twz_software_deactivate_feedback_plugins', function($plugins) {

	$plugins[] = (object)array(
		'slug' => 'wp-google-maps',
		'server_url' => '/wp-admin/admin-ajax.php',
		'version' => '7.0.6'
	);

	return $plugins;

});

add_filter('twz_software_deactivate_feedback_plugins', array($this, 'twz_software_deactivate_feedback_form_plugins'));
public function twz_software_deactivate_feedback_form_plugins($plugins)
{
	$plugins[] = (object)array(
		'server_url' => '/wp-admin/admin-ajax.php',
		'slug' => 'wp-google-maps',
		'version' => '5.5.1,
		'url' => 'https://themewizz.com',
		'lang' => get_bloginfo('language'),
		'email' => get_bloginfo('admin_email')
	);

	return $plugins;
}

Default Strings
add_filter('twz_software_deactivate_feedback_form_default_strings', array($this 'twz_software_deactivate_feedback_form_default_strings'), 10, 2);
public function twz_software_deactivate_feedback_form_default_strings($defaultStrings, $plugin)
{
	if ($plugin->slug == "wp-google-maps") {
		$defaultStrings = array(
			'quick_feedback'			=> __('Quick Feedback', 'codecabin'),
			'foreword'					=> __('If you would be kind enough, please tell us why you\'re deactivating?', 'codecabin'),
			'better_plugins_name'		=> __('Please tell us which plugin?', 'codecabin'),
			'please_tell_us'			=> __('Please tell us the reason so we can improve the plugin', 'codecabin'),
			'do_not_attach_email'		=> __('Do not send my e-mail address with this feedback', 'codecabin'),

			'brief_description'			=> __('Please give us any feedback that could help us improve', 'codecabin'),

			'cancel'					=> __('Cancel', 'codecabin'),
			'skip_and_deactivate'		=> __('Skip & Deactivate', 'codecabin'),
			'submit_and_deactivate'		=> __('Submit & Deactivate', 'codecabin'),
			'please_wait'				=> __('Please wait', 'codecabin'),
			'thank_you'					=> __('Thank you!', 'codecabin')
		);
	}
	return $defaultStrings;
}

Reasons
add_filter('twz_software_deactivate_feedback_form_reasons', array($this, 'twz_software_deactivate_feedback_form_reasons'), 10, 2);
public function twz_software_deactivate_feedback_form_reasons($defaultReasons, $plugin)
{
	if ($plugin->slug == "wp-google-maps") {
		$defaultReasons = array(
			'suddenly-stopped-working'	=> __('The plugin suddenly stopped working', 'codecabin'),
			'plugin-broke-site'			=> __('The plugin broke my site', 'codecabin'),
			'no-longer-needed'			=> __('I don\'t need this plugin any more', 'codecabin'),
			'found-better-plugin'		=> __('I found a better plugin', 'codecabin'),
			'temporary-deactivation'	=> __('It\'s a temporary deactivation, I\'m troubleshooting', 'codecabin'),
			'other'						=> __('Other', 'codecabin')
		);
	}
	return $defaultReasons;
}

```

Notes
-----

[](#notes)

You can include any other arbitrary data you might want to store in the object you pass to the $plugins array in the example above

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Every ~8 days

Total

3

Last Release

907d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91fcbd6606e4ce74c66c3a494d5638a1102eefebbe4d34e7b9d1768097046a03?d=identicon)[themewizz](/maintainers/themewizz)

---

Top Contributors

[![sersart](https://avatars.githubusercontent.com/u/2663716?v=4)](https://github.com/sersart "sersart (6 commits)")

---

Tags

trackingfeedbackplugin usage

### Embed Badge

![Health badge](/badges/themewizz-twz-software-feedback-client-library/health.svg)

```
[![Health](https://phpackages.com/badges/themewizz-twz-software-feedback-client-library/health.svg)](https://phpackages.com/packages/themewizz-twz-software-feedback-client-library)
```

###  Alternatives

[zumba/amplitude-php

PHP SDK for Amplitude

4110.3M5](/packages/zumba-amplitude-php)[kyranb/footprints

A simple registration attribution tracking solution for Laravel (UTM Parameters and Referrers)

207372.2k](/packages/kyranb-footprints)[hcodes/server_yametrika

Server-side tracking of visitors using Yandex.Metrica

7521.4k](/packages/hcodes-server-yametrika)[ondrakoupil/heureka-recenze

Knihovna pro snadný import recenzí e-shopu a produktů z Heuréka.cz

1094.3k](/packages/ondrakoupil-heureka-recenze)[mydnic/nova-kustomer

Laravel Nova Kustomer Feedback Tool

1918.6k](/packages/mydnic-nova-kustomer)[axllent/silverstripe-analytics-js

Google Universal Analytics tracking code for Silverstripe

1721.4k](/packages/axllent-silverstripe-analytics-js)

PHPackages © 2026

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