Laravel? ????? ??? ?? ????? ???? ??????? ??? ? ?? ??? ??? ??? ??? ???? ?? ?? PHP ????????. ? ??? ??? ?? ? ????? ?? ??? ????. ? ????? Laravel ?????? ???? ???? ???? ??? ??? ?????.
Laravel ???????? ?? ????? ??/???? ???? ???? ???? ??? ? ????. ?? ????? ?????? ???? ???. Composer? ???? ??? ? ????. ??? ??? ????.
composer?require?intervention/image
??? ??? ? config/app? ??? ??? InterventionImageImageServiceProvider::class? ?????. php ??? ?? ?? ?? ??? ?????. 'Image' => InterventionImageFacadesImage::class ??? ?????.
??? ???? ??? ?????. ???? ????? ?? ??? ???? ???.
- ??? ?? ??: ??/??? ?????? ?? ???? ??? ? ?? ??? ??? ??? ???? make() ???? ?????. ?? URL. ?:
use?Intervention\Image\ImageManagerStatic?as?Image; $image?=?Image::make('path/to/image.jpg');
- ??? ?? ??: ??? ??? ???? ???? ?? ?? fit() ???? ???? ??? ? ????. ?:
//?縮放至寬為?300,高度自動(dòng)適應(yīng) $image->fit(300); //?縮放至高為?200,寬度自動(dòng)適應(yīng) $image->fit(null,?200); //?縮放至寬為?300,高為?200 $image->fit(300,?200);
- ??? ????: ????? save() ???? ???? ???? ??? ??? ??? ? ????. ?:
//?導(dǎo)出為?JPEG?格式,質(zhì)量為?90,文件名為?image.jpg $image->save('path/to/image.jpg',?90,?'jpg');
?? ??? ??? ????? ??????.
?? ?? ?? ??? ??/??? ?????? ?? ??? ?? ??? ? ?? ??? ??, ??, ?? ?? ? ??? ?? ??? ?????. ?:
//?提高圖片亮度為?25% $image->brightness(25); //?提高圖片對(duì)比度為?50% $image->contrast(50); //?降低圖片飽和度為?75% $image->greyscale()->colorize(45,?15,?115)->contrast(5)->brightness(-10)->pixelate(10);
??? ?? ??? ?? ??? ?? ???? ???? ???? ??? ? ????.
????? Laravel ?????? ??? ??? ?? ? ???? ??? ???? Intervention/Image ?????? ??? ??? ???? ??? ?? ? ????? ???? ????? ??? ? ?? ????? ? ???? ?????.
? ??? 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? ?? ??? ?? ?? ??? ?? ?? ??? ???? ??? ??????. ?? ???? ?? ??? ????? ? ???? I/O ?? ? ?? ?? ??? ???? ???? ??? ?? ? ????. 1. ?? ????? ?? ? ? ???????? ??? ????? ?? ???? ??????. 2. ??? ? ??? ?? ? ? PhPartisAnconfig? ?? ???????. 3. ?? ??? ??? ??? ???? ?? ?? ?? ???? ???? ????. 4. ?? ?? ??? ???? ?? ??? ??? .env ??? ???? ?? ???????.
