dcat-admin 快捷短信通知配置

Overview

Dcat Admin Extension

演示地址

demo: http://dcat.weiwait.cn (admin:admin)

依赖扩展

  1. overtrue/easy-sms

通过 composer 安装扩展

  composer require weiwait/dcat-easy

通过选项卡使用

    public function index(Content $content): Content
    {
        $tab = Tab::make();
        $tab->add('短信', new \Weiwait\DcatEasySms\Forms\SmsConfig());

        return $content->title('配置')
            ->body($tab->withCard());
    }

通知

class SomeNotification extends Notification
{
    public function via()
    {
        return [\Weiwait\DcatEasySms\Channels\EasySmsChannel::class];
    }
    
    public function toEasySms($notifiable)
    {
        return [
            'to' => $notifiable,
            'template' => 'SMS_000001',
            'content' => '免模板消息内容',
            'data' => [
                'code' => '模板消息变量${code}'
            ]           
        ]
    }
}

可通知模型

class User extends Model
{
    use Notifiable;
    
    public function routeNotificationForEasySms($notifiable)
    {
        return $this->phone;
    }
}

class SomeNotification extends Notification
{
    public function via()
    {
        return [\Weiwait\DcatEasySms\Channels\EasySmsChannel::class];
    }
    
    public function toEasySms($notifiable)
    {
        return [
            'template' => 'SMS_000001',
            'data' => [
                'code' => '模板消息变量${code}'
            ]           
        ]
    }
}

发送通知

Notification::send('15626326950', new SomeNotification());

(new User())->nofity(new SomeNotification());

示例图片

示例图片 示例图片

Donate

示例图片

Dcat-admin 扩展列表

  1. 单图裁剪
  2. 区划级联+坐标拾取
  3. smtp快速便捷配置
  4. sms channel 快速便捷配置
You might also like...
Dcat Admin SKU扩展增强版
Dcat Admin SKU扩展增强版

Dcat Admin SKU扩展增强版 首先感谢前人的肩膀:https://github.com/lty5240/dcat-easy-sku 以及前人的前人的肩膀:https://github.com/jade-kun/sku 因改动太大,故没有往前面两位大佬的仓库中PR。 如果感觉好用,还请给个S

Dcat Admin 视频/音频预览扩展

Dcat Admin 音视频预览扩展 安装 composer require abovesky/dcat-media-player 具体安装方法请参考官方文档 使用方法 // 数据表格中使用 $grid-column('video')-video(); $grid-column('audio

Dcat Admin 图片预览扩展

Dcat Admin 图片预览扩展 安装 composer require abovesky/dcat-lightbox 具体安装方法请参考官方文档 使用方法 // 数据表格中使用 $grid-column('images')-lightbox(); //设置服务器和宽高 $grid-co

Discover 是一个基于 Dcat-admin 开发的进销存系统
Discover 是一个基于 Dcat-admin 开发的进销存系统

Discover 项目文档 1. 基本介绍 1.0 项目介绍 Discover 是基于开发语言 PHP7.3,Laravel 框架开发。项目中采用的拓展如下: dcat/laravel-admin overtrue/laravel-pinyin propaganistas/laravel-phone

dcat-admin's extension that was build in one package by vue
dcat-admin's extension that was build in one package by vue

Dcat Admin Extension 此扩展为大合一扩展,以后使用vue3构建的组件都将合并在一起 演示地址 demo: http://dcat.weiwait.cn (admin:admin) 依赖扩展 freyo/flysystem-qcloud-cos-v5 overtrue/larave

Laravel Admin Dashboard, Admin Template with Frontend Template, for scalable Laravel projects. It is to save your time when You start with new scalable Laravel projects with many features Bootstrap, cooreui, infyom admin Generator, roles and  permissions, translatable models, spatie media and much more LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.

LaraAdmin 1.0 LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and

Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

⚙️ LittleLink Admin LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree. 📑 Features creating a link page w

Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree.

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel.

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.

For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.
For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.

Super Admin All Sites Menu Also available at https://wordpress.org/plugins/super-admin-all-sites-menu/ Use | Prerequisite | Install | Filters | Demo |

Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE
Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE

Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy).
Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy).

Admin One — Free Laravel Vue Bulma Dashboard Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy). Built

