Laravel? ??? ???? ? ?? ????? ?????. ?? ???? ??? ?????. 1. ???? ?? ??, ?? ???? APP_DEBUG = TRUE SET APP_DEBUG = TRUE ? ???? ???? FALSE? ?????. 2. ?? ???? ???? .env? ?? Log_Channel? ???? ??, ??, ??, ?? ? ?? ??? ???? config/logging.php?? ??? ??? ?? ? ? ????. 3. ?? ??? ??? ???? ? \ ?? \ handler ????? ???? ??? ?? ??? ??? ????? ?? ?? ??? ?????. 4. ?? ????? ???? ???? ??? ???? ?? ???? ???? ?? ??? ?? ? ????? ???? ?? ????. ??? ??? ???? ???? ?????? ??? ? ?? ?? ???? ???? ? ????.
Laravel? ???? ??? ???? ?? ? ??? ?? ??? ???? ? ?? ????? ?????. ??? ??? ???? ?? ?? ????? ??? ? ?? ??? ?????.

1. ???? ?? ?? (????)
Laravel??? PHP? error_reporting
??? ?? ????? ?????. ????? Laravel? .env
???? APP_DEBUG=true
???? ?? ?? ?? ??? ????? ?? ???? ????? ???? ???? ?????.

- ?? ?? :
APP_DEBUG=true
???? ??? ?? ??? ??????. - ?? ?? : ??? ??? ??? ????
APP_DEBUG=false
? ??????.
php.ini
????? ?? ?? public/index.php
???? ??? ?? ????.
error_reporting (e_all ^ e_notice);
??? ? ???? ???? Laravel? ?? ?? ????? ?? ?? ??? ????? ?? ????? ???? ????.

2. ?? ??? ?? (?? ??)
Laravel? Monolog ?????? ???? ??? ???? ?? ??, ??? ??, ??, ??? ??? ?? ???? ????? ?? ?? ????? ?????.
.env
??? ?? :
log_channel = ??
???? ??? ??? ????.
-
single
: ?? ?? ?? -
daily
: ??? ??? ?? ?? (???? ????) -
slack
: Slack ??? ??? ???? (? ??? ??) -
stack
: ?? ?? ??? ??????
?? ??? ??? ?? ???? ?? config/logging.php
?? ??? ????? ??? ? ????. ?? ??, API ?? ??? ?? ??? ?? ??? ??? ? ????.
3. ??? ?? ?? ?? (?? ??)
Laravel? ?? ??? App\Exceptions\Handler
???? ???? ????. ???? ???? ??? ???? ??? ??? ? ? ????.
?? ??, ?? ?????? ?? ?? ??? ?? ?? ?????? ????.
Illuminate \ Database \ QueryException? ??????. ?? ?? ??? (Throwable $ ??) { if (QueryException? $ excection instance) { log :: ?? ( '??????')-> error ($ Exception); } ?? :: ??? ($ Exception); }
JSON ??? ?? ?? ?? ??? ?? ?? ?? ??? ???? ??? ??? ?? ? ?? ????.
?? ?? ??? ($ ??, ?? ??? $ ??) { if (customexception? $ Excection instance) { return response ()-> json ([[ '??'=> '?? ?? ??', ], 500); } return parent :: render ($ request, $ Exception); }
4. ?? ?? ??? ??
????? Laravel? ??? storage/logs/laravel.log
? ?????. daily
Driver? ???? ?? laravel-YYYY-MM-DD.log
? ??? ??? ?????.
? ?? ???? ?? :
- ??? ??? ???? ??? ??? ???? ????? ??????.
-
tail -f storage/logs/laravel.log
???? ?? ??? ????? ? ? ????. - ??? ?? ? ?? ??? ?? ??? (? : Sentry, Loggly, PaperTrail)? ????? ?? ??????.
?? ?? ????? ?? DEV, Staging ? Prod? ?? ?? ?? ?? ?? ?? ?? ??? ??? ? ????.
????? ?? ??. ???? ? ??? ???? ???? ??????? ?? ???? ??? ????? ?? ? ????.
? ??? 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)

TOWORKEFCITIVE WITHPIVOTTBLESINLARAVEL, FIRDSCESSPIVOTDATAUSINGWITHPIVOT () ORWITHTIMESTAMPS (), thenupdateentrieswithupdatee XistingPivot (), ManagerElationshipsviadetach () andsync (), andusecustompivotmodelswheneded.1.usewithpivot () toincludescificcol

