# Checking for Dependencies

## Manfiest File

Using a Manifest File to check for dependencies is the preferred route if your plugin **requires** another to work.

Learn how to set dependencies in Manifest files here: [#dependencies](https://docs.saturncms.net/1.0.0/dev/manifest#dependencies "mention")

## Using PluginManager

PluginManager allows you to check if a plugin is running. This is the preferred route if your plugin **does not require, but can use** features from another plugin.

For example, if you have a feature that links in with another plugin, but does not require the plugin to be installed for yours to work.

This is great for optional features.

Learn more here: [check-if-a-plugin-is-loaded.](https://docs.saturncms.net/1.0.0/dev/libraries-and-functions/pluginmanager/check-if-a-plugin-is-loaded. "mention")
