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.

Christoph Rumpel

June 10, 2018
Tweet

More Decks by Christoph Rumpel

Other Decks in Technology

Transcript

  1. The Beauty of Laravel's
    Notification System
    And How It Helped Me to Create
    My First Laravel Package

    View full-size slide

  2. CHRISTOPH RUMPEL
    Web Developer

    View full-size slide

  3. CHRISTOPH RUMPEL
    Web Developer
    PHP / Laravel
    Chatbots
    Talks
    @christophrumpel
    christoph-rumpel.com

    View full-size slide

  4. Finally a Starting Point
    for Your PHP Chatbot
    https://buildchatbotswithphp.com/

    View full-size slide

  5. NOTIFICATIONS

    View full-size slide

  6. NOTIFICATIONS SHOULD BE
    SHORT, INFORMATIONAL
    MESSAGES THAT NOTIFY USERS
    OF SOMETHING THAT OCCURRED
    IN YOUR APPLICATION.


    TAYLOR OTWELL

    View full-size slide

  7. LARAVEL NOTIFICATIONS

    View full-size slide

  8. Mail
    SMS (Nexmo)
    Slack
    Database
    SUPPORTED CHANNELS

    View full-size slide

  9. LARAVEL NOTIFICATION
    CHANNELS

    View full-size slide

  10. THE TEAM
    Marcel Mohamed Freek

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  13. Great community
    Skeleton Repo
    Similar packages
    PERFECT AS MY FIRST PACKAGE

    View full-size slide

  14. THERE IS MORE

    View full-size slide

  15. QUEUABLE INTERFACE

    View full-size slide

  16. DELAY NOTIFICATIONS

    View full-size slide

  17. ON-DEMAND NOTIFICATION

    View full-size slide

  18. CUSTOM CHANNEL

    View full-size slide

  19. Custom ones
    Lots of channels
    Easy but flexible
    Lots of use-cases

    View full-size slide

  20. Laravel Notifications Documentation
    Laravel Notification Channels
    Diving Laravel - Notifications
    RESOURCES

    View full-size slide

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

    View full-size slide

  22. @christophrumpel
    THANKS

    View full-size slide