PHPã«ã³ãã¡ã¬ã³ã¹å°ç°å2024 ã®çºè¡¨è³æã§ãã https://phpcon-odawara.connpass.com/event/296492/ https://fortee.jp/phpconodawara-2024/proposal/7c57d5ca-213a-4d7a-aaf0-26dâ¦
Tech Dept. åºç¤ã°ã«ã¼ãã¨ã³ã¸ãã¢ã® @tenkoma ã§ãã BASEã«ã¯50以ä¸ã®PHPããã¸ã§ã¯ãã®ãã©ã¤ãã¼ããªãã¸ããªãããã¾ãã (ã¢ããªã±ã¼ã·ã§ã³ã¯åæ°åã§ãæ®ãã®å¤ãããã¢ããªã±ã¼ã·ã§ã³ãä¾åããã©ã¤ãã©ãªã§ã) éå»4å¹´ã»ã©ã®éã«æ°è¦ã«ä½ããããªãã¸ããªã«ã¯ã»ã¼æåããPHPStanãå°å ¥ããã¦ãã¾ããããã以åããéçºãã¦ãããªãã¸ããªã«ã¯å°å ¥ããã¦ããªããã®ãå¤æ°ããã¾ããã ãããã®ãªãã¸ããªã«PHPStanãå°å ¥ãã¦ãã£ãã®ã§ããªãå°å ¥ããããå°å ¥æ¹æ³ãå¾ãããå¹æã«ã¤ãã¦ç´¹ä»ãã¾ãã PHPStanã¨ã¯ PHPã³ã¼ããå®è¡ããã«ãå®è¡æã«ã¨ã©ã¼ã«ãªãããç®æãæ¤åºãããã¼ã«ã§ããPHPStanãå©ç¨ãCIã«çµã¿è¾¼ãã¨ããã¹ãå®è¡ããã«æ¤åºã§ãããã°ã®ä¸é¨ã¯ãPHPStan解æã§ææãã¦ãããã®ã§ãã³ã¼ãã¬ãã¥ã¼ã®è² æ ãæ¸ããã¨ãæå¾ ã§ãã¾ãã ãªãPH
PHPè¨èªãç¨ãã¦ãã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãéçºå¯è½ã«ãããã¬ã¼ã ã¯ã¼ã¯ãNativePHPããç»å ´ãã¾ãããç¾å¨ã¢ã«ãã¡çã¨ãã¦å ¬éããã¦ãã¾ãã PHPã©ã³ã¿ã¤ã ã¨Electron/Tauriããã³ãã« NativePHPã¯HTMLãCSSãJavascriptããã¦PHPãç¨ãã¦WindowsãMacãLinuxã®ã¯ãã¹ãã©ãããã©ã¼ã ã«å¯¾å¿ãããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãéçºå¯è½ã«ãããã¬ã¼ã ã¯ã¼ã¯ã§ãã PHPã©ã³ã¿ã¤ã ã¨ãã¢ããªã±ã¼ã·ã§ã³ãããã¹ãOSã¸ã¢ã¯ã»ã¹ããããã®ã¯ã©ã¹ç¾¤ãWebæè¡ã§ãã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãéçºå¯è½ã«ãããã¬ã¼ã ã¯ã¼ã¯ã§ããElectronãããã¯Tauriããã³ãã«ããã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ãã«ãããæ©è½ãåãã¦ãã¾ãã ç¾æç¹ã§ã¯PHPã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦Laravelããã¼ã¹ã«ãã¦ãã¾ãããç¹å®ã®ãã¬ã¼ã ã¯ã¼ã¯ä¾åããªããã¦ããæ¹å
PHPã«ã¯composerã¨ããé«åº¦ãªããã±ã¼ã¸ç®¡çãã¼ã«ãåå¨ãã¦ãããWordPressã§ãcomposerãå©ç¨ããéçºããããã«è¡ããã¦ãããããããã¤ãã«ã³ã³ããªã¯ããçºçããããã«ãªã£ãããããã®è§£æ±ºæ¹æ³ã¨ç¥è¦ãå ±æããããæ¬è¨äºã®å¯¾è±¡èªè ã¯ä»¥ä¸ã®éãã ãã©ã°ã¤ã³ãä½æãã¦ããã ãã¼ããéçºãã¦ããããã©ã°ã¤ã³ã§åé¡ãèµ·ãããUncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() ã¨è¨ãããã éçºè ã§ã¯ãªãã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ã¯ãããããããã©ã°ã¤ã³ã使ããªããã¨ãã解決çãããªãã®ã§ããäºæ¿ããã ããããã§ã¯ãæ¬é¡ã«å ¥ããã ãªãã³ã³ããªã¯ããçºçããã composerã¯åºæ¬çã«ãããã¸ã§ã¯ãåä½ã§1ã¤ãã¨ããæé»ã®åæãåå¨ãããã¼ã«ã§ããããã¨ãã°PHPã®ãã¬ã¼ã ã¯ã¼ã¯Lar
ã¯ããã« ãµã¼ãã¹ã³ã³ããã¯ã Laravelã®ã³ã¢ã¨ãªãæ©è½ã§ Laravelã®ãã¡ããã¡ã便å©ã§éæ³ã®ãããªä»çµã¿ã å®ç¾ãã¦ããã¦ãããã®ã§ãã ããããæ®æ®µLaravelã使ã£ã¦ãã¦ã ç°¡åãªã¢ããªã±ã¼ã·ã§ã³ãä½ãããã§ã¯ãã¾ãæèããªãã¨ããããããã¾ããã ï¼æèããªãã¦ããããã«ãªã£ã¦ãï¼ ãã®ãµã¼ãã¹ã³ã³ããã«ã¤ãã¦ç解ããã¨ã ãã便å©ã«èªåã§ã«ã¹ã¿ãã¤ãºãããã§ãããã ä½ããé¢ç½ãã§ãã Laravelã®ãµã¼ãã¹ã³ã³ããã¨ã¯ä½ãªã®ãã«ã¤ã㦠調ã¹ã¾ããã®ã§ãç°¡åã«è§£èª¬ãã¾ãã ãµã¼ãã¹ã³ã³ããã¨ã¯ ãµã¼ãã¹ã³ã³ããã¨ã¯ã ä¸è¨ã§ãã㨠ãã¯ã©ã¹ãã¤ã³ã¹ã¿ã³ã¹åãã¦ããããã·ã¼ã³ã ã¨ããã¤ã¡ã¼ã¸ã å ·ä½çãªã³ã¼ãã§è¦ã¦ã¿ã¾ãã ClassAãã¤ã³ã¹ã¿ã³ã¹åããã¨ãã æ®éã¯ãã®ããã«newãã¾ããã
ã¯ããã« Laravelã使ã£ã¦ã¢ããªã±ã¼ã·ã§ã³ãå®è£ ããããã§ã æã便å©ã ã¨æããæ©è½ãããã³ã³ã¹ãã©ã¯ã¿ã¼ã¤ã³ã¸ã§ã¯ã·ã§ã³ãã§ãã Laravel 6.x ã³ã³ããã¼ã©ï¼ã³ã³ã¹ãã©ã¯ã¿ã¼ã¤ã³ã¸ã§ã¯ã·ã§ã³ ã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿ã®å¼æ°ã§ãç¹å®ã®ã¯ã©ã¹ãå宣è¨ãã¦ããã ãã§ã èªåçã«å¼æ°ã¨ãã¦ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã渡ãã¦ãããã¨ããæ©è½ã§ãã ããã«ã¯ã ãµã¼ãã¹ã³ã³ããã®ãä¾å解決ãã¨ããæ©è½ãå©ç¨ããã¦ãã¾ãã ãµã¼ãã¹ã³ã³ããã¨ã¯ä½ãªã®ãï¼ ä¾å解決ã¨ã¯ä½ãªã®ãï¼ ã«ã¤ãã¦ã¯ãã¡ãã®è¨äºã§è§£èª¬ãã¦ãã¾ãã ãLaravelããµã¼ãã¹ã³ã³ããã¨ã¯ï¼ï¼ã¤ã®å¼·åãªæ¦å¨ãæã£ãã¤ã³ã¹ã¿ã³ã¹åãã·ã¼ã³ãç°¡åã«è§£èª¬ã å ã«ãã¡ãã®è¨äºãèªãã§ããµã¼ãã¹ã³ã³ããã®æ¦è¦ã«ã¤ãã¦ç解ãã¦ãã æ¬è¨äºãèªããã¨ããå§ããã¾ãã ä»åã¯ããã®ãµã¼ãã¹ã³ã³ããã®ãä¾å解決ãæ©è½ã®å é¨ã§ å ·ä½çã«ã©ã®
PHPã®stringã¯ä»»æã®ãã¤ãåãæ±ãã¾ãããJavaScript/JSONã¯Unicodeã§æ±ããæåããæ±ãã¾ãã PHPã®int / floatã¯ãã©ãããã©ã¼ã ä¾åã§ãããJavaScriptã®numberã¯æ´æ°ã¨å°æ°ãåã¬ãã«ã§åºå¥ãã¾ãã JSONã®arrayã«å¯¾å¿ããåã¯PHPã®arrayã®ãã¡ãªã¹ãã§ãããã®ã§ã PHPã¯é å(ãªã¹ã)ã¨é£æ³é åãåã¬ãã«ã§åºå¥ãããã©ã¡ããarrayã§ã ãªã¹ãã¯ãã¼ã0ããã®æãããªãé£çªã«ãªã£ã¦ããè¦ç´ ã0å以ä¸ã®é åã§ã array_is_list()é¢æ°ã§é£æ³é åã¨ãªã¹ããå¤å¥ã§ãã¾ã array_values()ã§é£æ³é åããªã¹ãã«å¤æã§ãã¾ã array_filter()ã®çµæã¯ãã£ã«ã¿ããããã¼ãã¹ããããããã®ã§ãªã¹ãã§ã¯ããã¾ããããçµæãarray_values()ã«éããã¨ã§ãªã¹ãã«ã§ãã¾ã JsonSerial
PHP 8.1ã¸ã®ã¢ããã°ã¬ã¼ãã«ã¾ã¤ããã¾ã¨ã PHP 8.1ã¸ã®ã¢ããã°ã¬ã¼ãã«ã¯ãmbstringã«ã¾ã¤ããããã¥ã¢ã«ã«è¨è¿°ãããªãå¾æ¹äºææ§ã®ãªãå¤æ´ãå«ã¾ãããã¨ãããã¾ãããã®ãã¨ãå¨ç¥ããã¹ãããã®è¨äºãæ¸ããã¨ã«ãã¾ããã ç§ã¦ãããã¯ãPHPã«ã³ãã¡ã¬ã³ã¹ 2022ã«ã¦ããæ²»ã£ã¦ããmbstring 令åæ代ã®æååããã¨ããã¿ã¤ãã«ã§ãã¼ã¯ãã¦ãã¾ãã以ä¸ã¹ã©ã¤ããåèã«ãã¦ãã ããã Major overhaul of mbstringã«ã¤ã㦠PHP 8.1ãããMajor overhaul of mbstringã¨å¼ã°ãããmbstringã®å¤§è¦æ¨¡æ¹ä¿®ã®å 容ãåæ ãããããã«ãªãã¾ãããå°ã£ããã¨ã«ãRFC(Request For Comments)ãChangelogãããã¥ã¢ã«ã«ãªãå 容ã§ãmbstringãå¤ç¨ããPHPã¦ã¼ã¶ã¼ã«ã¨ã¦ã¤ããªãå°æãããããã
å ãã¿ @localdisk ããã®è¨äºã§ãã ãã¡ãã§æ¦ãé©åã«èª¬æããã¦ãããã®ã®ï¼æç« ã®ã¿ã§å³ãç¡ãã¦ç´æçã«ææ¡ãã¥ããã®ã§ï¼åå¿è ã«ããã飲ã¿è¾¼ã¾ããããããã«å³ã«æãèµ·ããã¦ã¿ã¾ããã å³ è§£èª¬ illuminate/auth: æå°éã®èªè¨¼èªå¯ã³ã¢ãã¸ã㯠ã³ã¢ã³ã³ãã¼ãã³ã群㮠laravel/framework ã«å«ã¾ãã¦ãããã®ã§ãã Socialite 以å¤ã®ãã¹ã¦ã®ããã±ã¼ã¸ãï¼å®è³ªãã®ã³ã¢ã«ä¾åãã¦ãããã¨ã«ãªãã¾ãã 以ä¸ã®è¨äºã§ãã®ããã±ã¼ã¸ã®è©³ç´°ã«ã¤ãã¦èª¬æãã¦ããã®ã§ï¼ããã§ã¯ç«¯æã£ã¦èª¬æãã¾ãã ä¼çµ±ç Cookie ãã¼ã¹ã®ã»ãã·ã§ã³èªè¨¼ ãã¡ãã§ã解説ãã¦ããï¼ ãCookie ã«èå¥åãè¼ãï¼ããã«å¯¾å¿ããæ å ±ã¯ãµã¼ãå´ã®ãã¡ã¤ã«ã«è¨é²ããã ã¨ããææ³ã«è¿ããã®ã§ãã å®è£ 㯠illuminate/session ã«ããï¼ PHP ãã¤ãã£ãã®ã»
ãã®è¨äºã¯ Laravel Advent Calendar 2020 - Qiita æçµæ¥ã®è¨äºã§ãã TL;DR DDD ã "çã®" ã¯ãªã¼ã³ã¢ã¼ããã¯ãã£ã¯ï¼ Web æ¥çã«ããã大æµã®ç¾å ´ã§ã¯ãªã¼ãã¼ã¹ããã¯ã ãï¼å°å ¥ãã¦ãå ¨å¡ãã¤ãã¦ãããã¨ã¯éããªã app/UseCases ãã£ã¬ã¯ããªã ãåã£ã¦ï¼ãã¡ã¤ã³ãã¨ã«åä¸è²¬åãªã¯ã©ã¹ãç½®ãã¨ä½¿ããããã ActiveRecord æåã®ãã¬ã¼ã ã¯ã¼ã¯ã§ Repository ãã¿ã¼ã³ãç¡çã«å°å ¥ããã¨æ»ã¬ã®ã§ï¼ UseCase 㧠Eloquent Model ã®æ©è½ã使ããã¨ãæãã㪠ã¯ããã« Zenn ã§ã¯åæ稿ã§ããæ¥æ¬ã® Laravel ã³ãã¥ããã£ã§ã¯ããã馴æã¿ã®ããã§å®ã¯ãã¾ãé¡ãåºãã¦ããªãï¼ï¼ï¼ @mpyw ã¨ç³ãã¾ãããªã³ã©ã¤ã³ãµãã³ã®ç«ä»ãå½¹ã¨ãªã£ã Synapse ãæåã®ä»äºã§ãããï¼å°±è·å¾ããä¼ç¤¾ã
Speaker Deck This deck requires a password Password
PHP Conference Japan 2020 ãã¼ã¯åæã®è³æã§ãããã®ããããã¼ã¯ããªãã¨ç解ãé£ããããããã¾ããã https://youtu.be/UTKJ-Lgn3aI?t=36 â»åé é³å£°ãå°ããã§ãããã¤ã¯ãæã«æã£ã¦ããèããããããªãã¨æãã¾ãã è³æä¸ã® ADOP â¦
ãªã¼ãã³ã½ã¼ã¹ã®ããã°ã©ãã³ã°è¨èªãPHP7ãã§ãä¿®æ£ãããã°ããã®èå¼±ï¼ãããããï¼æ§ãçªãã³ã³ã»ããå®è¨¼ã³ã¼ããGitHubã§å ¬éãããã PHP7ã®èå¼±æ§ï¼CVE-2019-11043ï¼ã¯2019å¹´9æã«çºè¦ãããåå¹´10æ24æ¥ã«å ¬éãããæ´æ°çã®ã7.3.11ãã7.2.24ãã7.1.33ãã§ä¿®æ£ããããNGINXãµã¼ãã«å®è£ ãããPHPã§ããPHP-FPMããæå¹ã«ãªã£ã¦ããå ´åã«å½±é¿ãåããã¨ãããæªç¨ãããã°ãªã¢ã¼ãã§ã³ã¼ããå®è¡ãããæããããã å ¬éãããã³ã³ã»ããå®è¨¼ã³ã¼ãã®è©³ç´°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}