How shivamiri/youtube-linktree-php works
YouTube Linktree PHP serves a public creator profile and video-link page, managed through an authenticated admin panel. Visitors see channel details and active videos; administrators sign in to manage video links, reorder or hide them, update channel settings, and change credentials. The README documents automatic YouTube title and logo fetching, manual logo upload or URL fallback, and optional analytics. The graph reflects sampled entry points and helpers; some integrations are documented but their complete implementations were not sampled.
Main entry points: setting.php Channel and Security Settings · index.php Profile and Videos · admin/index.php Video Management · database.sql MySQL Data
Components 15
Public Link Page
- Profile and Videos
index.php - Public Layout
common/header.php - Public Footer
common/bottom.php
Admin Panel
- Admin Login
admin/login.php - Video Management
admin/index.php - Channel and Security Settings
admin/setting.php - Admin Layout
admin/common/header.php - Admin Footer
admin/common/bottom.php
Shared Runtime
- Session and Helpers
config.sample.php
Persistent State
- Uploaded Images
upload/.htaccess - MySQL Data
database.sql
Other components
- Visitor
- Administrator
- YouTube
- Google Analytics
Connections 26
- Visitor → Profile and Videos: opens page
README.md - Profile and Videos → MySQL Data: reads active videos
index.php - Profile and Videos → MySQL Data: reads profile
- Profile and Videos → Public Layout: includes layout
index.php - Profile and Videos → Public Footer: includes footer
index.php - Profile and Videos → YouTube: links videos
index.php - Public Layout → Google Analytics: loads optionally
common/header.php - Administrator → Admin Login: signs in
README.md - Admin Login → MySQL Data: checks credentials
admin/login.php - Admin Login → Session and Helpers: uses session helpers
admin/login.php - Admin Login → Admin Layout: includes layout
admin/login.php - Admin Login → Admin Footer: includes footer
admin/login.php - Administrator → Video Management: manages links
README.md - Video Management → MySQL Data: manages video rows
admin/index.php - Video Management → YouTube: fetches titles
README.md - Video Management → Session and Helpers: uses session helpers
admin/index.php - Video Management → Admin Layout: includes layout
admin/index.php - Video Management → Admin Footer: includes footer
admin/index.php - Administrator → Channel and Security Settings: updates settings
README.md - Channel and Security Settings → MySQL Data: updates credentials and profile
admin/setting.php - Channel and Security Settings → Session and Helpers: uses settings and upload helpers
admin/setting.php - Channel and Security Settings → Uploaded Images: stores logo
README.md - Channel and Security Settings → YouTube: fetches channel logo
README.md - Channel and Security Settings → Admin Layout: includes layout
admin/setting.php - Channel and Security Settings → Admin Footer: includes footer
admin/setting.php - Session and Helpers → MySQL Data: connects and reads settings
config.sample.php