Download the PHP package themewizz/twz-software-feedback-client-library without Composer

On this page you can find all versions of the php package themewizz/twz-software-feedback-client-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package twz-software-feedback-client-library

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

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

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

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


All versions of twz-software-feedback-client-library with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package themewizz/twz-software-feedback-client-library contains the following files

Loading the files please wait ....