Laravel?? ??? ??? ????? ?? smtp ?? mail \ _mailer, mail \ _host, mail \ _port, mail \ _username, mail \ _password ? mail \ _from \ address? ?? ??? ? ?? ??? ???? .env ??? ?? ??? ??????. ?? ?? Mail :: Raw ()? ???? ??? ????? ?? ???? ?????. ?? ?? PHP Artisan Make? ?? ?? ???? ????. ?? ? VIA () ???? ???? '??'? ??? ???? Tomail ()? ???? ??? ???? ?????. ? ?? ??? ?? ???? ??????. ? ?, ??? ???? notify ()?? ????? ?? ???? ?? ??? ???? ??? ????. ?????, Laravel? ?? ??? ???? Blade Templates? ???/?/?? ??/?? ???? ???? ?? ???? ??? ??? ??? ??????.
Laravel?? ??? ??? ???? ?? ?? ?? ?? ????? ?????. Laravel? ??????? ??? ??? ?? ??? ??? ??? ?????. ??? ??? ????? ???? ??? ??? ??? ????.

?? ?? ??
???? ??? ?? ?? ??? ???? ??????. Laravel? ??? ?? .env
??? ????? SMTP ?? ??? ?? ?? ??? ???? ??????.

mail_mailer = smtp mail_host = smtp.example.com mail_port = 587 mail_username=your@example.com mail_password = YourPassword mail_encryption = tls mail_from_address=from@example.com mail_from_name = "$ {app_name}"
???? ?? ?? ?????? Mail::raw()
???? ????? ?? ??? ???? ?????.
Illuminate \ support \ Facades \ Mail? ??????. Mail :: Raw ( '??? ??? ??', ?? ($ message) { $ message-> to ('test@example.com ')-> ?? ('??? ??? '); });
??? ??? ???, ??? ???? ???? ?? ????.

?? ??? ??
Laravel ??? ?? ??? ?? ?? ? ? ????. ??? ? ?????. ??? ?? ???? ????? ??????.
PHP Artisan Make : ?? ??
app/Notifications
? ??? ?????. ??? ??? ??? ??? ? ? ??? ?? ??????. ?? ?? ??? ????.
Illuminate \ bus \ queueable? ??????. Illuminate \ Contracts \ Queue \ Distqueue? ??????. Illuminate \ ?? \ ??? ?????. Class AccountUpdated? ?? ??? ??????? { queuable? ??????. ?? ?? __construct () { // } ($ notifiable)? ?? ?? ?? { ?? [ 'mail']; } ?? ?? Tomail ($ notifiable) { return (new \ illuminate \ kameifications \ messages \ mailmessage) -> line ( '??? ????? ?????????.') -> action ( '?? ??', URL ( '/account')) -> line ( '?? ????? ??? ??? ?????!'); } }
???? ? ? ?? ?? :
-
via()
???? ??? ?? (mail
,database
?)? ?????. -
toMail()
?? ??? ???? ?????. -
ShouldQueue
??? ?? ?? ??? ??? ??? ?????.
??? ????
??? ???? ??? ???? notify()
???? ????? Notification
??? ??? ? ????.
?? 1 : ?? ????? ????
App \ Notifications \ AccountUpdated? ?????. $ user-> notify (new AccountUpdated ());
?? 2 : ?? ??? ?? ?? ??? ???? ?????
Illuminate \ support \ Facades \ ??? ??????. App \ Notifications \ AccountUpdated? ?????. ?? :: send ($ user, new AccountUpdated ());
$users
Notifiable
??? ???? ?? ???? ??????.
??? ????, ?? ?? ?? ? ???? ????? ? ?? ?? ?? ??? ??? ??? ? ? ????.
??? ??? ??? ?????
????? Laravel? ??? ??? ?? ??? ????? ?????. ??? ??? ????? ?? ??? ??????.
PHP Artisan ?? ?? : ??-?? = laravel-notifications
???? ???? resources/views/vendor/notifications
?? ?????. ?? ??? ???? ????? HTML ? CSS? ?? ? ? ????.
? ?? ??? ?? ? :
- ??/?? ??? ??????
- ?? ?? ? ??? ????????
- ??? ?? ?? ? ?? ?? ???? ??????
?? ??? ?? ???? ??? ?? Mailgun, Sendgrid ?? Amazon SES? ?? ???? ???? ?? ??????. ?? ?? MAIL_MAILER
?? .env
? ????????.
??? ????? ?????. ???? ???? ?? ??? ???? ???? ??? ?? ? ??? ?? ??????. ????? ???, ?? ??? ? ?? ???? ??? ???? ??? ? ?? ???? ???? ???? ???? ??? ? ??? ?? ??????.
? ??? Laravel?? ??? ?? ?? ? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Efficient methods for testing Laravel API interfaces include: 1) using Laravel's own testing framework and third-party tools such as Postman or Insomnia; 2) ?? ???, ?? ??? ? ?? ??? ??; 3) ?? ?? ??? ???? ?????? ??? ?????. ??? ??? ?? API? ???? ??? ???? ?? ? ? ????.

??? ?? Laravel ??? ?? ??? ?? ??? ?? ??? ? ????. 1. ??? ??? ?? ??? ? ? ?? ?? ?? ??. 2. ??? ?? ?? ???? ??? ?? ????? ??????. ??? ?? ?? ???? Laravel? ?? ???? ?? ?? ??? ???? ??, ?? ? ?? ?????? ?????.

Laravel?? ???? ??? ???? ??? ?????. 1) ??? ? ???? ?? ???? ?? ??; 2) ?? ?? ? ??? ??? ???. 3) Artisan Command? ???? ??? ?? ?? ??; 4) ?? ??? ???? ??; 5) Packagist? ?? ?? ? ?? ??; 6) ??? ??? ??; 7) ??? ?? ??; 8) ?? ?? ???? ??? ??.

