Laravel ???????? ?? ? ?? ??? ???? ?? ???? ??? ?????. 1. 1. ? \ ?? \ handler ???? ???? ???? ???? ?? ??? ???? ????, ?? ?? ???? ?? report () ???? ?? ?? ??? ????? ????. 2. monolog? ???? ?? ???? ???? Config/Logging.php?? ?? ?? ? ?? ???? ???? ???? ???? ?? ??? ?? ??? ???????. ???, ????? ?? Report ()? ??? ?? ??? ???? ?? ? ? ????. 3. Render () ???? ??? ???? Unified JSON ?? ?? ??? ???? API? ?? ? ??? ?? ??? ??????. ??? ??? ??? ????? ??? ?? ? ???? ??? ?? ????? ?? ?? ? ???? ??????.
Laravel ???????? ?? ? ?? ??? ??? ??? ??? ?? ?? ????? ???? ?? ???? ?? ??? ????? ???? ????. Laravel? ??? ?? ??? ???? ???? ??? ?? ?? ??? ??? ??? ?? ?? ?? ??? App\Exceptions\Handler
?????.

??? ?? ??? ?????
Laravel? ?? ?? ??? ?? App\Exceptions\Handler
???? ?????. ???? ???? ?? ?? ??? ???? ??? ?? ?????? ?? ??? ???? ??? ??? ? ????.

- ?? ???
report()
?render()
???? ?????.-
report()
: ??? ????? ??? ??? ? ????? -
render()
: HTTP ??? ???? ? ????? (? : JSON ?? PAGE)
-
?? ??, ?? ??? ??? ? ?? ??? ???? report()
?? ??? ?? ? ? ????.
Illuminate \ support \ Facades \ ??? ??????. App \ Notifications \ ExceptionHappened? ?????. ?? ?? ??? (Throwable $ ??) { if ($ this-> roudReport ($ Exception)) { ?? :: Route ( 'slack', config ( 'services.slack.exception_webhook')))) -> notify (New ExceptionHappened ($ Exception)); } ?? :: ??? ($ Exception); }
? ??? ???? ???? ??? ???? ?? ??? ?? ?? ??? ?? ? ????.

??? ??? ?? ??
Laravel? ??? ???? ????? ??? ???? ?? ??? config/logging.php
? ????. ?? ??? ?? ?? ?? ?? (???, ??, ?? ?) ? ?? ??? (??, ??, Syslog, PaperTrail ?)? ??? ? ????.
?? ???? ??? error
??? ??? ????? ??? ??? ??? ??? ??? ?? ? ? ????.
- ?? ?? :
- ?? ?? ?? ???? ?? :
Log::error($exception)
- ??? ID, ?? ?? ?? ?? ???? ??? ?????? ??? ?? ???? ??????.
- ?? ?? ??? ??? ???? ?? ?? ????? ????? ?? ??? ??????.
- ?? ?? ?? ???? ?? :
?? ??, Handler
???? ?? ??? ??????.
Illuminate \ support \ Facades \ log? ??????. ?? ?? ??? (Throwable $ ??) { if (app ()-> ?? ( 'Production') && $ this-> thistreport ($ Exception)) { log :: error ( "???? ?? ?? :". $ Exception-> getMessage (), [ 'user_id'=> ?? ?? (auth ()-> user ())-> id, 'url'=> request ()-> fullUrl (), '????'=> $ ??-> getTraceAsString () ]); } ?? :: ??? ($ Exception); }
??? ??? ??? ??? ? ?? ?? ? ??? ? ? ????.
?? ?? ??? ??? ?????
API? ???? ?? Unified Error ?? ??? ??? ?? ???? ?? ?????. render()
???? ????? ??? ?? ??? ??? ? ????.
?? ??, ?? HTML ?? ???? JSON ???? ???? ??????.
Illuminate \ validation \ validationException? ??????. symfony \ component \ httpfoundation \ response? ?????. ?? ?? ??? ($ ??, ?? ??? $ ??) : ?? { // ?? ?? ?? ?? ?? if ($ Exception instanceof validationException) { return response ()-> json ([[ '??'=> '??', '???'=> '??? ?? ??.', 'errors'=> $ exception-> errors () ], $ ??-> ??); } // ?? ??? ?? ?????. ?? ?? ()-> JSON ([ '??'=> '??', '???'=> $ exception-> getMessage () ], 500); }
?? ?? ??? ?? ? ??? ??? ? ???? ?????? ??? ?? ? ????.
????? ?? ??. ?? ?? ? ??? ?? ? ???? ???? ?? ??? ??? ??? ??? ?? ??? ??? ??? ??????. ????? ??? ? ?? ??? ???? ?? ?????? ???? ???? ?? ?? ? ?????.
? ??? 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)

??? PHP ??? ??? ??? ?? ???? ??? ?? ????? ???????. Laravel? ?? ??? ???? ??? ? ? ???? ??? ??? ???? ?????? ?? ? ?? ?? ???? ?????. Symfony? ? ???? ??? ???? ?????. Codeigniter? ??? ??? ?? ??? ?? ??? ?? ????? ?????. 2. AI ??? ???? ????? ??? ??? ??, ???? ?? ?? (? : ???, ??, F1 ?), ??? ? ?? ?? ? ?? ??? ?? ???? ?? ??? ???? ???? ?? ??? ? ?? ???? ?? ?? ??? ????? ?? ???? ????? ?????? ??? ????? ???????. 3. ??? ?? ?? ????? ?? ??? ?????. AES? ?? ??? ???? ????? ?????.

