1. Go to this page and download the library: Download williamson/laragram library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
williamson / laragram example snippets
TG::sendMessage('User_name', 'Hi there your account has been set up! Thanks!');
// $tg is an instantiated TgCommands Object. Laravel will create this out of the IOC container for
// you if typehinted in constructor etc.
$tg->sendMessage('User_name', 'Hi there your account has been set up! Thanks!');