Laravelsocialite ???? ???? Laravel ??? ??? ?? ??? ???? ?? ? ? ????. 1. ??? ??? ?? : ComposerRequirelaravel/Socialite ??. 2. ??? ?? ?? ? ?? ?? : config/app.php?? ?? ??? ??????. 3. API ?? ?? ?? : .env ? config/services.php?? ?? ??? API ?? ??? ??????. 4. ?? ???? ?? : ?? ??? ??? ????? ???? ?? ???? ? ?? ??? ??????. 5. FAQ ?? : ??? ???, ??? ???, ?? ? ?? ??? ?????. 6. ??? ?? :

Laravel?? ?? ??? ?? ?? ?? ??? ?????. 1. ??? ???? ???? .env ???? ?? ?? ??? ?????. 2. ??/web.php?? ???? ??? ??? ?????. 3. ??? ??? ??? ??; 4. ??? ??? ??? ??? ?? ?????? ???? ??? ?? ??? ??????. 5. ??? ?? ??? ?????? ??? ??????. 6. ???? ???? ??? ? ???? ?? ???? ?? ????? ??????.

Laravel ??????? ???? ?? ???? SQL ??, XSS (Cross-Site Scripting Attack), CSRF (Cross-Site Request Resperery) ? ?? ??? ???? ?????. ?? ???? ??? ?????. 1. SQL ??? ??? ?? ?? ??? ??? Eloquentorm ? QueryBuilder? ??????. 2. ??? ??? ???? XSS ??? ???? ?? ??? ??? ???? ???????. 3. CSRF ??? CSRF ?????? ?? ????? ?????? ?? ? AJAX ???? CSRF ??? ??????. 4. ?? ??? ???? ?? ?? ???? ???? ???? ?????. 5. ??? ?? ???? ???? ???? ?? ??? ? ?? ?? ? ?? ???? ?????.

????? Laravel? ??? ?????? HTTP ??? ?? ?? ???? ? ?????. ?? ?? : 1. ???? ?? : "Phpartisanmake : Middlewarecheckrole"??? ??????. 2. ?? ?? ?? : ?? ? ??? ?? ??? ????. 3. ???? ?? : kernel.php? ????? ??????. 4. ???? ?? : ??? ??? ????? ??????.

Laravel? ??? ?? ??? ? ??? ??? ?? ???? ? ????. 1) ?? ?? ??? ???? ?? :: ?? ???? ?? ??? ??? ??????. 2) Redis? ?? ??? ?? ???? ??????. 3) ??? ??? ?????? ???? ??? ?? ?? ??? ???? ???? ??? ?? ? ????. 4) ?? ???? ??? ??, ?? ? ?? ????? ?????. ??? ??? ????? ?????? ? ??? ??? ????? ???? ? ????.
