?? ???, ?????.
Laravel Sail? Laravel? ?? Docker ??? ?????? ? ???? ?? ??? ?????(CLI)???. ?? ???? MySQL, Redis ?? Docker ????? ??? ???? ?? ???? ???? ???? ???? ?? ??? ?????? ?? ???? Laravel? ??? ? ?? ?? ??? ?????.
? ?????? Laravel Sail? ???? ???? ??? ????? Laravel Sail? ?? ??? ??? ???????.
Laravel Sail? ??????
Laravel Sail? Laravel? ?? Docker ?? ?????. ???? PHP, MySQL, Redis ?? ?? Laravel ?????? ??? ???? ? ??? ?? ?? ???? ????. Sail? Docker ???? ????? ???? ?????? ??? ??? ? ??? ??? ??? ?? ?????.
????
Laravel Sail ?? ??? ???? ?? ???? ?? ??? ??? ?????.
1. Docker ??: ?? ?????? Docker? ?????? ?????.
2. Composer: Laravel Sail? ???? ????? Composer? ?????. getcomposer.org?? Composer? ????? ? ????.
?? ????? ?????? ????.
Laravel Sail ?? ??
1??: ? Laravel ???? ??
?? ??? ???? ? Laravel ??????? ???? ???? ???? Sail? ?????.
composer create-project laravel/laravel laravel-sail-app cd laravel-sail-app
2??: ?? ??? ????? Laravel Sail? ???? ????.
composer require laravel/sail --dev
??? ??? ? Docker ?? ??? ???? ???. ?? ??? ???? ???.
php artisan sail:install
??: ????? ???? MySQL, Redis ?? PostgreSQL? ?? ?? ???? ???? ???.
3??: ?? ?? ??
?? ??? ????? ?? ??? ??????.
./vendor/bin/sail up The sail up command will start all the necessary containers for your Laravel application. By default, Sail runs containers for PHP, MySQL, and Nginx.
4??: Laravel ??????? ???
Sail ??? ???? ?????? http://localhost? ???? ??????? ???? ? ????.
5??: Sail? Artisan ?? ??
Laravel Sail? ???? Docker ???? Artisan ??? ???? ??? ? ????. ?:
./vendor/bin/sail artisan migrate
Sail? ??? ???? ?? ??? ???? ?? ????.
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
?? ??? ?? ??? ??? ? ????.
sail up sail artisan migrate
6??: ???? ??
??? ???? ????? ??? ? ????.
sail down
? ??? Docker ????? ???? ??????? ?? ??? ???? ?????.
7??: Docker ?? ??? ??
Laravel Sail? ??? docker-compose.yml ??? ??? ??? ??? ?????. ???? ?? ?? ????, ?? ??? ????, ??? ??? ??? ? ????.
?? Docker ????? ???? laravel ??????? ?? ??? ??? ?????.
Laravel Sail ??? ??
1. ?? ???: Sail? ??? ???? Docker ??? ??????.
2. ?? ??? ??: Sail? ?? ??? ??? ????? ?? ?? ??? ??? ? ????.
3. ?? ??? ??: Linux, macOS ? Windows(WSL 2? ??)?? ???? ?????.
4. ?? ??? ??: ??????, ?? ?? ? ??? ???? ?? ?????.
????? ???? ?? ??:
- ??: Docker ???? ??
- ??: Docker ???? ??
- ?? ??: ?? ?? ??
- ?? npm ??: npm ??? ??
- ?? ???: Laravel ??? ??? ??
- ?? mysql: MySQL ??? ?????? ???
??:
???? ?? ?? ??? ??? ????? ?? ?????. Docker ?? ?? ??? ???? ?? ?? ????? ???? ??? ? ???? ??? ? ?????. ? ???? ?? Laravel Sail? ???? ???? ???? ??? ??? ??????? ???? ? ??? ? ????.
??? ?? ???! ? ??
??? ?????! ? ??
? ??? Laravel Sail? ?? Docker ??? ?? ?????. ??? ??? 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)

??? ??











TOSECURELYHANDLEAUSTENCENDACTIONANDACTERIZINGINPHP, FORCUCTSESTEPS : 1. ALWAYSHASHPASSWORTHPASSWORD_HASH () ? VERVERIFYUSINGPANSWORD_VERIFY (), usePREPAREDSTATEMENTSTOPREVENTSQLINGERGED, andSTOREUSERSESSEATAIN $ _SESSIONSAFTERLOGIN.2.impleplempletrole ?? ACCESSC

PHP?? ?? ???? ???? ????? ??? ?? ??? ???? ?? ??? ??? ??? ???? ????. 1. finfo_file ()? ???? ?? ?? ??? ???? ???/jpeg? ?? ?? ?? ? ?????. 2. uniqid ()? ???? ??? ?? ??? ???? ? Web ?? ????? ??????. 3. php.ini ? html ??? ?? ?? ??? ???? ???? ??? 0755? ?????. 4. Clamav? ???? ???? ???? ??? ??????. ??? ??? ?? ???? ????? ???? ?? ??? ????? ???? ??? ? ??? ?????.

PHP?? ==? ==? ?? ???? ?? ??? ??????. == ?? ??? ?? ?? ?????. ?? ??, 5 == "5"? true? ????, ?? ??? ???? ?? ?? ??? ????? ????? (? : 5 === "5"? false? ?????. ?? ?????? ===? ? ???? ?? ?????? == ?? ??? ??? ???? ?????.

PHP?? ?? ??? ??? ???? ??? ??? ????. 1. ?? ??? ?? ? ?? ??? ??? ???? ???? ??? ? ????. ??? ??? ???? ????? ????? ???? ????. 2. ?? ?? ?? - ??, ??? ???? ?? ??? ?????. 3. ?? ???? ??? ??? ???? ??? ??? ?????. 4. Division? / ??? ???? 0?? ??? ?? ????? ??? ?? ??? ?? ? ? ????. 5. ???? ??? ???? ?? ?? ? ?? ??? ???? ? ??? ? ???, ??? ?? ? ? ??? ??? ???? ?????. ? ???? ???? ???? ??? ??? ??? ???? ?? ??? ? ??????? ????.

?, PHP? ?? ?? ?? ?????? ?? MongoDB ? Redis? ?? NOSQL ??????? ?? ??? ? ????. ?? MongoDBPHP ???? (PECL ?? Composer? ?? ??)? ???? ????? ????? ??? ?????? ? ???? ????? ??, ??, ?? ? ?? ??? ?????. ??, Predis ????? ?? Phpredis ??? ???? Redis? ???? ?? ? ?? ? ??? ???? ??? ????? Phpredis? ???? ?? Predis? ?? ??? ?????. ? ? ?? ??? ???? ? ????? ????.

tostaycurrentwithphpdevelopments ? bestpractices, followkeynewssources lifephp.netandphpweekly, adgytwithcommunitiesonforumsandconferences, readlingupdated andgrad indewfeatures, andreadorcontributetoopensourceproceprosts.first

phpbecamepupularforwebdevelopmentduetoiteofleneflening, whithhtml, wididepreadhostingsupport, andalargeecosystemincludingframeworkslikelaravelandcmsplatformsformslikewordpress.itexcelsinhandlingformsubmissions, managingussess, interptisussivers, ?? ???

TOSETTHERIGHTTIMEZONEINPHP, usedate_default_timezone_set () functionattStartOfyourscriptwitHavalidInlifiersuchas'America/new_york'.1.edate_default_timezone_set () beforeanydate/timeFunctions.2
