PHPackages                             webdevstudios/wds-required-plugins - 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. webdevstudios/wds-required-plugins

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

webdevstudios/wds-required-plugins
==================================

Make certain plugins required so that they cannot be (easily) deactivated.

1.4.0(2y ago)7613321[3 issues](https://github.com/WebDevStudios/WDS-Required-Plugins/issues)[1 PRs](https://github.com/WebDevStudios/WDS-Required-Plugins/pulls)PHP

Since Dec 13Pushed 2y ago45 watchersCompare

[ Source](https://github.com/WebDevStudios/WDS-Required-Plugins)[ Packagist](https://packagist.org/packages/webdevstudios/wds-required-plugins)[ RSS](/packages/webdevstudios-wds-required-plugins/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (10)Used By (0)

WDS Required Plugins
====================

[](#wds-required-plugins)

A library you can use to make any plugins required and auto-activate.

- Nobody can de-activate the plugin from the WordPress Admin
- They are auto-activated when required

To use, place this library in your `mu-plugins/` directory (if you don't have one, create one in `wp-content/`), then use the example below:

[![WebDevStudios. WordPress for big brands.](https://camo.githubusercontent.com/49083ad2ec31f613b1a1a1e5248ba5ee38d09cf189480d57be5b5683b0cca709/68747470733a2f2f77656264657673747564696f732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30342f7764732d6769746875622d62616e6e65722e706e67)](https://webdevstudios.com/contact/)

Installation &amp; Update
-------------------------

[](#installation--update)

### With Composer

[](#with-composer)

Add the following to your `composer.json`

```
{
    "extra": {
        "installer-paths": {
            "mu-plugins/{$name}/": ["type:wordpress-muplugin"]
        }
    }
}
```

Then use:

```
composer require webdevstudios/wds-required-plugins
```

This will install the `mu-plugin`, e.g. `mu-plugins/wds-required-plugins` in `wp-content` based projects.

You will have to require it in e.g. `mu-plugins/wds-required-plugins-list.php`:

```
