A standardized enumeration of supported social media platforms for CRM integrations. Use this to ensure type-safe handling of social network identifiers across the application.
// Source: https://github.com/liberusoftware/crm-laravel | License: MIT | Copyright 2026 Liberu Software
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
namespace App\Enums;
enum SocialPlatform: string
{
case Facebook = 'facebook';
case Instagram = 'instagram';
case LinkedIn = 'linkedin';
case Twitter = 'twitter';
case YouTube = 'youtube';
case TikTok = 'tiktok';
case Pinterest = 'pinterest';
case Reddit = 'reddit';
case Bluesky = 'bluesky';
case Threads = 'threads';
case GoogleBusiness = 'googlebusiness';
case Telegram = 'telegram';
public function label(): string
{
return match ($this) {
self::Facebook => 'Facebook',
self::Instagram => 'Instagram',
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key