laravel news ã«laravel scoutãmeilisearchã«å¯¾å¿ããã¨æ¸ãã¦ãã£ãã®ã§ãä»å試ããã¿ã¾ããã meilisearchã¨ã¯ï¼ãªã¼ãã³ã½ã¼ã¹ã§é«éãªå ¨ææ¤ç´¢ã§ãããµã¼ãã¨ã³ã¸ã³ããµã¼ãæã®ã¿ã¤ãã«ã対å¿ãã¦ããã Laravelã¤ã³ã¹ãã¼ã«ãã¦ãããã¼ã¿æ¿å ¥laravel ã¤ã³ã¹ãã¼ã« $laravel new meilisearch-test ããã¸ã§ã¯ãã®ãã£ã¬ã¯ããªã«ç§»å $cd meilisearch-test ãã¼ã¿ãã¼ã¹ãä½æããããã«mysql ã«ãã°ã¤ã³ï¼ããã¯ç°å¢ã«ä¾åï¼ $mysql -uroot -p ãã¼ã¿ãã¼ã¹ãä½æ (.envãã¡ã¤ã«ã®DB_DATABASEã¨åãã«ããã¨ã¹ã ã¼ãº) mysql> create database meilisearch_test; ãã¼ã¿ãã¼ã¹ãä½ã£ããmysqlããexit mysql> exit
PEAR::Mail_mimeDecodeã使ããæºåç·¨ã¯ãã¡ãã æ¨æºå ¥åããã¡ã¼ã«ãã¼ã¿ãèªã¿è¾¼ã¿ãFrom,To,件åçå種ãããããã³æ¬æã表示ãæ·»ä»ãã¡ã¤ã«ãä¿åãããµã³ãã«ãJISæåã³ã¼ãæ¬æã«å¯¾å¿ããããå¤é¨ã³ãã³ãnkfã使ã£ã¦ããã®ã§ãããã¯å ¥ãã¦ããã apt install nkf ãã¹ãã¡ã¼ã«ã¯ã以ä¸ã®ãããªæãã§Gmailã§ä½æãèªåã«éä¿¡ã Subject: ãã¹ãã¡ã¼ã«ã§ãï¼æ·»ä»ã¤ãï¼ From: Note Server <servernote.net@gmail.com> To: servernote.net@gmail.com ããã«ã¡ã¯ã ãã¹ãã¡ã¼ã«ãéãã¾ãã ãµã³ãã«ç»åãæ·»ä»ãã¾ãã ---- WEBMASTER æ·»ä»ãã¡ã¤ã«ã¯ã以ä¸ã®ãµã³ãã«é²ç»åcloudy.jpgãæ·»ä»ã åä¿¡å´ã«éããã¦æ¥ãã¡ã¼ã«ã®çãã¼ã¿ã¯ä»¥ä¸ã®ãããªæãã§ããã M
PHPã使ã£ãããã°ã©ã ã§ãç°¡åãªWebAPIãå®è£ ãããå ´åãããã¾ãã å°ããªWebAPIãµã¼ããªã©ãã·ã³ãã«ãªãµã¼ãã¹ãå®è£ ããæã«Slim Frameworkã®ãããªãã¤ã¯ããã¬ã¼ã ã¯ã¼ã¯ã¯å©ãã«ãªãã¾ãããã¯ã©ã¤ã¢ã³ãã®èªè¨¼ãããã¯ã«ãªããã¨ãããã¾ãã社å LANãªã©ãéããç°å¢ã§ããã°ã©ã ãå®è¡ãããå ´åãªãèªè¨¼ãªãã§ãµã¼ãã¹ãå ¬éãã¦ãè¯ãã§ãããã¤ã³ã¿ã¼ãããä¸ã«å ¬éããããµã¼ãã®å ´åãããã¯ããã¾ããã ããã§ãä»åã¯ãAPIãã¼ã«ããç°¡åãªã¢ã¯ã»ã¹èªè¨¼ãå®è£ ãã¦ã¿ã¾ãã ãµã¼ãä¸ã«ç»é²ãããAPIãã¼ããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã¨ãã¦éã£ã¦ããã¯ã©ã¤ã¢ã³ãããã®ã¿å¦çãè¡ãããã¼ãéã£ã¦æ¥ãªããªã¯ã¨ã¹ãã¯ã¨ã©ã¼å¿çãè¿ãã¾ãã ä»åã®è¨äºã§ã¯ãSlim Frameworkã®ãã¼ã¸ã§ã³3ãå©ç¨ãã¦ãã¾ãã Slimã«ãããããã«ã¦ã§ã¢æ©è½ Slim Frameworkã§ã¯ããµã¼
ãã¼ãã¼ / GMO PEPABO inc. 2017.10.08 / PHPã«ã³ãã¡ã¬ã³ã¹2017 http://phpcon.php.gr.jp/2017/#home PHPãå©ç¨ããã¦ã§ããµã¤ãã®ç´66%(â»1)ã¯ãã»ãã¥ãªãã£ãµãã¼ãã®åããPHP5.5以ä¸ã®ãã¼ã¸ã§ã³ãå©ç¨ãã¦ãã¾ãã ã¢ããã°ã¬ã¼ãã®å¿ è¦æ§ã¯ç解ãã¦ãã¦ããå¾æ¹äºææ§ã®ãªãå¤æ´ç¹ã®ä¿®æ£ã課é¡ã¨ãªãå¾åãã«ããç¾å ´ãå°ãªããªãã§ãããã å æ¥ãã¼ã ãã¼ã¸ä½æãµã¼ãã¹ãã°ã¼ãããPHP5.2ãã7.1ã¸ã¢ããã°ã¬ã¼ãããããããå¾ãããç¥è¦ãããã°(â»2)ã«ã¦å ¬éãã¾ããã æ¬ã»ãã·ã§ã³ã§ã¯ããã°ã§ãä¼ããããªãã£ãå 容ãå ãã¦ãå®å ¨ãã¤çæéã§ã¢ããã°ã¬ã¼ãããæ¹æ³ããç´¹ä»ãã¾ãã â»1 https://w3techs.com/technologies/details/pl-php/all/all â»2 http
ãã tanakahisateru.hatenablog.jp ã ãã¶å¤ããªã£ã¦ãPHP7ã®äºæ ã¨ãåæ ã§ãã¦ããªãã®ããã£ã¦ãè¨æ¸¬ãç´ãã¦ã¿ããã¨â¦ ã§ããã®ã¨ããã¾ãã¾ GitHub - phpbench/phpbench: PHP Benchmarking framework ã使ã£ããããããæãã®ã»ãããã£ããã¨ãããã㧠GitHub ã«ä¸ãã¾ããã github.com PhpBench ã¯ãã³ããã¼ã¯ãã¬ã¼ã ã¯ã¼ã¯ã§ããåºæ¬ãPHPUnit ã®ããã«ããã³ããã¼ã¯ç¨ã®ã¯ã©ã¹ã«åã·ããªãªã表ãã¡ã½ãããæ¸ãã°OKããã¨ã¯ CLI ãã vendor/bin/phpbench run ... ã§å¼æ°ã«ãªãã·ã§ã³ããããæå®ãã¦å®è¡ã ãããããã£ã 1 setUp() çãªã¡ã½ãããã¢ããã¼ã·ã§ã³ã§æå®ã§ãã¾ããäºåæ¡ä»¶ã®æºåããã³ããã¼ã¯çµæã«å½±é¿ããªããããéãããã®ããã
è¿½è¨ (2018.12.30) PHP5.6, PHP7.1 ã«å ãã¦ãPHP7.2, PHP7.3 ã«ã対å¿ãã¾ããï¼ ã¾ããPHP ãã memcached ã«ã¤ãªããµã³ãã«ã追å ãã¾ããã ã¯ããã« ããã«ã¡ã¯ãå°è¥¿ã§ããéçºç°å¢ã®æ§ç¯ã£ã¦é¢åã§ãããã¼ã ä»åãPHP, MySQL, PHP-FPM, nginx, memcached ã®ãã¼ã«ã«éçºç°å¢ããDocker ã使ã£ã¦ã³ãã³ãä¸çºã§ä½ãããããã«ããã¨ããããã¾ãã«ç°¡åã§é©ããã®ã§ããã®æ¹æ³ããç´¹ä»ãã¾ãã ã½ã¼ã¹ã³ã¼ããgithubã«ããã¦ããã¾ã ã®ã§ãããã«èµ·åã§ãã¾ãï¼ éçºç°å¢æ§ç¯ã®ããã©ããã åã¯PHP+MySQL+nginx+PHP-FPMã®ç°å¢ããã使ãã®ã§ããããããã£ãæ§æãããããã®ãã·ã³ã§åç¾ããã®ã£ã¦çµæ§é¢åãªãã§ãããã1ããã¸ã§ã¯ããªãã¾ã ããã§ããã大ä½ããã¸ã§ã¯ãã«ãã£ã¦ããããã®ãã¼
ããã«ã¡ã¯ãpixivã§PHPããã£ã¦ãããã¿ã§ããå¥å ¨ãªã³ã¼ããã¼ã¹ã¯é»ã£ã¦ãéã£ã¦ããªãã®ã§ããã¼ã å ¨ä½ã§éçºå¹çãé«ãããããªæ¹åãããã®ããä»äºã§ãã ããã¹ãã¨ãã£ã¿ã¯microæ¨ãã§ã ã¾(ãï¼ï¼)ï¾ï¾â ãã11æ3æ¥ã«å¤§ç°åºç£æ¥ãã©ã¶ PiOã§éå¬ãããPHPã«ã³ãã¡ã¬ã³ã¹ 2016ã«ã¦å¤§æªç£ã«è¹èºãããªããPhanã«ã¤ãã¦30åã®ã»ãã·ã§ã³çºè¡¨ããããã¾ããã®ã§ããã®å 容ãç´¹ä»ãã¾ãï¼ Phanã¨ã¯ Phanã¯PHPã®éç解æãã¼ã«ã§ããéçºå ã¯ãã³ãã¡ã¤ãã®ãã¼ã±ãããµã¼ãã¹ãéå¶ããç¾å¨PHPä½è ã®Rasmus Lerdorfæ°ããç±³Etsy社ã§ãããã¡ããRasmus Lerdorfæ°ãéçºã«åå ãã¦ã¾ãã Phanã¯ä»¥ä¸ã®ãããªé ç®ãæ¤åºã§ãã¾ãã é¢æ°ã»ã¯ã©ã¹ã»å®æ°ã»å¤æ°ãªã©ããã¹ã¦å®ç¾©æ¸ããã¢ã¯ã»ã¹ã§ããã é¢æ°ã®åã¨å¼æ°ã®æ°ãåã£ã¦ãã PHP5ã¨PHP7ã®
(Last Updated On: 2018å¹´8æ13æ¥)PHPã¹ã¯ãªãããåæãããã¼ã«ãã¾ã¨ãããã¼ã¸ã®ç´¹ä»ã§ãã PHPã®ã³ã¼ããåæãã¦èå¼±æ§ãè¦ã¤ããçºã®ãã¼ã«ãããPHPã½ã¼ã¹ã³ã¼ããæ´å½¢ãããã¼ã«ãPHPã¹ã¯ãªããã®å 容ã®åæããããã¼ã«ãªã©è²ã ãããããã¾ã¨ã¾ã£ã¦ãã¾ãã https://github.com/exakat/php-static-analysis-tools ããã«è¼ã£ã¦ããªãç©ã§ãã¤ãå©ç¨ãã¦ããç©ã«3v4l.orgãããã¾ããPHPã½ã¼ã¹ã³ã¼ãï¼ã¹ã¯ãªããã®è§£æãã¼ã«ã¨ãã£ã¦ãè¯ãç©ã§ãã¡ãã£ã¨ããã³ã¼ãããã§ãã¯ããã«ã¯ãªã¹ã¹ã¡ã§ããç°¡åã«æ©è½ãç´¹ä»ãã¾ãã ç¾å¨ã®ãªãªã¼ã¹çãããµãã¼ããçµäºããPHP4ã¾ã§å«ããè¤æ°ã®PHPå®è¡ç°å¢ã§PHPã¹ã¯ãªãããå®è¡ãçµæãæ¯è¼ è¤æ°ã®PHPå®è¡ç°å¢ã§ã®ã¹ã¯ãªããå®è¡æéã®æ¯è¼ OPã³ã¼ãã®è¡¨ç¤ºï¼PHPãã¤ãã³
PHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿2016ã®åºèª¿è¬æ¼ã§ãã
ã¯ããã¾ãã¦ã4æãããªããã³ã¯ã§åãå§ãã¾ãã @kalibora ã¨ç³ãã¾ãããããããé¡ããã¾ãã ãã¦ããªããã³ã¯ã§ã¯ Symfony2 ã使ã£ã¦ãããORãããã¼ã«ã¯ããã©ã«ãã® Doctrine2 ã使ç¨ãã¦ããã®ã§ããã ãããªä¸ã§ç§ãå¾ãç¥è¦ãããã¤ãç´¹ä»ãããã¨æãã¾ãã Fetch mode ã®è©± Doctrine2 ã«ã¯ fetch mode ã¨ããæ¦å¿µãããã¾ãã Annotations Reference - Doctrine Object Relational Mapper (ORM) ãè¦ã¾ã㨠Doctrine2ã«ã¯ä¸è¨ã® fetch mode ãããããã§ãã fetch mode å®ç¾©ã§ããå ´æ EAGER @ManyToOne @ManyToMany @OneToOne @OneToMany LAZY @ManyToOne @ManyToMany @O
CSSãå°åãã«ãã¦@importã§èªã¿è¾¼ãã§ç®¡çãã¦ããæ¹ãå¤ããã¨æãã¾ãããããã§ã¯HTTPãªã¯ã¨ã¹ãããã¡ã¤ã«ã®æ°ã ãçºçãã¦ãããã©ã¼ãã³ã¹çã«è¯ãããã¾ããã Googleããã¼ã¸ã®è¡¨ç¤ºé度ãæ¤ç´¢çµæã«åæ ããã¨ãè¨ãåºãããããã¦ããã®ã§ãããã¯ãããªã¯ã¨ã¹ãæ°ãæ¸ããããç¡ãã§ããï¼ ã§ãæåã§ãã¡ã¤ã«ãä¸ã¤ä¸ã¤é£çµããã®ã¯ã¨ã¦ãé¢åã§ãï¼ã¨è¨ãããã§ããããªé¢åãªä½æ¥ãèªåã§ãã£ã¦ãããPHPã®ã¯ã©ã¹ãæ¸ãã¦ã¿ã¾ããã ã©ã¤ãã©ãªã«ã¤ã㦠@importã§è¤æ°ã®ãã¡ã¤ã«ãèªã¿è¾¼ãã§ããCSSããåçã«è§£æããé£çµã»å§ç¸®ãè¡ãã¾ããã¾ãã表示ããéã«Last-ModifiedãExpiresãªã©ã®HTTPãããã¼ãéåºããããgzipå§ç¸®ãè¡ããªã©ããªã¯ã¨ã¹ããåºæ¥ãã ã軽æ¸ã§ããããã«ãã¦ãã¾ãã ãã¦ã³ãã¼ã CSS_DynamicCompressor ã©ã¤ã»ã³ã¹ MI
ããã«ã¡ã¯ã西山ã§ãã æ¯æ¥ç¶ãç天ã¨å¤æ¹ã«æ¥è¥²ãã豪é¨ã§å¤ããããä¸æ°ã«å ¨éã«ãªãã¾ãããã ä»åã¯ãããã¤ãã¼ã«ãRocketeerãã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ãã ãã㯠GitHubä¸ã§å ¬éããã¦ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ (OSS) ã§ãããªãã¸ããªã¯ https://github.com/Anahkiasen/rocketeer ã«ããã¾ããã©ã¤ã»ã³ã¹ã¯ MIT ã§ãã ãããã¤ãã¼ã«ã¨ããã¨ã以åã®ç¾å ´ã§ Capistrano ã使ã£ã¦ããã®ã§ããããã㯠Ruby 製ã§ããã Rocketeer 㯠Capistrano ã«ä¼¼ãæ§æãæ㤠PHP 製ã®ã½ããã¦ã§ã¢ã§ããæ®æ®µãPHP ã®æ¡ä»¶ã«é¢ãããã¨ãå¤ãã®ã§ããããããã¤ãã¼ã«ãåã PHP ã§æ¸ããã¦ããã»ããå®å¿æï¼ï¼ï¼ãããã¾ãããã ã¾ããComposer ã PHPUnit ã®å®è¡ã«ãããã©ã«ãã§å¯¾å¿
ãã¯ã·ãæ ªå¼ä¼ç¤¾ Advent Calendar 2015ã®18æ¥ãã®è¨äºã§ãããã¾ãã qiita.com ããã«ã¡ã¯ãããã¿ã§ããå»å¹´ã®AdventCalendarã§ã¯Emacsã«pixiv-novel-modeãä½ã£ãã£ã¦è¨äºãæ¸ãã¾ããã趣å³ã¯Qiitaã§ãã ç¾å¨pixiv.netã§ã¯PHP 7ã«ç§»è¡ãé²ãã¦ãã¾ãããããã«å é§ãã¦ããã®æ°å¹´éã«å®æ½ãã¦ããpixivã®æ¹åã«ã¤ãã¦ç´¹ä»ãããã¾ãã å®éã®ã¨ããç§èªèº«ã¯ãã¾ãä»äºããã¦ãªãã®ã§ããã®è¨äºã®å 容ã®ã»ã¨ãã©ã¯ã»ãã®ã¡ã³ãã¼ã®æ¥ç¸¾ãã¼ã ã®ææã§ã p(ixi)v æåã«å®£ä¼ããã¾ãããæè¡è©è«ç¤¾ãã¾ã®WEB+DB PRESSã«ã¦ãpixivã®éçºãã¼ã ã¨ãã¦ãPHP大è¦æ¨¡éçºå ¥éããé£è¼ãã¦ãã¾ãããã®è¨äºã§pixivã®PHPéçºã«èå³ã湧ãã¾ãããããã²è³¼èªãã¦ããã ããã° ã¾(ãï¼ï¼)ï¾ï¾â 1. ãããã¤æ©è½ã®ææ¬
Joomla!ã«ã³ã¼ãå®è¡èå¼±æ§(CVE-2015-8562)ãããããããå ¬éåããæ»æã観測ããã¦ããã¨è©±é¡ã«ãªã£ã¦ãã¾ãã Joomlaã«æ·±å»ãªèå¼±æ§ããããå ¬é2æ¥åããæ»ææ¨ªè¡ ãJoomla!ãã«åã³æ·±å»ãªèå¼±æ§ã3.4.6ã¸ã®éãããªã¢ãããã¼ããæ¨å¥¨ ãããå ¬éã®åã«æ»æãå§ã¾ãç¶æ ããã¼ããã¤èå¼±æ§ãã¨è¨ãã¾ãããããã§ã¯ããã®èå¼±æ§ã®ã¡ã«ããºã ã¯ã©ããªãã®ã ãããã¨æãã調ã¹ã¦ã¿ã¾ããã çµè«ããè¨ãã°ããã®åé¡ã¯Joomla!å´ã«é大ãªèå¼±æ§ã¯ãªããPHPã®æ¢ç¥ã®èå¼±æ§(CVE-2015-6835)ãåå ã§ããã®ã§å ±åãã¾ãã exploitã調ã¹ã¦ã¿ã æ¢ã«ãã®åé¡ã®exploitã¯å ¬éããã¦ãã¾ãããæªãåãçä¼¼ããã¨ãããªãã®ã§URLçã¯å²æãã¾ãã以ä¸ã®ãã¼ã¸ã§ã¯æ»æã®åçã説æããã¦ãã¾ãã Vulnerability Details: Joomla! Re
PHPã®çã¿ã®è¦ªâ â ãã©ã¹ãã¹â â ã»ã©ã¼ããæ°ã¤ã³ã¿ãã¥ã¼ 2015å¹´12æã«ç¡äºå ¬éãããPHP7ããã®å ¬éã«å ç«ã£ã¦PHPã®çã¿ã®è¦ªã§ããã©ã¹ãã¹ã»ã©ã¼ããæ°ã«è©±ã伺ãæ©ä¼ãããã¾ãããè±èªã§è¡ãããä¸æéã®ã¤ã³ã¿ãã¥ã¼ã¯é·å¤§ã§ããã©ã¹ãã¹æ°ã®ææ³ãããåãã話é¡ãå¤ããå¯è½ãªéããã®ã¾ã¾ã®å½¢ã§ãä¼ããã¹ãããã®æ¨¡æ§ãã¹ã¦ããå±ããã¾ãã ãªããã¤ã³ã¿ãã¥ã¼ã¯10æã«éå¬ãããPHPã«ã³ãã¡ã¬ã³ã¹2015ã®è¬æ¼çµäºå¾ã«è¡ããããªãªã¼ã¹ã«é¢ãã話é¡ãªã©ã¯ãã®æç¹ã§ã®ãã®ã§ãã ç¾å¨ã®ä»äºã¨çãç«ã¡ ââââ ã¾ãã¯ãPHPãä½ã£ã¦ãã ãã£ã¦ãããã¨ããããã¾ããä»æ¥ã®åºèª¿è¬æ¼ããã°ãããã£ãã§ãã ã©ã¹ãã¹ï¼ãããã¨ããããã¾ãã ââââ ãããªãã§ãããå人çãªè³ªåããå§ãã¦ãããã§ããããã ã©ã¹ãã¹ï¼ã©ããã ââââ Etsyã§ã¯ã©ã®ãããªãä»äºããªãã£ã¦ãããã§ããï¼ ã©ã¹ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}