| Package Data | |
|---|---|
| Maintainer Username: | robkedzior |
| Maintainer Contact: | piotr@rocksoft.pl (RockSoft Development) |
| Package Create Date: | 2017-03-15 |
| Package Last Update: | 2017-04-03 |
| Language: | JavaScript |
| License: | Unknown |
| Last Refreshed: | 2025-12-12 03:00:53 |
| Package Statistics | |
|---|---|
| Total Downloads: | 48 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 3 |
| Total Open Issues: | 0 |
Admin Panel Integrater with Telegram Communicator
Lines to put in your config/app.php
Providers:
Telegramapp\Telegram\TelegramServiceProvider::class, Telegramapp\Telegram\AdminPanel\Providers\AdminLTETemplateServiceProvider::class, Cartalyst\Sentinel\Laravel\SentinelServiceProvider::class,
Aliases:
'Telegram' => Telegramapp\Telegram\Laravel\Facades\Telegram::class, 'AdminLTE' => Telegramapp\Telegram\AdminPanel\Facades\AdminLTE::class, 'Activation' => Cartalyst\Sentinel\Laravel\Facades\Activation::class, 'Reminder' => Cartalyst\Sentinel\Laravel\Facades\Reminder::class, 'Sentinel' => Cartalyst\Sentinel\Laravel\Facades\Sentinel::class,
Now do 'php artisan vendor:publish --force'
We are using the "--force" attribute, because we are overriding app.js file to use AdminLTE
Now put these classes into you 'App\Http\Kernel.php' under $routeMiddleware:
'admin' => \App\Http\Middleware\AdminMiddleware::class, 'teacher' => \App\Http\Middleware\TeacherMiddleware::class, 'student' => \App\Http\Middleware\StudentsMiddleware::class,