尊龙凯时人生就是搏

ÔõÑùʹÓÃComposerÖÎÀíThinkPHP6µÄÒÀÀµ¿â£¿

Ëæ×ÅwebÓ¦ÓóÌÐòµÄÒ»Ö±Éú³¤  £¬ÓÃÓÚÖÎÀíÒÀÀµÏîµÄ×é¼þÒѳÉΪ±Ø²»¿ÉÉٵŤ¾ß¡£composerÊÇphpÏîÄ¿ÖÐ×îÊ¢ÐеÄÒÀÀµÖÎÀí¹¤¾ßÖ®Ò»  £¬Ëü¿ÉÒÔÈÃÎÒÃÇÇáËɵØÖÎÀíºÍ¸üÐÂÏîÄ¿ÖÐËùÒÀÀµµÄ¿â¡£±¾ÎĽ«ÏÈÈÝÔõÑùʹÓÃcomposerÀ´ÖÎÀíthinkphp6µÄÒÀÀµ¿â¡£

Ò»¡¢×°ÖÃComposer

Ê×ÏÈҪȷ±£ÄãµÄϵͳװÖÃÁËPHP¡£È»ºó  £¬Äã¿ÉÒÔµ½composer¹ÙÍøÏÂÔز¢×°ÖÃComposer  £¬×°ÖÃÍê³Éºó  £¬ÊäÈëcomposerÏÂÁî  £¬ÈôÊÇ·ºÆðÒ»´ó¶ÑÐÅÏ¢¾Í˵Ã÷×°ÖÃÀÖ³ÉÁË¡£

¶þ¡¢³õʼ»¯ÏîÄ¿

ÎÒÃÇÔÚÑ¡¶¨ºÃÏîĿĿ¼ºó  £¬·­¿ªÏÂÁîÐд°¿Ú£¨»òÖնˣ©  £¬È»ºóÇл»µ½¸ÃĿ¼Ï¡£ÔÚ¸ÃĿ¼ÏÂÔËÐУº

Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡±£»

composer init

´ËÏÂÁ»á½¨ÉèÒ»¸öеÄcomposer.jsonÎļþ¡£ÔËÐиÃÏÂÁîʱ  £¬Composer»áѯÎÊÓйØÄãµÄÏîÄ¿µÄÐÅÏ¢¡£ÀýÈç  £¬ÏîÄ¿Ãû³Æ  £¬ÐÎò  £¬×÷Õߵȡ£µ±Íê³ÉÉèÖúó  £¬Composer½«»áÌìÉúÒ»¸öcomposer.jsonµÄÎļþ¡£¸ÃÎļþÊÇÎÒÃǺóÐøʹÓÃcomposerµÄÒªº¦  £¬ÓÉÓÚËü¼Í¼ÁËÎÒÃÇÏîÄ¿ËùÒÀÀµµÄËùÓаü¡£

Èý¡¢×°ÖÃThinkPHP6

ÏëÒªÔÚÏîÄ¿ÖÐʹÓÃThinkPHP6  £¬ÎÒÃÇÐèÒªÔÚcomposer.jsonÖÐÌí¼Ó¶ÔËüµÄÒÀÀµ¡£ÎÒÃÇ¿ÉÒÔÔÚcomposerµÄ¹Ù·½¿ÍÕ»ÖÐÕÒµ½ThinkPHP6¡£·­¿ªÖÕ¶Ë  £¬½øÈëÏîĿĿ¼  £¬ÔËÐÐÒÔÏÂÏÂÁ

composer require topthink/think

ÔËÐиÃÏÂÁîºó  £¬Composer½«×Ô¶¯ÏÂÔØ¡¢×°ÖúÍÉèÖÃThinkPHP6¼°ÆäËùÓÐÒÀÀµÏî¡£

ËÄ¡¢×°ÖÃÀ©Õ¹°ü

ÈôÊÇÄãÐèÒªÔÚÏîÄ¿ÖÐʹÓÃÆäËûÀ©Õ¹°ü  £¬Ö»ÐèÔÚcomposer.jsonÎļþÖÐÉùÃ÷ÄãËùÐèÒªµÄÀ©Õ¹°ü  £¬²¢ÔËÐÐÒÔÏÂÏÂÁ

composer update

¸ÃÏÂÁ»áÏÂÔز¢×°ÖÃÄãËùÐèÒªµÄÀ©Õ¹°ü  £¬Ö´ÐÐÍê±ÏºóÔÚvendorĿ¼Ï½«ÌìÉúËùÐèÒªµÄÀ©Õ¹°ü¡£

Îå¡¢×°ÖýϾɰ汾

ÈôÊÇÄãÐèҪװÖýϾɵİ汾  £¬¿ÉÒÔÔÚcomposer.jsonÎļþÖÐÖ¸¶¨°æ±¾  £¬ÀýÈç  £¬Òª×°ÖÃ5.1.x°æ±¾µÄThinkPHP6  £¬·­¿ªcomposer.jsonÎļþ  £¬ÔÚrequire×Ö¶ÎÏÂÌí¼ÓÒÔÏÂÄÚÈÝ£º

“topthink/think”: “5.1.*”

È»ºóÔËÐÐÒÔÏÂÏÂÁîʵÏÖ×°Öãº

composer update

Áù¡¢¸üÐÂÒÀÀµ

µ±ÄãÐèÒªÉý¼¶ÒÑ×°Öõİüʱ  £¬Ö»ÐèÔËÐÐÒÔÏÂÏÂÁ

composer update

´ËÏÂÁî»á×Ô¶¯ÏÂÔز¢¸üÐÂÏîÄ¿ÖÐÒÑ×°ÖõÄËùÓаü¡£

Æß¡¢×ܽá

ÔÚ±¾ÎÄÖÐ  £¬ÎÒÃÇÏÈÈÝÁËÔõÑùʹÓÃComposerÖÎÀíThinkPHP6µÄÒÀÀµ¿â¡£Ê¹ÓÃComposer¿ÉÒÔÇáËɵØÌí¼Ó¡¢¸üкÍɾ³ýÒÀÀµÏî  £¬¼õÇáÁËÊÖ¶¯ÖÎÀíÒÀÀµÏîµÄÊÂÇéÁ¿  £¬ÔöÇ¿ÁË¿ª·¢Ð§ÂÊ¡£ÈôÊÇÄ㻹ûÓÐʹÓÃComposerÀ´ÖÎÀíÒÀÀµÏî  £¬ÇëʵÑéһϠ £¬Ëü½«ÎªÄãµÄ¿ª·¢´øÀ´¼«´óµÄ±ãµ±¡£

ÒÔÉϾÍÊÇÔõÑùʹÓÃComposerÖÎÀíThinkPHP6µÄÒÀÀµ¿â£¿µÄÏêϸÄÚÈÝ  £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí  £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø  £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È  £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ  £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢  £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢  £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå  £¬9:30-18:30  £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