Download the PHP package tgm/plugin-activation without Composer

On this page you can find all versions of the php package tgm/plugin-activation. 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 plugin-activation

TGM Plugin Activation

GitHub license Build Status Scrutinizer Code Quality

Lead Developers: Thomas Griffin (@jthomasgriffin), Gary Jones (@GaryJ), Juliette Reinders Folmer (@jrf_nl)
Version: 2.6.1 Requires at least: 3.7.0 Tested up to: 4.5.2

Description

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.

Installation

  1. Generate a customized version of the latest version of TGMPA based on your intended use-case using the Custom TGMPA Generator.
  2. Extract the class file and place it somewhere in your theme hierarchy.
  3. Add a require_once call within functions.php (or other file) referencing the class file.
  4. Create a function, hooked to tgmpa_register, that registers the plugin and configurations.

For steps 3 and 4, it is recommended you view, copy and paste the contents of example.php and amend to suit. The example.php file is a model for how you should include the class in your theme.

Detailed documentation on how to configure TGMPA is available on the website.

We strongly recommend the use of the Custom TGMPA Generator if you intend to use TGMPA in a theme which is to be published via WordPress.org or Themeforest.

The generated customized version of TGMPA will comply with the Theme Review guidelines and Theme Check.

Composer

TGM Plugin Activation is also available as a package installable via Composer:

composer create-project tgmpa/tgm-plugin-activation --no-dev

Frequently Asked Questions

See the FAQ page.

Feedback

See https://github.com/TGMPA/TGM-Plugin-Activation/issues for current issues and the guidelines for reporting bugs and enhancements.

Note: TGM Plugin Activation library authors are not responsible for the end-user support for any plugin or theme which uses the library.

Changelog

See CHANGELOG.md.

Contributing to TGM Plugin Activation

If you have a patch, or stumbled upon an issue with TGM Plugin Activation core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.


All versions of plugin-activation with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2
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 tgm/plugin-activation contains the following files

Loading the files please wait ....