PHPackages                             apsc-web/ubc\_apsc\_embedded\_social\_media\_icons - 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. [Templating &amp; Views](/categories/templating)
4. /
5. apsc-web/ubc\_apsc\_embedded\_social\_media\_icons

ActiveDrupal-module[Templating &amp; Views](/categories/templating)

apsc-web/ubc\_apsc\_embedded\_social\_media\_icons
==================================================

Modifies link field entries in Spotlight &amp; Rising Star webforms and turn them into an icon via Twig templates.

1.2.0(6mo ago)22.4k↓50%GPL-2.0-or-later

Since Jul 6Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/UBC-APSC/ubc_apsc_embedded_social_media_icons)[ Packagist](https://packagist.org/packages/apsc-web/ubc_apsc_embedded_social_media_icons)[ RSS](/packages/apsc-web-ubc-apsc-embedded-social-media-icons/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

UBC APSC Embedded Social Media Icons
====================================

[](#ubc-apsc-embedded-social-media-icons)

Purpose
-------

[](#purpose)

This Drupal module modifies social media link field entries in the UBC APSC Spotlight &amp; Rising Star webforms and provide the necessary information to turn them into icons via Twig templates.

For the Rising Stars webform, a user can enter either links or account handles (provided the platform supports handles).
For the Spotlight form, a user can enter any amount of links (a default icon is implemented in case of an unknown platform).

Demonstration
-------------

[](#demonstration)

The below two social media links/handles are converted to icons of their respective platforms when the form is submitted. [![image](https://private-user-images.githubusercontent.com/97806653/251574952-1f225337-43aa-4862-bbca-fa9d08e874a0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ0MzE5NzYsIm5iZiI6MTc3NDQ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lPWJjZTY1Y2U0NWM1YWQ1ZDk4NTdlMWU5Y2QwMzFlMmY1ZTFlMmRmYTg3YWE3YjBjMWM4YWMwYWE0YTlmMWY3OWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4P_tdTlAHS0vvUxdzd4-f9fxytPT9RzliJ9EIbIFZeQ)

[![image](https://private-user-images.githubusercontent.com/97806653/251575536-ef8b2e93-d755-4620-9a6d-87844fd60668.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ0MzE5NzYsIm5iZiI6MTc3NDQzMTY3NiwicGF0aCI6Ii85NzgwNjY1My8yNTE1NzU1MzYtZWY4YjJlOTMtZDc1NS00NjIwLTlhNmQtODc4NDRmZDYwNjY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI1VDA5NDExNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlZTE2YjM4Y2RiZGUyZGI0NDE1YTNjNGE2OWJmOTkwYTM0ZGE1YjEzMzlhZmQwYTRhYWY2OWNlODY0ZjYwMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Hb40t97MP7wRW-oKiJU5Nbxr-JCSHlIAkTAy26oyiTM)](https://private-user-images.githubusercontent.com/97806653/251575536-ef8b2e93-d755-4620-9a6d-87844fd60668.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ0MzE5NzYsIm5iZiI6MTc3NDQzMTY3NiwicGF0aCI6Ii85NzgwNjY1My8yNTE1NzU1MzYtZWY4YjJlOTMtZDc1NS00NjIwLTlhNmQtODc4NDRmZDYwNjY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI1VDA5NDExNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlZTE2YjM4Y2RiZGUyZGI0NDE1YTNjNGE2OWJmOTkwYTM0ZGE1YjEzMzlhZmQwYTRhYWY2OWNlODY0ZjYwMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Hb40t97MP7wRW-oKiJU5Nbxr-JCSHlIAkTAy26oyiTM)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance66

Regular maintenance activity

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~416 days

Total

3

Last Release

208d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31107928?v=4)[apsc-web](/maintainers/apsc-web)[@apsc-web](https://github.com/apsc-web)

---

Top Contributors

[![apsc-web](https://avatars.githubusercontent.com/u/31107928?v=4)](https://github.com/apsc-web "apsc-web (7 commits)")[![lu-ben](https://avatars.githubusercontent.com/u/97806653?v=4)](https://github.com/lu-ben "lu-ben (3 commits)")

### Embed Badge

![Health badge](/badges/apsc-web-ubc-apsc-embedded-social-media-icons/health.svg)

```
[![Health](https://phpackages.com/badges/apsc-web-ubc-apsc-embedded-social-media-icons/health.svg)](https://phpackages.com/packages/apsc-web-ubc-apsc-embedded-social-media-icons)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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