PHPackages                             cilogon/service-lib - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. cilogon/service-lib

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

cilogon/service-lib
===================

Library used by the CILogon Service

3.4.1(1mo ago)41.8k1NCSAPHPPHP &gt;=7.0.0CI failing

Since Jul 17Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/cilogon/service-lib)[ Packagist](https://packagist.org/packages/cilogon/service-lib)[ RSS](/packages/cilogon-service-lib/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (48)Versions (25)Used By (0)

Library for the CILogon Service
===============================

[](#library-for-the-cilogon-service)

[![License](https://camo.githubusercontent.com/e44a8bfabfab06b50445d653ef7b5f77646e8123976731f15f50b05fc1e099dd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e4353412d627269676874677265656e2e737667)](https://github.com/cilogon/service-lib/master/LICENSE)[![Scrutinizer](https://camo.githubusercontent.com/3f017849708cf24b6e3afd5285f54b8eac58b92b49330b682905fe8bc6e1c2b0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f63696c6f676f6e2f736572766963652d6c69622f6d61737465722e737667)](https://scrutinizer-ci.com/g/cilogon/service-lib/)

This package contains the library used by the [CILogon Service](https://github.com/cilogon/service).

This package is compliant with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md), and [PSR-12](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md). If you notice compliance oversights, please send a patch via pull request.

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

[](#requirements)

The following versions of PHP are supported.

- PHP 8.3
- PHP 8.4
- PHP 8.5

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

[](#installation)

To install, use composer:

```
composer require cilogon/service-lib

```

Mulit-language (i18n) Support
-----------------------------

[](#mulit-language-i18n-support)

All text output to the user is wrapped by a `gettext()` ( shorthand `_()` ) function call. [gettext](https://www.gnu.org/software/gettext/) enables the text to be displayed in multiple languages by setting the [locale](https://en.wikipedia.org/wiki/Locale_(computer_software)) for the program at runtime. While this is great for the user, it means that the programmer must update translation files anytime a text string in the code is changed or added. This is handled by the [gettext\_php\_to\_po.php](https://github.com/cilogon/service/blob/main/gettext_php_to_po.php)script. See [Internationalization Support](https://github.com/cilogon/service#internationalization-support) for more information.

License
-------

[](#license)

The University of Illinois/NCSA Open Source License (NCSA). Please see [License File](https://github.com/cilogon/service-lib/blob/master/LICENSE) for more information.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance94

Actively maintained with recent releases

Popularity23

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 ~45 days

Total

24

Last Release

30d ago

Major Versions

2.7.3 → 3.0.02025-06-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cf1c382d3acc207b6ffea4f30524a2b1bcf1453d7902dbcc48110d5f6afa953?d=identicon)[terrencegf](/maintainers/terrencegf)

---

Top Contributors

[![terrencegf](https://avatars.githubusercontent.com/u/135982?v=4)](https://github.com/terrencegf "terrencegf (896 commits)")

---

Tags

Authenticationauthorizationcilogon

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k147.0M288](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k128.7M1.3k](/packages/league-oauth2-client)[bedita/manager

BEdita Manager - official admin webapp for BEdita4 API

131.2k](/packages/bedita-manager)[league/oauth1-client

OAuth 1.0 Client Library

996110.3M120](/packages/league-oauth1-client)[hybridauth/hybridauth

PHP Social Authentication Library

3.4k9.0M108](/packages/hybridauth-hybridauth)

PHPackages © 2026

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