telegramapp/telegram

There is no license information available for the latest version (v0.1.2.9) of this package.

Telegram Application for Laravel which allows to send messages to created groups and individual users.

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 3

Open Issues: 0

Language:JavaScript

v0.1.2.9 2017-04-03 09:36 UTC

README

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,