> For the complete documentation index, see [llms.txt](https://docs.saturncms.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saturncms.net/1.0.0/dev/libraries-and-functions/pluginmanager.md).

# PluginManager

## Checking if a specific plugin is loaded.

{% hint style="info" %}
If your plugin depends on another plugin, you should put this in your Manifest.
{% endhint %}

This function will check if the requested plugin has been loaded by Saturn. It will return a true/false boolean result.

<pre class="language-php"><code class="lang-php"><strong>use Saturn\PluginManager\PluginLoader;
</strong>
$PluginLoader = new PluginLoader();

if ($PluginLoader->PluginLoaded('ControlPanel')) {
    // The plugin is installed! It's safe to do stuff with it now.
} else {
    // The plugin is not installed :(
}
</code></pre>

## Get a plugin's manifest file.

```php
use Saturn\PluginManager\PluginManifest;

$PluginManifest = new PluginManifest();

// The manifest will be returned to this variable as a JSON object.
$Manifest = $PluginManifest->GetManifest('ControlPanel');
```
