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

The beauty of Laravel's notification system and how it helped me to create my first Laravel package

The beauty of Laravel's notification system and how it helped me to create my first Laravel package

Laravel 5.3 introduced a brand new Notification System. This talks explains how it works and where they are useful.

Christoph Rumpel

May 18, 2017
Tweet

More Decks by Christoph Rumpel

Other Decks in Technology

Transcript

  1. Hello Artisans :)

    View Slide

  2. THE BEAUTY OF LARAVEL'S NOTIFICATION SYSTEM
    AND HOW IT HELPED ME TO CREATE MY FIRST
    LARAVEL PACKAGE

    View Slide

  3. Christoph Rumpel
    Developer
    @christophrumpel
    christoph-rumpel.com

    View Slide

  4. View Slide

  5. Notifications should be...
    "...short, informational messages that notify
    users of something that occurred in your
    application."

    View Slide

  6. Examples
    - Invoice was paid
    - Friendship request accepted
    - Todo completed

    View Slide

  7. LIVE DEMO

    View Slide

  8. Laravel Channels
    - Mail
    - Database
    - Slack
    - Nexmo

    View Slide

  9. LARAVEL NOTIFICATION CHANNELS

    View Slide

  10. View Slide

  11. The Team

    View Slide

  12. Supported Channels
    - Twitter
    - Facebook
    - Telegram
    - Evernote
    - Todoist
    - Wunderlist
    - WebPush
    - OneSignal
    - Pusher
    ...

    View Slide

  13. ANOTHER LIVE DEMO

    View Slide

  14. Perfect to your first package
    - Great community
    - Skeleton Repo
    - Lots of similar coded packages

    View Slide

  15. Custom Easy but flexible
    Lots of use cases
    Lots of channels

    View Slide

  16. THANKS ;)

    View Slide

  17. QUESTIONS?
    @christophrumpel

    View Slide

  18. THANKS AGAIN ;)
    @christophrumpel

    View Slide

  19. https://laravel.com/docs/master/notifications
    http://laravel-notification-channels.com/
    RESOURCES

    View Slide