All Projects β†’ alihesari β†’ Laravel Social Auto Posting

alihesari / Laravel Social Auto Posting

Licence: mit
🌈Laravel social auto posting

Projects that are alternatives of or similar to Laravel Social Auto Posting

Telegram Bot Sdk
πŸ€– Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+622.88%)
Mutual labels:  telegram-bot-api, telegram-bot, laravel, telegram
Sharer.js
πŸ”› πŸ”– Create your own social share buttons. No jquery.
Stars: ✭ 1,624 (+430.72%)
Mutual labels:  telegram, twitter, facebook, social-network
Zanzara
Asynchronous PHP Telegram Bot Framework built on top of ReactPHP
Stars: ✭ 107 (-65.03%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Bot Api Base
Clear and simple Telegram bot API
Stars: ✭ 122 (-60.13%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Telegram.bot
.NET Client for Telegram Bot API
Stars: ✭ 1,964 (+541.83%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
aboutmeinfo-telegram-bot
ℹ️ About Me Info Bot: Share your social media and links on Telegram
Stars: ✭ 20 (-93.46%)
Mutual labels:  facebook, telegram, telegram-bot
Integram
Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots
Stars: ✭ 1,365 (+346.08%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
checkmk-telegram-notify
Get alerted by Check_MK via Telegram bash script
Stars: ✭ 28 (-90.85%)
Mutual labels:  telegram, telegram-bot, telegram-bot-api
Telebot
The easy way to write Telegram bots in Node.js
Stars: ✭ 1,096 (+258.17%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (-46.08%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Rastreiobot
Telegram Bot @RastreioBot
Stars: ✭ 196 (-35.95%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Telebot.nim
Async client for Telegram Bot API in pure Nim [Bot API 5.1]
Stars: ✭ 93 (-69.61%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Libtelegram
Fast, efficient, header-only C++ Telegram bot API library using polling or FastCGI
Stars: ✭ 88 (-71.24%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Vk To Telegram Bot
Bot for auto-reposting posts from VK to Telegram channel
Stars: ✭ 103 (-66.34%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Telegram Spring Boot Starter
Telegram Bot API Spring Boot Starter
Stars: ✭ 79 (-74.18%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Botserver
http://telegram.org Bot API Webhooks Framework, for Rubyists
Stars: ✭ 125 (-59.15%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Telegrammer
Telegram Bot - written with Swift 5.2 / NIO, supports Linux, macOS
Stars: ✭ 248 (-18.95%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (-82.68%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
University News Notifier
πŸ“š University news notifier
Stars: ✭ 56 (-81.7%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram
Teledart
A Dart library interfacing with the latest Telegram Bot API.
Stars: ✭ 142 (-53.59%)
Mutual labels:  telegram-bot-api, telegram-bot, telegram

Build Status GitHub tag

🌈 Introduction

This is a Laravel package to post your content to social networks such:

πŸš€ Features:

  • πŸ’ Simple. Easy to use.
  • πŸ“ Send text message to Telegram channel
  • πŸ“· Send photo to Telegram channel
  • 🎡 Send audio to Telegram channel
  • πŸ“– Send document to Telegram channel
  • πŸ“Ί Send video to Telegram channel
  • πŸ”Š Send voice to Telegram channel
  • 🎴 Send a group of photos or videos as an album to Telegram channel
  • πŸ“ Send location to Telegram
  • πŸ“Œ Send venue to Telegram
  • πŸ“ž Send contact to Telegram
  • 🌐 Send message with url inline keyboard to Telegram channel
  • ✨ Send text and media to Twitter
  • πŸŽ‰ Send text and media to Facebook

πŸ”¨ Installation:

  1. Download and install package via composer:
composer require toolkito/larasap
  1. Run the command below to publish the package config file: config\larasap.php
php artisan vendor:publish --tag=larasap

πŸ”Œ Configuration:

Set the social network information in the config\larasap.php.

πŸ•Ή Usage:

First, add the use Toolkito\Larasap\SendTo; in your controller.

Next, send message to your Telegram channel or Twitter account.

🚩 Roadmap

  • Improve tests and coverage
  • Improve performance

🌱 Quick examples:

⭐ Telegram examples:

πŸ“ Send text message to Telegram:

SendTo::Telegram('Hello, I\'m testing Laravel social auto posting');

πŸ“· Send photo to Telegram:

SendTo::Telegram(
    'Hello, I\'m testing Laravel social auto posting', // Photo caption (Optional)
    [
        'type' => 'photo', // Message type (Required)
        'file' => 'https://i.imgur.com/j6bzKQc.jpg' // Image url (Required)
    ],
    '' // Inline keyboard (Optional)
);

🎡 Send audio to Telegram:

SendTo::Telegram(
 'Hello, I\'m testing Laravel social auto posting', // Audio caption (Optional)
 [
     'type' => 'audio', // Message type (Required)
     'file' => 'http://example.com/let-me-be-your-lover.mp3', // Audio url (Required) 
     'duration' => 208, // Duration of the audio in seconds (Optional)
     'performer' => 'Enrique Iglesias', // Performer (Optional)
     'title' => 'Let Me Be Your Lover' // Track name (Optional)
 ],
'' // Inline keyboard (Optional)
);

πŸ“– Send document to Telegram:

SendTo::Telegram(
   'Hello, I\'m testing Laravel social auto posting', // Document caption
   [
       'type' => 'document', // Message type (Required)
       'file' => 'http://example.com/larasap.pdf', // Document url (Required)
   ],
  '' // Inline keyboard (Optional)
);

πŸ“Ί Send video to Telegram:

SendTo::Telegram(
  'Hello, I\'m testing Laravel social auto posting', // Video caption (Optional)
  [
      'type' => 'video', // Message type (Required)
      'file' => 'http://example.com/let-me-be-your-lover.mp4', // Audio url (Required) 
      'duration' => 273, // Duration of sent video in seconds (Optional)
      'width' => 1920, // Video width (Optional)
      'height' => 1080 // Video height (Optional)
  ],
 '' // Inline keyboard (Optional)
);

πŸ”Š Send voice to Telegram:

SendTo::Telegram(
  'Hello, I\'m testing Laravel social auto posting', // Voice message caption (Optional)
  [
      'type' => 'voice', // Message type (Required)
      'file' => 'https://upload.wikimedia.org/wikipedia/en/9/9f/Sample_of_%22Another_Day_in_Paradise%22.ogg', // Audio url (Required) 
      'duration' => 28 // Duration of the voice message in seconds (Optional)
  ],
 '' // Inline keyboard (Optional)
);

🎴 Send media group to Telegram:

SendTo::Telegram(
   null,
   [
       'type' => 'media_group', // Message type (Required)
       'files' => // Array describing photos and videos to be sent, must include 2–10 items
       [
           [
               'type' => 'photo', // Media type (Required)
               'media' => 'https://i.imgur.com/j6bzKQc.jpg', // Media url (Required)
               'caption' => 'Laravel sccial auto posting' // Media caption (Optional)
           ],
           [
               'type' => 'video', // Media type (Required)
               'media' => 'http://example.com/let-me-be-your-lover.mp4', // Media url (Required)
               'caption' => 'Let me be your lover' // Media caption (Optional)
           ]
       ]
   ]
);

πŸ“ Send point on the map to Telegram:

SendTo::Telegram(
    null,
    [
        'type' => 'location', // Message type (Required)
        'latitude' => 36.1664345, // Latitude of the location (Required)
        'longitude' => 58.8209904, // Longitude of the location (Required)
        'live_period' => 86400, // Period in seconds for which the location will be updated (Optional)
        '' // Inline keyboard (Optional)
);

πŸ“Œ Send information about a venue to Telegram:

SendTo::Telegram(
    null,
    [
        'type' => 'venue', // Message type (Required)
        'latitude' => 36.166048, // Latitude of the location (Required)
        'longitude' => 58.822121, // Longitude of the location (Required)
        'title' => 'Khayyam', // Name of the venue (Required)
        'address' => 'Neyshabur, Razavi Khorasan Province, Iran', // Address of the venue (Required)
        'foursquare_id' => '', // Foursquare identifier of the venue (Optional)
        '' // Inline keyboard (Optional)
);

πŸ“ž Send phone contacts to Telegram:

SendTo::Telegram(
    null,
    [
        'type' => 'contact', // Message type (Required)
        'phone_number' => '+12025550149', // Contact's phone number (Required)
        'first_name' => 'John', // Contact's first name (Required)
        'last_name' => 'Doe', // Contact's last name (Optional)
        '' // Inline keyboard (Optional)
    ]
);

🌐 Send message with inline button to Telegram:

SendTo::Telegram(
    'Laravel social auto posting',
    '',
    [
        [
            [
                'text' => 'Github',
                'url' => 'https://github.com/toolkito/laravel-social-auto-posting'
            ]
        ],
        [
            [
                'text' => 'Download',
                'url' => 'https://github.com/toolkito/laravel-social-auto-posting/archive/master.zip'
            ],
        ]
    ]
);

Or

SendTo::Telegram(
    'Laravel social auto posting',
    '',
    [
        [
            [
                'text' => 'Github',
                'url' => 'https://github.com/toolkito/laravel-social-auto-posting'
            ],
            [
                'text' => 'Download',
                'url' => 'https://github.com/toolkito/laravel-social-auto-posting/archive/master.zip'
            ],
        ]
    ]
);

⭐ Twitter examples:

✨ Text tweet:

SendTo::Twitter('Hello, I\'m testing Laravel social auto posting');

✨ Tweet with media:

SendTo::Twitter(
    'Hello, I\'m testing Laravel social auto posting',
    [
        public_path('photo-1.jpg'),
        public_path('photo-2.jpg')
    ]
);

⭐ Facebook examples:

πŸŽ‰ Send link to Facebook page:

SendTo::Facebook(
    'link',
    [
        'link' => 'https://github.com/toolkito/laravel-social-auto-posting',
        'message' => 'Laravel social auto posting'
    ]
);

πŸŽ‰ Send photo to Facebook page:

SendTo::Facebook(
    'photo',
    [
        'photo' => public_path('img/1.jpg'),
        'message' => 'Laravel social auto posting'
    ]
);

πŸŽ‰ Send video to Facebook page:

SendTo::Facebook(
    'video',
    [
        'video' => public_path('upload/1.mp4'),
        'title' => 'Let Me Be Your Lover',
        'description' => 'Let Me Be Your Lover - Enrique Iglesias'
    ]
);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].