Skip to content

Commit 531ccf0

Browse files
authored
Update README.md
1 parent 8b73afc commit 531ccf0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,34 +122,34 @@ class NewsWasPublished extends Notification
122122
}
123123
}
124124
```
125-
You can also modify who the notification(SMS) is sent from, this will overide the AT_FROM= in your .env
125+
You can also modify who the notification(SMS) is sent from, this will override the AT_FROM= in your .env
126126
**Please only do this if you have a VALID sender_ID**
127127
128128
``` php
129129
return (new AfricasTalkingMessage())
130-
->content('Your SMS message content')
130+
->content("Your SMS message content")
131131
->from("set any sender id/name here");
132132
```
133133
134134
You can also modify who the notification(SMS) is sent to (the recipient)
135135
136136
``` php
137137
return (new AfricasTalkingMessage())
138-
->content('Your SMS message content')
139-
->to("put the recipient phonenumber here"); //eg ->to(1111111111)
138+
->content("Your SMS message content")
139+
->to("put the recipient phone number here"); //eg ->to(1111111111)
140140
```
141141
It's important to know the Order in which the recipient phone number the notification(SMS) will be sent to will be used
142142
143143
1) If you have defined the routeNotificationForAfricasTalking() method on the Notifiable class (User.php in this case) and returned a valid phone number, then that will be used.
144144
145145
2) if you did not define routeNotificationForAfricasTalking() method on the Notifiable class (User.php in this case), then the phone_number attribute of the User will be used ($user->phone_number)
146146
147-
3) Lastly if the recipient phone number is set using ->to(1111111), this will overide the phone number provided in either 1 or 2.
147+
3) Lastly if the recipient phone number is set using ->to(1111111), this will override the phone number provided in either 1 or 2.
148148
149149
``` php
150150
return (new AfricasTalkingMessage())
151-
->content('Your SMS message content')
152-
->to("put the recipient phonenumber here"); //eg ->to(11111111)
151+
->content("Your SMS message content")
152+
->to("put the recipient phone number here"); //eg ->to(11111111)
153153
```
154154
155155
## Testing

0 commit comments

Comments
 (0)