PHP?? ?? ??? ???? ? ?? ?? ??? ????. 1. php.ini? ?? ??? ??; 2. ? ?? (? : Apache? Setenv ?? nginx? FastCGI_Param)? ??????. 3. PHP ?????? putenv () ??? ??????. ? ??? Php.ini? ????? ??? ???? ??? ???? ? ?? ??? ?? ???? ????? ???? Putenv ()? ?? ??? ?????. ?? ???? ?? ?? (? : php.ini ?? ? ?? ??)? ???? ????. ?? ?? ??? ??? ?? ??? ????? ???? ?? ????.

PHP ????? ?? ??? ??? ? ??? ??? CI (Continuous Integration) ????? ???? ? ????. 1. DockerFile? ???? ?? ???, ?? ??, ??? ?? ? ?? ??? ???? PHP ??? ?????. 2. Gitlabci? ?? CI/CD ??? ???? .gitlab-ci.yml ??? ?? ??, ??? ? ?? ??? ???? ?? ??, ??? ? ??? ?????. 3. PHPUNIT? ?? ??? ??? ??? ???? ?? ?? ? ???? ???? ????????. 4. Kubernetes? ?? ?? ?? ??? ???? ?? .yaml ??? ?? ?? ??? ?????. 5. Dockerfile ??? ? ??? ??? ??????

PHP ??? ?? ???? ????? ??? ??, ??? ??, ?? ? ?? ?? ???? ???????. ??, ??? ?? ???? ???? JWT? ???? ??? ??? ??????. ??, ??? ?? ????? ? ?????? ??? ???? ?? ???? ?????. ??, Alipay ?? WeChat ??? ???? ???? ??? ?????. ??, ?? ?? ??? ?? ??? ??? ??? ?????. Laravel ??? ??? ???? ?? ???? ?????, ?? ?? ? ??? ??? ???? ??? ??? ????, ??? ????? ??, ??????, ?? ? ?? ??? ?????? ??? ??? ??????? ??? ? ??? ???????.

??? ??? ??? ?? AI? ??? PHP? ?? ????? PHP? ??? "???"?????, ?? ???? ????? ???? ??? ? ??, ASYNCHRONOUS ??? ?? AI ??? (? : Google CloudVideoAi ?)? ??????? ????. 2. PHP? JSON ??? ?? ????, ??, ??, ??, ?? ? ?? ??? ???? ??? ??? ???? ??????? ?????. 3. ??? PHP? ??? ? ???? ???? ?? PHP ?????? ????? ????? ???? ? ??? AI ??? ???? ???? ????. 4. ???? ???? ??? ?? ?? (?? ?? ? URL??? ???? ????? ?? ??), ??? ?? (??? ??? ??), ?? ?? (??? ??, ?? ????) ? ?? ??? (?? ???)? ?????. 5. ??? ??? ????? ?? ?????

??? ?? ??? PHP ???? ?? ?? ??? ???? ?? ???????. RBAC (Role-Based Access Control) ??? ?? ???, ?? ? ??? ???? ??? ?? ?? ? ??? ?????. ?? ???? ??? ?????. 1. ???, ?? ? ??? ? ???? user_roles ? role_permissions? 3 ?? ?? ???; 2. $ user-> can ( 'edit_post')? ?? ???? ?? ?? ??? ?????. 3. ??? ???? ??? ??????. 4. ?? ??? ???? ?? ?? ?? ? ??? ? ???? ???? ?? ??? ? ?? ??? ?????. 5. ??? ??? ?? ?? ???? ?? ???? "??"? ??????.

Laravel? eloquentscopes? ?? ??? ??? ??? ?????? ?? ?? ??? ????? ?????. 1. ?? ??? ???? ???? ???? ???? Post :: published (); 2. ??? ??? ?? ??? ???? ???? ?? ??? ?? ?? ?? ??? ???? ???? ??? ?????? ??? ???? ???????. 3. ????? ?? ?? ?? ??? ??? ?? ?? ??? ?? ? ? ??? ?? ? ? ?? ?? ??? ?????. 4. ?? ??? ? ??? ?? ???? ? ??? ? ?? ??, ?? ??, ?? ???? ? ?? ?????????.

Laravel? ?? ??? ?? ?? ??? ?? ?? ??? ???? ??? ??????. ?? ???? ?? ??? ????? ? ???? I/O ?? ? ?? ?? ??? ???? ???? ??? ?? ? ????. 1. ?? ????? ?? ? ? ???????? ??? ????? ?? ???? ??????. 2. ??? ? ??? ?? ? ? PhPartisAnconfig? ?? ???????. 3. ?? ??? ??? ??? ???? ?? ?? ?? ???? ???? ????. 4. ?? ?? ??? ???? ?? ??? ??? .env ??? ???? ?? ???????.