LaravelProvideAcleanAnandflexiblewaytosendNotificationsViamultipleChannels LikeEmail, SMS, In-Appalerts ? PushNotifications.youdeFinenotificationChannelsinThevia () MethodofanotificationClass, and ortovonage (), Ortovonage ()

??? ??? ?? ? ???? Laravel? ??? ????? ?? ??? ???? ???? ?????. ??? ????? ?? ????? ???? ???? ?? ?? ??? ?? ? ??? ?????. Laravel? ?? ????? ?? ???? ?? ???? ??? ??? ?? ??? ?????. ??? ????? ? ??? ??? ?? ??? BIND ??? ????? ?? ?? ???? ?? ?? ????? ? ??? ? ????. ?? ??? ?? ?? ????? ????, ??? ???? ???,???? ???? ???? ????, ?? ?? ?? ??? ???????. ?? ????? ?? ??? ? ?? ??? ?? ? ? ????.

Laravel ?? ???? 4 ?? ?? ??? ?? ?? ???? ???? ???? ? ????. 1. ?? ????? ???? ?? ??? ??? ??? ?? ???? ??? ???? ?????? ??? ??? ????? ?? ??? ?? ???? ??? ??????. 2. ???? ?? ????? ??????? ?????, n 1 ??? ???, ?? ??? ????, ??? ??, ??? ?? ? ?? ? ?? ??, ?? ??? ????. 3. ?? ?? ?? ? ?? ???? ??? ??? ?? ?? ??? ? ??? ???? ???? ???? ???? ???? ? ?? ????? ??????. 4. ??? ?? ? ???? ??? ??? ??? ?? ???? ????? ?? ?????? ????? ?? ???? ? ??? ?? ??? ????? ??????.

Laravel ????? ?????? ??? ???? ???? RefreshDatabase ??, ??? ??? ??, ?? ??? ?? ? ??? ?? ?? ??? ?????. 1. ?? ??? ???? ? ???? ??? ??????? ??????? ???? ?? ?????? ??? ???? ?????????. 2. ?? ??? ???? ??? ???? ??? ?? ???? ?? ?? ???? ?????. 3. DatabasEtransactionStrait? ???? ??? ?? ??? ????? ? ?????????. 4. ???? ???? ???? ??????? ???? ??? ? ?? ? ??????? ?? ??????. ??? ??? ???? ???? ???? ???? ?? ??? ? ??? ??? ?? ???? ?????.

Laravelsanctum? SPA ?? ??? ??????? ?? ???? ?? API ??? ??? ?? ??? ?? OAUTH2 ??? ??? ????? ?????. 1. Sanctum? ?? ?? ??? ????, ??? ???? ?????. 2. Passport? ?? ?? ? ????? ?? ??? ?? ??? ????? ????, ?? ???? ?????? ?????. 3. ?? ?? ? ??? ? ???? ?? ?? ??? ????. 4. ?? ??? ?????? ??? ???? ??? ?? ??? ??? ???? ?????. ??? ? ???? ?? ??? ?? OAUTH2 ??? ???? ??? ???????.

Laravel? ?? ???? ?????? ???? ??? ??????. 1. DB :: Transaction () ???? ???? ??? ???? ???? ?? ?? ?? ?? ?? ??; 2. ?? ? ????? ???? ?? ???? ?? ????? ????? ?? ???? ??? ???? ???? ??? ?? ????. 3.?? ??? ??? ??? ????? ??? begintransaction (), commit () ? rollback ()? ?? ?? ?? ??? ?????. 4. ?? ???? ??? ?? ????, ??? ?? ??, ??? ?? ? ?? ?? ??? ?????. ????? ?? ?? ??? ???? ?? ???? ??? ? ??? ???? ? ????.

Laravel?? HTTP ?? ? ??? ???? ??? ?? ???, ?? ?? ? ?? ???? ??? ????? ????. 1. ?? ???? ?? ? ? ?? ????? ?? ?? ????? ???? input () ?? ?? ???? ???? ??? ?? ??? ?? validate () ?? ?? ?? ???? ?? ? ? ????. 2. Return Response? ???,??, JSON, ?? ?? ? ??? ?? ?? ? ???? ??? ?????. 3. ?? ???? ?? ? ?? ?? () ??? ? Store ()? ???? ??? ???????. ????? ?? ?? ?? ? ??? ?????? ???? ??? ??????? ??? ? ????.
