PHPackages                             thelia/yt-linker-module - 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. thelia/yt-linker-module

ActiveThelia-module

thelia/yt-linker-module
=======================

07PHP

Since Apr 17Pushed 8y ago4 watchersCompare

[ Source](https://github.com/thelia-modules/YTLinker)[ Packagist](https://packagist.org/packages/thelia/yt-linker-module)[ RSS](/packages/thelia-yt-linker-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

YT Linker
=========

[](#yt-linker)

Allows you to add, modify and store Youtube video IDs in a list to be used with a video player in your site.

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is YTLinker.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require your-vendor/yt-linker-module:~1.0

```

Usage
-----

[](#usage)

After installing the module and activating it in your admin panel, a new button will show up in the tool menu on the left sidebar (YTLinker), allowing you to access the list. Once on the list page, you can either add a new video ID by clicking the plus button positioned at the top right of the page or edit an existing one by clicking on its name or on the cog button on the left, then on the pen button. You can also delete an entry of the list by clicking on the cog button, then on the trash button.

When adding or editing an entry, you will be asked to enter a title (mandatory), link (mandatory) and a description (optional) for the video. The link should be a youtube video ID (the part between v= and and a potential &amp;). If you enter a valid youtube link, the module will automatically keep the video ID and delete the rest.

Example :

[https://www.youtube.com/watch?v=dQw4w9WgXcQ&amp;list=RDdQw4w9WgXcQ](https://www.youtube.com/watch?v=dQw4w9WgXcQ&list=RDdQw4w9WgXcQ)

Entering either one of these links would add "dQw4w9WgXcQ" to the entry instead of the whole link.

If you enter a non valid youtube link, the link part of the entry will then just be a hard copy of what you wrote.

Hook
----

[](#hook)

YTLinker has one hook linking the module panel and video ID list (/admin/tools/YTLinker) to a button in the tools menu on the left sidebar of the admin panel.

Loop
----

[](#loop)

Use this loop to provide you all selection you have.

\[ytlinker\_list\]

This loop returns the list of youtube link.

### Input arguments

[](#input-arguments)

ArgumentDescription**id**video id**title**video title**link**video link**description**video description**position**video position in the list### Output arguments

[](#output-arguments)

VariableDescription**ID**video id**TITLE**video title**LINK**video link**DESC**video description**POSITION**video position in the list### Exemple

[](#exemple)

```
    {loop name="ytlinker" type="ytlinker_list"}
        id          : {$ID}
        title       : {$TITLE}
        link        : {$LINK}
        description : {$DESC}
        position    : {$SELECTION_POSITION}
    {/loop}

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![Lurivar](https://avatars.githubusercontent.com/u/33634597?v=4)](https://github.com/Lurivar "Lurivar (5 commits)")

### Embed Badge

![Health badge](/badges/thelia-yt-linker-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-yt-linker-module/health.svg)](https://phpackages.com/packages/thelia-yt-linker-module)
```

PHPackages © 2026

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