Laravel? ?? ??? ? ???? ???? ?? ??, ??, ??? ??, ?? ?? ? ?????? ???? ?????. 1. ??? ENCTYPE = "multipart/form-data"? ???? ?? ??? ??? ???? ?? ??? ??????. 2. ?? ???? ?? ???? ?? ??? ?? ???? ????? ???? ??? ????? ???? S3? ?? ??? ?????. 3. ?? ? ?? ??? ???? ??? ???? ?? ?? ? ???? ?? ??? ?????. 4. ??? ? ??????? ?? ??? ???? Storage :: url ()? ???? ?? ??? ??? ? ? ?? ??? ??? ????? ?? ??? ??????.
?? ??? ? ???? ??? ???? ? ???????? ???? ?? ???? Laravel??? ???? ?????. ???? ???, ?? ?? ?? ??? ??? ??? ???? ???? ???? ?? ??? ?? ? ?? ???? ??? ????? ???? ???? ??? ???? ?? ?? ?????.

??? Laravel? ?? ??? ? ???? ??? ?? ??? ??? ???? ? ?? ???? ?????.

?? ??? ? ??
??? ???? ?? ?? ???? ? ?? ?? ?? ? ?? ??? ????.
- ???
enctype="multipart/form-data"
????? ?????? . ?? HTML ???? ??? ??????? ?? ?????. ??? ??? ?? ???? ???? ???? ????. - ??? ??? ??? ?????? . PHP? ?? ???
upload_max_filesize
?post_max_size
? ????? ? ????. ? ??? ??? ? ? ???php.ini
?? ??? ??????. - ???? ?? ?? ?? : ?????? Laravel? ?? ?? ?? (? :
request()->validate()
)? ???? ???? ?? ???? ?? ??? ????? ??????.
?? ??:

request ()-> validate ([[ 'Avatar'=> '?? | ??? | Mimes : JPEG, PNG, JPG, GIF | MAX : 2048', ]);
?? ?? ???? ?? ?? ?? ???? ? ??? ????? ?? ??? ??? ?? ???.
??? ???? ????? ???? ??
Laravel? ??? ???? ??? ???? filesystems.php
?? ??? ?? ?? ? ? ????. ???? ???? ?? ???, Amazon S3, FTP ?? ????.
- ?? ???? (?????
public
??storage
???? ??)? ??? ????? ???? ???? ???? ????. - ???? ???? (? : S3)? ?? ??? ? ???? ?? ?? ?? ?? CDN ???? ??? ? ?? ?????.
- ??? ? ??? ???? ??? ? ? ????
php artisan storage:link
???? ??? ??? ???/storage/xxx.jpg
? ?? URL? ?? ??? ? ? ???????.
???? ??? ??? ?? ?? ??? ????? ??? ? ????. ?? ??, ?? ??? ? ???? S3? ???? ?? ? ???? ?? ???? ???? ?? ?? ? ? ??? ?? ?? ???? ?? ????? ?? ??? ? ????.
?? ? ?? ?? ??
??? ??? ? ? ???? ?? ?? ?? ?? ?????. ??? ? ?? ???? ?????.
???? ?? ? ?? ??? ???? ???? . ???? ??? ? ?? ??? ????? ??? ?? ??? ?? ? ? ????.
hash
?? ?? ???? ?? ?? ???? ??? ??? ????.?? ?? :
$ path = request ()-> file ( 'document')-> storeas ( '???', uniqid (). '.' . $ file-> getClientoriginalextension (), '???' );
? ?? ????? ??? ???? ??? ???? ?? ??? ?? ??? ? ????.
storage/app/public
??? ???? ??? ??? ?? ????? ?? ????.???? ??? ????? ?? ?? ?? : ??? ????? PHP ????? ??? ? ??? ????
.php
??? ??? ? ??? ???? ??????.
?? ??? ?? (? : ??? ?? ??)? ?? ?? ???? ???? ?? ???? ??? ?? ??? ??? ???? ????? ?????.
??? ? ?? ?? ? ?????? ???? ??????
???? ???? ?? ??? ?? ?? ??? ??????? ???????. ??? ???? ? ? ?? ??? ????.
- ???? ??? ?? URL ?? ?? ??? ???? ?? ????. ??? ???? ??? ?????? ? ? ?? ??? ? ????.
- ???? ????? ???? ?? Laravel?
Storage::url($path)
???? ?? ? ??? ??? ???? ?? ? ? ??? ?? ?? ???? ??????. - ?? ?? ???? ?? ? ???? ??? ???? ??? ??? ? ????.
?? ??, ??? ?? ???? ????? ?????.
foreach ($ request-> file ( 'images') as $ image) { $ path = $ image-> store ( 'article_images', 'public'); articleimage :: create ([ 'article_id'=> $ articleId, 'path'=> $ path]); }
??? ????, ? ???? ??? ? ???? ???, ?? ?? ? ???? ?????.
????? ?? ??. Laravel? ??? ?? ?? ????? ???? ?? ??? ????? ???? ?? ?? ? ?? ???? ???? ??? ??? ????? ? ?????.
? ??? 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

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?? ??? ??? ??? ???? ?? ???? ??? Route () ??? ??? ???? ????. Route () ??? ??? ?? ??? ???? ??? ???? ???? ?? ?? ???? ???? ????. 1. Route ( 'user.profile', [ 'id'=> 1])? ?? ???? ????? ?? ??? ?? ??? ?????. 2. ?? ?? ?? ? ? ?? ? ?????? ??? Route ( 'user.post.show', [ 'id'=> 1, 'postId'=> 10]? ?? ??? ??? ??? ????. 3. ??? ????? ?? ???? ???? ?? ?? ? ? ????. 4. ??? ?? ??? ???? ??? Route ( 'user.post',

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

Laravel? ??? ?? ??? ?? ???? ?? ?????. ?? ??? ??? ????. 1. ?? ???? ?? ?? ?????. 2. Phpartisanqueue? ?? ???? ??? ? ? ?? ??? ?????? : Work- Queue = High, Default; 3. onqueue () ???? ???? ??? ?? ? ? ? ??? ??????. 4. Laravelhorizon ? ?? ??? ???? ??? ??? ?????? ?????. ?? ?? ?? ?? ?? ? ??? ???? ????? ?? ??? ?? ??? ?? ?????.
