Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Melipayamak Sms Laravel Package

ems-spot/laravel-melipayamak-sms

Unofficial Laravel 5 notification channel for Melipayamak SMS. Configure credentials via .env, publish the package config, then send messages with SMS->text()->to()->sendText() and return EmsSpot\Melipayamak\SMS in via().

View on GitHub
Deep Wiki
Context7

laravel-melipayamak-sms

An unofficial integration of the melipayamak sms library for laravel 5.

Code Example

public function toSms($notifiable)
{
    return (new SMS)
        ->text(__('sms.activation_code', ['code' => $this->activation_code]))
        ->to($notifiable->phone)
        ->sendText();
}

public function via($notifiable)
{
    return ['EmsSpot\Melipayamak\SMS'];
}

Installation

in .env:

MELIPAYAMAK_USERNAME=
MELIPAYAMAK_PASSWORD=
MELIPAYAMAK_FROM=
MELIPAYAMAK_DEBUG=false
MELIPAYAMAK_DEBUG_RECIPIENT=

in command line:
    
php artisan vendor:publish --provider="EmsSpot\Melipayamak\MelipayamakServiceProvider"

or if it doesnt work use 

php artisan vendor:publish --force

License

WTF

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package