gpressutto5 / laravel-slack

:hash: Slack notification for Laravel as it should be. Easy, fast, simple and highly testable.
MIT License
289 stars 41 forks source link

Add Lumen support #9

Closed danlake closed 5 years ago

danlake commented 5 years ago

I found that I could get this to work within Lumen (5.7.*) by requiring Ramsey's UUID package and ensuring that the constructor of the Slack class utilises the Notification facade

This has not been regression tested in Laravel yet.

codecov[bot] commented 5 years ago

Codecov Report

Merging #9 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             master     #9   +/-   ##
=======================================
  Coverage       100%   100%           
  Complexity       31     31           
=======================================
  Files             5      5           
  Lines            72     72           
=======================================
  Hits             72     72
Impacted Files Coverage Δ Complexity Δ
src/Slack.php 100% <100%> (ø) 15 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9a990ac...18056c0. Read the comment docs.

gpressutto5 commented 5 years ago

Closes #6