PHPackages                             ubc/ltcommons-bundle - 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. [Framework](/categories/framework)
4. /
5. ubc/ltcommons-bundle

AbandonedArchivedLibrary[Framework](/categories/framework)

ubc/ltcommons-bundle
====================

LtCommons bundle for Symfony 2

0.1.1(10y ago)0396MITPHPPHP &gt;=5.3.3 &lt;7

Since Feb 25Pushed 10y ago9 watchersCompare

[ Source](https://github.com/ubc/ltcommons-bundle)[ Packagist](https://packagist.org/packages/ubc/ltcommons-bundle)[ Docs](http://github.com/ubc/ltcommons-bundle)[ RSS](/packages/ubc-ltcommons-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

LtCommons Bundle for Symfony 2
==============================

[](#ltcommons-bundle-for-symfony-2)

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

[](#installation)

```
composer require ubc/ltcommons-bundle

```

Usage
-----

[](#usage)

### With Symfony 2

[](#with-symfony-2)

First, enable the Bundle

```
// app/AppKernel.php

class AppKernel extends Kernel
{
    // ...

    public function registerBundles()
    {
        $bundles = array(
            // ...,
            new UBC\LtCommonsBundle\LtCommonsBundle(),
        );

        // ...
    }
}
```

Then, add configuration in `Configuration` section to your app/config\_\*.yml

### With DI container

[](#with-di-container)

```
require 'vendor/autoload.php';

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

// Bootstrap the JMS custom annotations for Object to Json mapping
\Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
    'JMS\Serializer\Annotation',
    dirname(__FILE__).'/vendor/jms/serializer/src'
);

$container = new \Symfony\Component\DependencyInjection\ContainerBuilder();
$container->registerExtension(new \UBC\LtCommons\UBCLtCommonsExtension());

$loader = new YamlFileLoader($container, new FileLocator(__DIR__));
$loader->load('config.yml');

$container->compile();

$codes = $container->get('ubc_lt_commons.service.department_code')->getDepartmentCodes();
```

Configuration
-------------

[](#configuration)

```
ubc_lt_commons:
  providers:
    sis:
      base_url: http://sisapi.example.com
      auth:
        module: auth2
        rpc_path: /auth/rpc
        username: service_username
        password: service_password
        service_application: service_app
        service_url: https://www.auth.stg.id.ubc.ca
      http_client: Guzzle
      serializer: JMS
    xml:
      path: /path/to/data
      serializer: JMS
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~422 days

Total

2

Last Release

3678d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.3.3

0.1.1PHP &gt;=5.3.3 &lt;7

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b2967b2bb74961a49e294aa39aff74c15698f2b09aae1d5557cb986a03da13a?d=identicon)[compass](/maintainers/compass)

---

Top Contributors

[![xcompass](https://avatars.githubusercontent.com/u/465548?v=4)](https://github.com/xcompass "xcompass (21 commits)")

---

Tags

bundlesisubc

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ubc-ltcommons-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ubc-ltcommons-bundle/health.svg)](https://phpackages.com/packages/ubc-ltcommons-bundle)
```

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)

PHPackages © 2026

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