thinkphpµÄ°æ±¾ÔÚÄÄ¿´
thinkphpÊÇÒ»¸ö¿ªÔ´µÄphp webÓ¦ÓóÌÐò¿ª·¢¿ò¼Ü£¬×Ô1999ÄêÍƳöÒÔÀ´£¬¾Óɶà´ÎÖع¹ºÍÉý¼¶£¬ÒѳÉΪÁËÒµ½çµÄ×ÅÃû¿ò¼Ü¡£
¹ØÓÚ¿ª·¢ÕßÀ´Ëµ£¬Ïàʶ×Ô¼ºËùʹÓõÄThinkPHP°æ±¾ÊǺÜÊÇÖ÷ÒªµÄ£¬ÓÉÓÚËü¾öÒéÁË¿ò¼ÜµÄÌØÕ÷¡¢ÐÔÄܺͼæÈÝÐÔ¡£ÄÇô£¬ThinkPHPµÄ°æ±¾ÔÚÄÇÀïÉó²éÄØ£¿ÏÂÃæÀ´ÏÈÈÝһϡ£
Éó²é¹Ù·½Îĵµ
¹Ù·½ÎĵµÊÇÉó²éThinkPHP°æ±¾µÄÊ×Ñ¡ÒªÁì¡£ÔÚ¹Ù·½ÎĵµµÄÊ×Ò³£¬Äã¿ÉÒÔ¿´µ½ÏÔʾµÄÊÇÄ¿½ñ°æ±¾ºÅ£¬ÀýÈçÏÖÔÚ×îеİ汾ÊÇThinkPHP 6.0£¬ÈôÊÇÄãʹÓõÄÊǸð汾£¬ÄÇô¹Ù·½ÎĵµÉϵÄËùÓÐÄÚÈݾÍÊÇÊÊÓÃÓÚÄãµÄ¡£
±ðµÄ£¬ÔÚ¹Ù·½ÎĵµÖÐÒ²ÌṩÁ˶ÔÀúÊ·°æ±¾µÄÎĵµÖ§³Ö¡£ÄãÖ»ÐèÒªÔÚÒ³Ãæµ×²¿µã»÷¡°ÀúÊ·°æ±¾¡±£¬¼´¿ÉÉó²éÒÔÇ°µÄ°æ±¾ÄÚÈݺÍÏà¹ØÎĵµ¡£
Éó²éÓ¦ÓÃĿ¼Öеİ汾ºÅ
ÔÚÄãµÄÓ¦ÓÃĿ¼Ï»áÓÐÒ»¸öÃûΪ¡°thinkphp¡±µÄÎļþ¼Ð£¬·¿ªÕâ¸öÎļþ¼Ð£¬Äã»á¿´µ½ÆäÖÐÓÐÒ»¸öÎļþÃûΪ¡°version.php¡±¡£Õâ¸öÎļþÖаüÀ¨ÁËÄ¿½ñÓ¦ÓÃËùʹÓõÄThinkPHP¿ò¼Ü°æ±¾µÄÐÅÏ¢¡£Éó²é¸ÃÎļþ£¬Äã¿ÉÒÔ¿´µ½ÈçϵÄÐÅÏ¢£º
Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡±£»
<?php return [ // Ä¿½ñ¿ò¼Ü°æ±¾ 'thinkphp_version' => '6.0.0', ];
µÇ¼ºó¸´ÖÆ
ÈçÉÏËùʾ£¬Ä¿½ñÓ¦ÓÃËùʹÓõİ汾ÊÇ6.0.0¡£Äã¿ÉÒÔÔÚÈκÎʱ¼äʹÓÃÕâ¸öÒªÁìÀ´È·¶¨ÄãµÄÓ¦ÓÃËùʹÓõÄThinkPHP°æ±¾¡£
Éó²écomposer.jsonÎļþ
ÈôÊÇÄãÊÇͨ¹ýcomposer×°ÖÃÁËThinkPHP£¬ÄÇôÔÚcomposer.jsonÎļþÖÐÒ²ÄÜ¿´µ½ËüµÄ°æ±¾ºÅ¡£ÔÚÄãµÄÓ¦ÓÃĿ¼Ï£¬·¿ªcomposer.jsonÎļþ£¬Äã¿ÉÒÔÕÒµ½ÈçϵÄÄÚÈÝ£º
"require": { "topthink/framework": "^6.0" },
µÇ¼ºó¸´ÖÆ
ÈçÉÏËùʾ£¬ÕâÀïµÄ°æ±¾ºÅÊÇ”^6.0″£¬ÌåÏÖÄ¿½ñÓ¦ÓÃËùʹÓõÄÊÇThinkPHP 6.xϵÁÐÖеÄ×îа棬Æä´ÎÊý×Ö£¨¼´°æ±¾ºÅÖеġ°6¡±£©ÌåÏÖ´ó°æ±¾£¬Ä©Î²Êý×ÖÌåÏÖС°æ±¾¡£
×ܽá
ÎÞÂÛÄãÔÚºÎʱÐèÒªÖªµÀThinkPHP°æ±¾£¬ÒÔÉÏÈýÖÖÒªÁ춼ÊÇ¿ÉÐеġ£Í¨¹ýÉó²é¹Ù·½Îĵµ¡¢Ó¦ÓÃĿ¼ÖеÄÎļþ¡¢»òÕßcomposer.jsonÎļþ£¬Ä㶼¿ÉÒÔÇáËÉ»ñµÃ×Ô¼ºÊ¹ÓõÄThinkPHP°æ±¾ÐÅÏ¢¡£
ÔÚÒ»Ñùƽ³£¿ª·¢ÖУ¬Ïàʶ°æ±¾ÐÅÏ¢ÊǺÜÊÇÖ÷ÒªµÄ¡£²»µ«¿ÉÒÔ°ü¹ÜÓ¦ÓõļæÈÝÐÔ£¬Ò²È·±£ÁË×îÐÂÌØÕ÷µÄʹÓúÍÇå¾²ÐÔµÄÌáÉý¡£
ÒÔÉϾÍÊÇthinkphpµÄ°æ±¾ÔÚÄÄ¿´µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