Arc admin comment preview - Simple Textpattern plugin that adds a comment preview to admin

arc_admin_comment_preview This is a Textpattern plugin for adding comment previews to the admin comment edit pages. Requirements Textpattern 4.0.8+ In

Tech-Admin is Laravel + Bootstrap Admin Panel With User Management And Access Control based on Roles and Permissions.
Tech-Admin is Laravel + Bootstrap Admin Panel With User Management And Access Control based on Roles and Permissions.

Tech-Admin | Laravel 8 + Bootstrap 4 Tech-Admin is Admin Panel With Preset of Roles, Permissions, ACL, User Management, Profile Management. Features M

Description: A simple plugin that sets the current admin page to always be at the top of the admin menu.

=== Sticky Admin Menu === Contributors: sc0ttkclark Donate link: https://www.scottkclark.com/ Tags: admin menu, sticky Requires at least: 4.4 Tested u

Unofficial Firebase Admin SDK for PHP

Firebase Admin PHP SDK Table of Contents Overview Installation Documentation Support License Overview Firebase provides the tools and infrastructure y

CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages
CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages

CRUDlex CRUDlex is an easy to use, well documented and tested CRUD generator for Symfony 4 and Silex 2. It is very useful to generate admin pages for

Releases(1.0.2)
Owner
null
Discover 是一个基于 Dcat-admin 开发的进销存系统

Discover 项目文档 1. 基本介绍 1.0 项目介绍 Discover 是基于开发语言 PHP7.3,Laravel 框架开发。项目中采用的拓展如下: dcat/laravel-admin overtrue/laravel-pinyin propaganistas/laravel-phone

yxx 322 Dec 20, 2022
Voyager - The Missing Laravel Admin

Voyager - The Missing Laravel Admin Made with ❤️ by The Control Group Website & Documentation: https://voyager.devdojo.com/ Video Tutorial Here: https

The Control Group 11.3k Dec 31, 2022
An online quiz system built on PHP, JS and HTML. It has inbuilt Timer support along with Admin Panel

Skill's Breaker An online quiz system built on PHP, JS and HTML. It has inbuilt Timer support along with Admin Panel #Added features: Added Timer supp

null 2 Jul 16, 2022
A very simple Blog with Admin Panel built using Laravel5.7 && VueJs2.5 - Quasar0.17

Q-Blog - A very simple Blog with Admin Panel built using [Laravel5.7, VueJs2.5, Quasar0.17]. - This is kind of implementation on different concepts in

Abdelaziz Sliem 132 Dec 23, 2022
MenuCard - Employees can login with already made admin accounts

MenuCard Symfony 5.4.2 application Employees can login with already made admin accounts. Employees can manages create new accounts for new employees.

Lajili Med Dhia 1 Jan 20, 2022
Hotel Management App using Laravel & Orchid for admin

Hotel Management System Installation Open a terminal session in the project's root. Install dependencies by running the command: composer install Run

null 1 Feb 8, 2022
School Management System Ver 1.0 with login and registration and admin panel

School Management System Ver 1.0 with login and registration and admin panel

JehanKandy 10 Jul 13, 2022
dcat admin login captcha. - dcat admin 登录验证码。

dcat-login-captcha 简体中文 | ENGLISH dact admin login captcha. - dcat admin 登录验证码。 环境要求 dcat-admin >= 2.0 安装 Composer 安装 $ composer require guanguans/dca

guanguans 29 Dec 5, 2022
Sliding captcha for dcat-admin auth / dcat-admin登陆 滑动验证插件 多平台支持

dcat-admin登陆 滑动验证插件 多平台支持 dcat-admin登陆 滑动验证插件 多平台支持 另有 laravel-admin版 Demo演示 演示站点(暂时无,目前地址为laravel-admin版的演示地址) 支持(按照字母顺序) 顶象 ✔️ 极验 ✔️ hCaptcha(和谷歌Rec

塵世不再 38 Dec 17, 2022
dcat laravel-admin extension for china distpicker

dcat-admin extension Distpicker是一个中国省市区三级联动选择组件,这个包是基于Distpicker的dcat-admin扩展,用来将Distpicker集成进dcat-admin的表单中. 此扩展参考与引用: dcat-admin-extensions-distpick

mu 20 Oct 9, 2022