PHPackages                             zaengle/laravel-security-notifications - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. zaengle/laravel-security-notifications

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

zaengle/laravel-security-notifications
======================================

A package to notify users of security changes

v2.1.0(1y ago)46.3k[2 PRs](https://github.com/zaengle/laravel-security-notifications/pulls)MITPHPPHP ^8.2CI passing

Since Apr 10Pushed 1w ago3 watchersCompare

[ Source](https://github.com/zaengle/laravel-security-notifications)[ Packagist](https://packagist.org/packages/zaengle/laravel-security-notifications)[ RSS](/packages/zaengle-laravel-security-notifications/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (19)Used By (0)

[![Tests](https://github.com/zaengle/laravel-security-notifications/workflows/Tests/badge.svg?branch=main)](https://github.com/zaengle/laravel-security-notifications/workflows/Tests/badge.svg?branch=main)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

[![background hero](hero-image.jpg)](hero-image.jpg)

Laravel Security Notifications
==============================

[](#laravel-security-notifications)

This package adds an out-of-the-box, fully customizable solution for sending security notifications to users when their account is updated or accessed from a new device.

Installation
------------

[](#installation)

`composer require zaengle/laravel-security-notifications`

Testing
-------

[](#testing)

`./vendor/bin/pest`

Setup
-----

[](#setup)

### Publish Configuration

[](#publish-configuration)

`php artisan vendor:publish --provider="Zaengle\LaravelSecurityNotifications\Providers\PackageServiceProvider" --tag="config"`

### Use Trait

[](#use-trait)

In order to send security notifications, you'll need to add the `Securable` trait to your user model. Additionally, you'll want to make sure you are using Laravel's `Notifiable` trait.

```
