Menu

## CheckSms extends Command
in package
uses SmsProcess

CheckSms.php : 13

### Table of Contents

#### Properties

$description : string
  The console command description.
$signature : string
  The name and signature of the console command.

#### Methods

__construct() : void
  Create a new command instance.
handle() : mixed
  Execute the console command.
sendAbsentRecord() : void
  Send absence notification SMS to parents.
sendAdmissionApproval() : void
  Send admission approval SMS including application number.
sendBirthday() : void
  Send birthday wishes SMS.
sendSmsNotification() : void
  Send SMS event notification using template placeholders.
sendUserResetPassword() : void
  Send password reset SMS with reset URL.

### Properties

#### $description

CheckSms.php : 31

The console command description.

`protected string $description = 'Check Sms'`

#### $signature

CheckSms.php : 24

The name and signature of the console command.

`protected string $signature = 'gego:checksms'`

### Methods

#### __construct()

CheckSms.php : 40

Create a new command instance.

`public __construct() : void`

#### handle()

CheckSms.php : 50

Execute the console command.

`public handle() : mixed`

#### sendAbsentRecord()

SmsProcess.php : 90

Send absence notification SMS to parents.

`public sendAbsentRecord(string $to, string $message, string $school_name) : void`

##### Parameters

$to : string

  Recipient mobile number(s)

$message : string

  Absence message text

$school_name : string

  School name to include in the template

#### sendAdmissionApproval()

SmsProcess.php : 150

Send admission approval SMS including application number.

`public sendAdmissionApproval(array<string|int, mixed> $data) : void`

##### Parameters

$data : array<string|int, mixed>

  Data containing application_no, school_name, and mobile_no

#### sendBirthday()

SmsProcess.php : 121

Send birthday wishes SMS.

`public sendBirthday(string $to, string $message, string $school_name) : void`

##### Parameters

$to : string

  Recipient mobile number(s)

$message : string

  Message content

$school_name : string

  School name to include in the template

#### sendSmsNotification()

SmsProcess.php : 30

Send SMS event notification using template placeholders.

`public sendSmsNotification(string $to, string $start_date, string $location) : void`

##### Parameters

$to : string

  Recipient mobile number(s)

$start_date : string

  Event start date

$location : string

  Event location text

#### sendUserResetPassword()

SmsProcess.php : 60

Send password reset SMS with reset URL.

`public sendUserResetPassword(string $to, string $url) : void`

##### Parameters

$to : string

  Recipient mobile number(s)

$url : string

  Reset URL to include in the message

## Search results