PHPackages                             huement/statamic-ytlistr - 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. huement/statamic-ytlistr

ActiveStatamic-addon

huement/statamic-ytlistr
========================

Statamic addon for syncing YouTube videos to a local database

v1.0.3(5mo ago)013MITPHPPHP ^8.1

Since Dec 4Pushed 5mo agoCompare

[ Source](https://github.com/huement/statamic-ytlistr)[ Packagist](https://packagist.org/packages/huement/statamic-ytlistr)[ RSS](/packages/huement-statamic-ytlistr/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

Statamic YouTube Listr
======================

[](#statamic-youtube-listr)

A Statamic addon that syncs YouTube videos from a channel to your local database and provides Antlers tags to display them.

[![Control Panel Interface](preview.png)](preview.png)*Manage your YouTube videos directly from the Statamic Control Panel*

Features
--------

[](#features)

- 🎥 Sync YouTube videos from any channel
- 📊 View video stats (views, likes, duration)
- 🏷️ Easy-to-use Antlers tags for frontend display
- 🔄 Manual or automated syncing
- 💾 Local database storage for fast access
- 🎨 Clean Control Panel interface

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

[](#installation)

You can install the package via Composer:

```
composer require huement/statamic-ytlistr
```

The package will automatically register itself with Statamic.

### Requirements

[](#requirements)

- PHP ^8.1
- Statamic CMS ^5.0

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

[](#configuration)

Add these variables to your `.env` file:

```
YOUTUBE_API_KEY=your_youtube_api_key
YOUTUBE_CHANNEL_ID=your_youtube_channel_id
YOUTUBE_MAX_RESULTS=50
```

Usage
-----

[](#usage)

### Sync Videos

[](#sync-videos)

Via Control Panel:

- Navigate to Tools &gt; YouTube Listr
- Click "Sync Videos from YouTube"

Via Command Line:

```
php artisan ytlistr:fetch
php artisan ytlistr:fetch --limit=100
```

### Antlers Tags

[](#antlers-tags)

[![Frontend Display Example](preview-frontend.png)](preview-frontend.png)*Display your YouTube videos beautifully on the frontend*

List all videos:

```
{{ yt_listr }}
    {{ title }}

    {{ description }}
    Watch on YouTube
{{ /yt_listr }}
```

Limit results:

```
{{ yt_listr limit="5" }}
    {{ title }}
{{ /yt_listr }}
```

Get latest video:

```
{{ yt_listr:latest }}
    {{ title }}

{{ /yt_listr:latest }}
```

Get video count:

```
Total videos: {{ yt_listr:count }}
```

Available Data
--------------

[](#available-data)

Each video provides:

- `id` - Database ID
- `video_id` - YouTube video ID
- `title` - Video title
- `description` - Video description
- `thumbnail_url` - Thumbnail image URL
- `published_at` - Publication date
- `duration` - Duration in seconds
- `duration_formatted` - Human-readable duration (MM:SS)
- `view_count` - Number of views
- `like_count` - Number of likes
- `comment_count` - Number of comments
- `channel_id` - YouTube channel ID
- `channel_title` - Channel name
- `youtube_url` - Full YouTube URL
- `embed_url` - YouTube embed URL

Credits
-------

[](#credits)

Created and sponsored by [Huement.com](https://huement.com) - A software studio creating awesome content and exceptional web experiences.

Links
-----

[](#links)

- [GitHub Repository](https://github.com/huement/statamic-ytlistr)
- [Packagist](https://packagist.org/packages/huement/statamic-ytlistr)
- [Huement.com](https://huement.com)

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance77

Regular maintenance activity

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~0 days

Total

4

Last Release

156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3952d80c290d2bf2fe2308165a80d7ef4d36477490f184cca3370680335d8729?d=identicon)[johnnyfortune](/maintainers/johnnyfortune)

---

Top Contributors

[![johnny13](https://avatars.githubusercontent.com/u/598517?v=4)](https://github.com/johnny13 "johnny13 (5 commits)")[![huement](https://avatars.githubusercontent.com/u/40760855?v=4)](https://github.com/huement "huement (1 commits)")

---

Tags

laravelstatamicstatamic-addonyoutube-api

### Embed Badge

![Health badge](/badges/huement-statamic-ytlistr/health.svg)

```
[![Health](https://phpackages.com/badges/huement-statamic-ytlistr/health.svg)](https://phpackages.com/packages/huement-statamic-ytlistr)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

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