PHPackages                             compojoom/lib\_compojoom - 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. compojoom/lib\_compojoom

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

compojoom/lib\_compojoom
========================

Compojoom Libraries and Helpers for Joomla!

v4.1.1(10y ago)4422[1 PRs](https://github.com/compojoom/lib_compojoom/pulls)GPLJavaScriptPHP &gt;=5.3.10

Since Feb 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/compojoom/lib_compojoom)[ Packagist](https://packagist.org/packages/compojoom/lib_compojoom)[ RSS](/packages/compojoom-lib-compojoom/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (6)Used By (0)

Compojoom - Utilities library for Joomla
========================================

[](#compojoom---utilities-library-for-joomla)

[![Build Status](https://camo.githubusercontent.com/c6c619155906df75498aa7731aed388225c4a7393e8172651e60888eb9aa18c8/687474703a2f2f7465737430312e636f6d706f6a6f6f6d2e636f6d2f6170692f6261646765732f636f6d706f6a6f6f6d2f6c69625f636f6d706f6a6f6f6d2f7374617475732e737667)](http://test01.compojoom.com/compojoom/lib_compojoom)

The goal of this library is to ease the Joomla extension development process by abstracting commonly used functions in one place.

USAGE
-----

[](#usage)

Add the following line to your code:

```
require_once JPATH_LIBRARIES . '/compojoom/include.php';

```

### Requirements for building the package from github

[](#requirements-for-building-the-package-from-github)

In order to build the installation packages of this library you need to have the following tools:

- A command line environment. Bash under Linux / Mac OS X . On Windows you will need to run most tools using an elevated privileges (administrator) command prompt.
- The PHP CLI binary in your path
- Git binaries(\*)
- Installed composer

### Build instructions

[](#build-instructions)

`composer install`

`cp jorobo.dist.ini jorobo.ini`

`robo build`

This is going to create an installable package in the /dist folder, which you can deploy with your extension.

Using the Avatar &amp; Profile support
--------------------------------------

[](#using-the-avatar--profile-support)

In your component config you can create the following fields:

```

```

Note: the fieldset has an addfieldpath -&gt; this would fetch the fields from that location. The isPRO attribute determines if all available options should be made available for selection. Generally in Core extensions we don't want to make those fields available.

Now to actually use the system in your php files you need to do the following:

```
$avatarSystem = CompojoomAvatars::getInstance($system);
$avatars = $avatarSystem->getAvatars($users);
```

$system is the avatar system name. Generally the value from: support\_avatars in your config.
$users is an array with user ids

To use the profile system in php files you need to do the following

```
$profileSystem = CompojoomProfiles::getInstance($profile);
$link = $profileSystem->getLink($id);
```

$profile is the profile system name. Generally the value from profile\_link in your config
$id is the user id that we are generating the link for

COPYRIGHT AND DISCLAIMER
------------------------

[](#copyright-and-disclaimer)

Compojoom library - Copyright (c) 2008 - 2016 Compojoom.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 61.2% 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 ~31 days

Total

3

Last Release

3695d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a7f9740581e2435af72213d6407fb58124d8ba5be9a53bce77c8d8abcfa770c?d=identicon)[yvesh](/maintainers/yvesh)

![](https://www.gravatar.com/avatar/ed543147ca8dbe934e3c3465560d7e13993874c4b0520b37438ca1c2ccd46251?d=identicon)[compojoom](/maintainers/compojoom)

---

Top Contributors

[![compojoom](https://avatars.githubusercontent.com/u/693770?v=4)](https://github.com/compojoom "compojoom (194 commits)")[![yvesh](https://avatars.githubusercontent.com/u/897638?v=4)](https://github.com/yvesh "yvesh (123 commits)")

### Embed Badge

![Health badge](/badges/compojoom-lib-compojoom/health.svg)

```
[![Health](https://phpackages.com/badges/compojoom-lib-compojoom/health.svg)](https://phpackages.com/packages/compojoom-lib-compojoom)
```

###  Alternatives

[pharaonic/php-dot-array

Access array data quickly/easily using dot-notation and asterisk.

1011.6k3](/packages/pharaonic-php-dot-array)

PHPackages © 2026

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