romanlazko / telegram
Telegram for Laravel
1.0.37
2024-01-28 18:47 UTC
Requires
- php: ^8.1
This package is auto-updated.
Last update: 2024-05-28 19:30:02 UTC
README
Installation
- Run the command:
composer require romanlazko/telegram
- Add the trait
Romanlazko\Telegram\Traits\HasBot
to theUser
model - Add
<x-telegram::nav-links/>
to thenavigation.blade.php
file - Add
<x-telegram::responsive-nav-links/>
to thenavigation.blade.php
file - Add
'telegram' => \Romanlazko\Telegram\Http\Middleware\Telegram::class
to the Kernel,