telegramapp / telegram
Telegram Application for Laravel which allows to send messages to created groups and individual users.
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 3
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.6.4
- acacha/adminlte-laravel-installer: ~3.0
- cartalyst/sentinel: 2.0.*
- creativeorange/gravatar: ~1.0
- guzzlehttp/guzzle: ~6.0
- illuminate/support: ~5.0
- sofa/eloquence: ~5.3
- twbs/bootstrap: *
Requires (Dev)
- phpspec/prophecy: ^1.5
- phpunit/phpunit: ^4.8 || ^5.0
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,