PHPackages                             su-sws/erus - 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. su-sws/erus

AbandonedArchivedDrupal-custom-module[Utility &amp; Helpers](/categories/utility)

su-sws/erus
===========

A Drupal feature.

7.1.2-alpha2(8y ago)4371[3 issues](https://github.com/SU-SWS/erus/issues)GPL-2.0+PHP

Since Jun 26Pushed 8y ago5 watchersCompare

[ Source](https://github.com/SU-SWS/erus)[ Packagist](https://packagist.org/packages/su-sws/erus)[ RSS](/packages/su-sws-erus/feed)WikiDiscussions 7.x-1.x-dev Synced 3d ago

READMEChangelog (9)Dependencies (1)Versions (2)Used By (0)

ERUS
====

[](#erus)

### External Repository Update Status.

[](#external-repository-update-status)

For connecting with external repository services such as github or bitbucket in order to obtain update status information for custom work.

INSTALLATION AND CONFIGURATION
------------------------------

[](#installation-and-configuration)

By default ERUS will pick up any module that uses the project status url option in the .info file of the module or feature.

```
project status url = 'http://www.example.com'

```

ERUS module will attempt to gather information from the update status url in order to check the external service. ERUS comes with a built in github.com plugin. All you would need to add to your features that are stored on github is the path to the github project page. EG: for ERUS

```
project status url = 'https://github.com/SU-SWS/erus'

```

You may also add specific configuration settings for each of your modules and features no matter where they are hosted. Add the following to the .info file of the project that is hosted with an external repository service.

```
erus[plugin] = plugin_name
erus[account] = remote-account-name
erus[project] = *optional_project_name*

```

eg: for [https://github.com/SU-SWS/stanford\_person](https://github.com/SU-SWS/stanford_person)

```
erus[plugin] = github.com
erus[account] = SU-SWS
erus[project] = stanford_person

```

Plugins
-------

[](#plugins)

[GitHub](plugins/README.md)
A plugin to connect with GitHub's release functionalty. See [plugin documentation](plugins/README.md)for more information.

API
---

[](#api)

see [erus.api.php](erus.api.php)

```
/**
* Define your own plugins
* /
hook_erus_plugin_info()

/**
* Alter existing plugin information
*/
hook_erus_plugin_info_alter()

```

Example Plugin
--------------

[](#example-plugin)

```
/**
* Example Erus Plugin
*/
class erusExample extends erusPlugin {

  /**
   * - Optional Method -
   *
   * Creates a configuration form at:
   * admin/config/administration/erus/[-plugin_name-]
   *
   * A default submit handler is provided that saves all the form values
   * into the variables table for you at variable_get('erus_[plugin_name]');
   *
   * @return [array] [config form]
   */
  public function get_configuration_form() {
    $form = array();

    // Your form items here.

    return $form;
  }

  /**
   *  - Required Method -
   *
   * The meat of your plugin goes in here. It is passed in update data for a
   * module that has been validated to use this plugin. Add your logic here.
   *
   * @param  [array] $data Update Data
   * @return [array]
   */
  public function process($data) {

    // Do your stuff here.
    // ...

    // A guzzle client is available to you.
    $client = $this->get_client();

    // Get the configuration form settings

    return $data;
  }

}

```

Drush
-----

[](#drush)

**WARNING** This module will break your 'drush up' command unless all used plugins provide a valid md5 checksum and the download file unpacks with the exact same name as the module.

If your 'drush up' fails to validate md5 checksums or replaces module directories with invalid names you can use the included package-handler to remedy those ailments.

```
eg: drush up --package-handler=erus_wget

```

By providing the --package-handler option you will be able to continue to use drush up.

Also included in this module is a wrapper for the above. Simply use the drush eup command to accomplish the same thing.

```
eg: drush eup

```

TODO
----

[](#todo)

- Development versions
- Non Drupal naming convention releases
- Many bug fixes and code clean up.
- Multiple places for configuration (info &amp; plugin)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2926d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/680d4f5083667895b9323d1f792118734589007acc782a6e60e63d95f87d6081?d=identicon)[stanfordwebservices](/maintainers/stanfordwebservices)

---

Top Contributors

[![sherakama](https://avatars.githubusercontent.com/u/550602?v=4)](https://github.com/sherakama "sherakama (34 commits)")[![jbickar](https://avatars.githubusercontent.com/u/821106?v=4)](https://github.com/jbickar "jbickar (3 commits)")[![kmakitan](https://avatars.githubusercontent.com/u/13700300?v=4)](https://github.com/kmakitan "kmakitan (3 commits)")[![pookmish](https://avatars.githubusercontent.com/u/7185045?v=4)](https://github.com/pookmish "pookmish (3 commits)")

---

Tags

d7module

### Embed Badge

![Health badge](/badges/su-sws-erus/health.svg)

```
[![Health](https://phpackages.com/badges/su-sws-erus/health.svg)](https://phpackages.com/packages/su-sws-erus)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3355.8k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
