Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Beauty of Laravel's Notification System

The Beauty of Laravel's Notification System

Every modern web application has some kind of notifications. This could be an email that informs the user about a new product, a notice on a dashboard that says a friendship request was accepted, a message on Slack that tells you about a successful build and so on.

Laravel has a built-in notification system that makes all these tasks as simple as it can get. Let me show you how it works, how it helped me to create my first Laravel package and what the community has to offer to make notifications even more powerful. This is a practical approach to this topic, and live coding will be included.

14d39e65f615fd6dcb9dd44ea7f7995b?s=128

Christoph Rumpel

June 10, 2018
Tweet

Transcript

  1. The Beauty of Laravel's Notification System And How It Helped

    Me to Create My First Laravel Package
  2. ABOUT ME

  3. CHRISTOPH RUMPEL Web Developer

  4. CHRISTOPH RUMPEL Web Developer PHP / Laravel Chatbots Talks @christophrumpel

    christoph-rumpel.com
  5. None
  6. Finally a Starting Point for Your PHP Chatbot https://buildchatbotswithphp.com/

  7. NOTIFICATIONS

  8. NOTIFICATIONS SHOULD BE SHORT, INFORMATIONAL MESSAGES THAT NOTIFY USERS OF

    SOMETHING THAT OCCURRED IN YOUR APPLICATION. “ „ TAYLOR OTWELL
  9. None
  10. None
  11. None
  12. LARAVEL NOTIFICATIONS

  13. DEMO #1

  14. Mail SMS (Nexmo) Slack Database SUPPORTED CHANNELS

  15. LARAVEL NOTIFICATION CHANNELS

  16. None
  17. THE TEAM Marcel Mohamed Freek

  18. Facebook Evernote Telegram Trello SUPPORTED CHANNELS Wunderlist Todoist Twitter ...

  19. Facebook Evernote Telegram Trello SUPPORTED CHANNELS Wunderlist Todoist Twitter ...

  20. None
  21. DEMO #2

  22. Great community Skeleton Repo Similar packages PERFECT AS MY FIRST

    PACKAGE
  23. THERE IS MORE

  24. QUEUABLE INTERFACE

  25. DELAY NOTIFICATIONS

  26. ON-DEMAND NOTIFICATION

  27. CUSTOM CHANNEL

  28. TESTING

  29. CONCLUSION

  30. Custom ones Lots of channels Easy but flexible Lots of

    use-cases
  31. Laravel Notifications Documentation Laravel Notification Channels Diving Laravel - Notifications

    RESOURCES
  32. https://joind.in/talk/8ffe1 FEEDBACK - JOIND.IN

  33. @christophrumpel THANKS