PHPackages                             onoi/shared-resources - 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. onoi/shared-resources

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

onoi/shared-resources
=====================

Shareable and common resource modules

0.4.3(9y ago)1291.3k↑784%[1 issues](https://github.com/onoi/shared-resources/issues)3GPL-2.0+JavaScriptPHP &gt;=5.3.0

Since Apr 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/onoi/shared-resources)[ Packagist](https://packagist.org/packages/onoi/shared-resources)[ Docs](https://github.com/onoi/common-resources)[ RSS](/packages/onoi-shared-resources/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (1)Versions (11)Used By (3)

shared-resources
================

[](#shared-resources)

[![Latest Stable Version](https://camo.githubusercontent.com/9cc3389bc1d54303b64a567994090892cf893d905a72c7b8a669197b0c44b462/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6f692f7368617265642d7265736f75726365732f76657273696f6e2e706e67)](https://packagist.org/packages/onoi/shared-resources)[![Packagist download count](https://camo.githubusercontent.com/79f3e0537f652110fcb9c6109ebf09f9301b9587a738020c7314b8061173b8a6/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6f692f7368617265642d7265736f75726365732f642f746f74616c2e706e67)](https://packagist.org/packages/onoi/shared-resources)[![Dependency Status](https://camo.githubusercontent.com/e9a757804a62507f4d1353bbe1dead4d66298aab278dfe6f8e3354414739b934/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6f6e6f693a7368617265642d7265736f75726365732f62616467652e706e67)](https://www.versioneye.com/php/onoi:shared-resources)

Some resources in this package were part of the [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki/) code base and are now deployed as separate library so that [ResourceLoader](https://www.mediawiki.org/wiki/ResourceLoader) modules can be used independently.

Requirements
------------

[](#requirements)

PHP 5.3 / HHVM 3.3 or later

Installation
------------

[](#installation)

The recommended installation method for this library is to add the dependency to your [composer.json](https://getcomposer.org/).

```
{
	"require": {
		"onoi/shared-resources": "~0.4"
	}
}
```

Usage
-----

[](#usage)

Define a dependency or load a specifc resource module.

```
$GLOBALS['wgResourceModules']['ext.something'] = array(
	...
	'dependencies'  => array(
		'onoi.md5',
		'onoi.blobstore'
	);
);

```

```
mw.loader.using( 'onoi.md5' ).done( function () {
	// do something
} );

```

### Resources

[](#resources)

- `onoi.md5` (1.1.0)
- `onoi.blockUI` (2.70)
- `onoi.rangeslider` (2.1.2)
- `onoi.localForage` (1.4.2)
- `onoi.async` (1.0)
- `onoi.qtip` (3.0.3)
- `onoi.jstorage` (0.4.12)
- `onoi.blobstore` (0.1)
- `onoi.clipboard` (1.5.15)
- `onoi.dataTables` (`jquery.dataTables` 1.10.15)
- `onoi.bootstrap.tab` (v4.0.0-alpha.6)

Contribution and support
------------------------

[](#contribution-and-support)

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the [contribution guidelinee](/CONTRIBUTING.md). A list of people who have made contributions in the past can be found [here](https://github.com/onoi/shared-resources/graphs/contributors).

- [File an issue](https://github.com/onoi/shared-resources/issues)
- [Submit a pull request](https://github.com/onoi/shared-resources/pulls)

Release notes
-------------

[](#release-notes)

- 0.4.1 (2017-04-22)

    - Replaced `jquery.dataTables` 1.10.13 with 1.10.15
- 0.4 (2017-04-15)

    - Addedd `onoi.dataTables` using `jquery.dataTables` 1.10.13
    - Addedd `onoi.highlight` using `jquery.highlight`
    - Addedd `onoi.bootstrap.tab` using Bootstrap (v4.0.0-alpha.6): tab.js
    - Replaced `clipboard.js` v1.5.15 with v1.6.1
    - Replaced `localForage.js` 1.4.2 with 1.5.0
- 0.3 (2016-12-17)

    - Addedd `onoi.clipboard` 1.5.15
- 0.2 (2016-05-25)

    - Addedd `onoi.qtip` 3.0.3
    - Replaced `onoi.localForage` 1.4.0 with 1.4.2
    - Replaced `onoi.md5` 2.3.0 with 1.1.0 as some issues were encountered when loading it as resource
- 0.1 (2016-04-05)

    - Initial release

License
-------

[](#license)

[GNU General Public License 2.0 or later](https://www.gnu.org/copyleft/gpl.html). Libraries and third-party plug-ins are deployed with their respective published licenses.

- [MD5](https://github.com/blueimp/JavaScript-MD5), MIT license
- [jquery.blockUI](http://malsup.com/jquery/block/), Dual licensed under the MIT and GPL licenses
- [ion.rangeSlider](https://github.com/IonDen/ion.rangeSlider), MIT license
- [Mozilla localForage](https://github.com/mozilla/localForage/releases), Apache License 2.0
- [jquery.async](http://mess.genezys.net/jquery/jquery.async.php) Dual licensed under the MIT and GPL licenses
- [jStorage](https://github.com/andris9/jStorage), Unlicense
- [jquery.qtip](http://qtip2.com/), Dual licensed under the MIT and GPL licenses
- [jquery.dataTables](https://datatables.net/), MIT licenses
- [jquery.highlight](http://bartaz.github.io/sandbox.js/jquery.highlight.html/), MIT licenses
- [clipboard.js](https://github.com/zenorocha/clipboard.js), MIT License
- [Bootstrap](https://github.com/twbs/bootstrap), MIT licenses
- `onoi.blobstore` (0.1, GPL 2+)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

Every ~42 days

Recently: every ~31 days

Total

10

Last Release

3357d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/372f9bc1233d5518b9522cb681210a8de2765a3a9bbde20138f6ad5332a411ca?d=identicon)[mwjames](/maintainers/mwjames)

---

Top Contributors

[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (12 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (1 commits)")

---

Tags

mediawiki

### Embed Badge

![Health badge](/badges/onoi-shared-resources/health.svg)

```
[![Health](https://phpackages.com/badges/onoi-shared-resources/health.svg)](https://phpackages.com/packages/onoi-shared-resources)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

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

3376.6k](/packages/starcitizentools-citizen-skin)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 5

12585.7k2](/packages/mediawiki-chameleon-skin)[civicrm/civicrm-drupal-8

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

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)

PHPackages © 2026

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