PHPackages                             cu-boulder/ucb\_campus\_news - 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. cu-boulder/ucb\_campus\_news

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

cu-boulder/ucb\_campus\_news
============================

Provides a block for CU Boulder campus news.

087.9kJavaScript

Since Oct 24Pushed 1y ago2 watchersCompare

[ Source](https://github.com/CuBoulder/ucb_campus_news)[ Packagist](https://packagist.org/packages/cu-boulder/ucb_campus_news)[ RSS](/packages/cu-boulder-ucb-campus-news/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

CU Boulder Campus News
======================

[](#cu-boulder-campus-news)

This Drupal module contains the Campus News block, which pulls news articles from [CU Boulder Today](https://www.colorado.edu/today) using the JSON API.

Dependencies
------------

[](#dependencies)

- [CU Boulder Styled Block](https://github.com/CuBoulder/ucb_styled_block)
    - Needed on every site with CU Boulder Campus News installed.
- [CU Boulder Article Syndication](https://github.com/CuBoulder/ucb_article_syndication)
    - Needed on the Today site only.

Major Releases
--------------

[](#major-releases)

- Fall 2022: Initial support for the Drupal 7 (legacy) Today site (v1.0).
- Fall 2024: Initial support for the modern Today site JSON API (v2.0).

Why is a custom module needed for this block specifically?
----------------------------------------------------------

[](#why-is-a-custom-module-needed-for-this-block-specifically)

The Campus News block editing form automatically pulls existing taxonomy terms for category, audience, and unit from the CU Boulder Today site to enable filtering (audience and unit are added by the [CU Boulder Article Syndication](https://github.com/CuBoulder/ucb_article_syndication)module installed on the Today site). Due to the way Drupal handles block types, we determined this wasn't feasable with a standard block type.

The Campus News block is a programatic block written in PHP &amp; JavaScript with some JavaScript trickery to make the asynchronous fetching of terms possible. When the editor saves these filters, the term ids are stored and used in subsequent API requests to provide the correct news articles to viewers.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.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.

### Community

Maintainers

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

---

Top Contributors

[![timurtripp](https://avatars.githubusercontent.com/u/22628823?v=4)](https://github.com/timurtripp "timurtripp (56 commits)")[![patrickbrown-io](https://avatars.githubusercontent.com/u/85851903?v=4)](https://github.com/patrickbrown-io "patrickbrown-io (25 commits)")[![jcsparks](https://avatars.githubusercontent.com/u/12704433?v=4)](https://github.com/jcsparks "jcsparks (6 commits)")[![AlanBCole](https://avatars.githubusercontent.com/u/23508839?v=4)](https://github.com/AlanBCole "AlanBCole (1 commits)")[![jnicholCU](https://avatars.githubusercontent.com/u/94021017?v=4)](https://github.com/jnicholCU "jnicholCU (1 commits)")[![web-flow](https://avatars.githubusercontent.com/u/19864447?v=4)](https://github.com/web-flow "web-flow (1 commits)")

### Embed Badge

![Health badge](/badges/cu-boulder-ucb-campus-news/health.svg)

```
[![Health](https://phpackages.com/badges/cu-boulder-ucb-campus-news/health.svg)](https://phpackages.com/packages/cu-boulder-ucb-campus-news)
```

PHPackages © 2026

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