Skip to content

D2MY/incidents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

config/app.php

Π’ массив providers Π² ΠΏΡ€ΠΎΠ²Π°ΠΉΠ΄Π΅Ρ€Ρ‹ ΠΏΠ°ΠΊΠ΅Ρ‚ΠΎΠ² Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ:

  D2my\Incidents\Providers\IncidentsServiceProvider::class,

ΠžΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Ρ‚ΡŒ ΠΊΠΎΠ½Ρ„ΠΈΠ³

  php artisan vendor:publish --tag=incidents

config/incidents.php

Π’ массивС channels ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡƒ ΠΊΠ°Π½Π°Π»Ρƒ ΠΏΡ€ΠΈΠΏΠΈΡΠ°Ρ‚ΡŒ свой handler, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ ΠΎΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½ΠΎ Π΄ΠΎΠ»ΠΆΠ΅Π½ ΠΈΠΌΠΏΠ»Π΅ΠΌΠ΅Π½Ρ‚ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ D2my\Incidents\Contracts\IncidentHandler

  'blocker' => [
      'handler' => \App\Services\Handler::class
  ],

Запуск:

  D2my\Incidents\Facades\Incident::send('channel', 'message');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages