PHPackages                             cable8mm/laravel-sens - 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. cable8mm/laravel-sens

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

cable8mm/laravel-sens
=====================

NCloud SENS notification channels for Lovely Laravel.

v2.0.0(1mo ago)013MITPHPPHP ^8.2CI passing

Since May 9Pushed 1mo agoCompare

[ Source](https://github.com/cable8mm/laravel-sens)[ Packagist](https://packagist.org/packages/cable8mm/laravel-sens)[ Docs](https://open.kakao.com/o/g3dWlf0)[ RSS](/packages/cable8mm-laravel-sens/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

Laravel NCLOUD SENS Notification Channel
========================================

[](#laravel-ncloud-sens-notification-channel)

[![Latest Stable Version](https://camo.githubusercontent.com/7a2315c6a59c5dbbb50ef25ea8ac26168fc9aafe5682255b04f0fa77359f111e/68747470733a2f2f706f7365722e707567782e6f72672f6361626c65386d6d2f6c61726176656c2d73656e732f76)](https://packagist.org/packages/cable8mm/laravel-sens)[![Total Downloads](https://camo.githubusercontent.com/6740f0187bc0d59768fb321f8b2c1a5588a6b45612cfdeb976a79f0600bcfc1c/68747470733a2f2f706f7365722e707567782e6f72672f6361626c65386d6d2f6c61726176656c2d73656e732f646f776e6c6f616473)](https://packagist.org/packages/cable8mm/laravel-sens)[![License](https://camo.githubusercontent.com/6d4e4a25292bd4541dbe6652c32e3882868a0dc1162effe1bdbcecda8eea1e3c/68747470733a2f2f706f7365722e707567782e6f72672f6361626c65386d6d2f6c61726176656c2d73656e732f6c6963656e7365)](https://packagist.org/packages/cable8mm/laravel-sens)[![Tests](https://github.com/cable8mm/laravel-sens/actions/workflows/tests.yml/badge.svg)](https://github.com/cable8mm/laravel-sens/actions/workflows/tests.yml)

Laravel notification channels for [NAVER Cloud Platform SENS](https://www.ncloud.com/product/applicationService/sens).

This package is a maintained fork of [`seungmun/laravel-sens`](https://github.com/seungmun/laravel-sens). The original package provided the foundation for sending SMS, MMS, and Kakao AlimTalk notifications through NCLOUD SENS. This fork keeps the package usable with current PHP and Laravel versions while preserving the existing public API as much as possible.

Features
--------

[](#features)

- SMS and LMS notifications
- MMS notifications with file attachment support
- Kakao AlimTalk notifications
- Laravel notification channel integration
- Auto-discovery service provider

Requirements
------------

[](#requirements)

- PHP 8.2 or higher for Laravel 10, 11, and 12
- PHP 8.3 or higher for Laravel 13
- Laravel 10, 11, 12, or 13
- NCLOUD SENS credentials and service IDs

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

[](#installation)

Install the package with Composer:

```
composer require cable8mm/laravel-sens
```

Laravel will automatically discover the service provider.

Publish the configuration file when you want to customize it:

```
php artisan vendor:publish --provider="Seungmun\Sens\SensServiceProvider" --tag="config"
```

Configuration
-------------

[](#configuration)

Add your NCLOUD SENS credentials to `.env`:

```
SENS_ACCESS_KEY=your-sens-access-key
SENS_SECRET_KEY=your-sens-secret-key
SENS_SERVICE_ID=your-sms-service-id
SENS_ALIMTALK_SERVICE_ID=your-alimtalk-service-id
SENS_PlUS_FRIEND_ID=@your-plus-friend-id
```

The `SENS_PlUS_FRIEND_ID` key keeps the spelling used by the original package configuration.

If you publish the configuration, it will be available at `config/laravel-sens.php`.

Usage
-----

[](#usage)

Use this package through Laravel's built-in notification system.

### Sending SMS

[](#sending-sms)

Create a notification:

```
php artisan make:notification SendPurchaseReceipt
```

Return `SmsChannel::class` from `via()` and build an `SmsMessage` from `toSms()`:

```
