×ðÁú¿­Ê±¹ÙÍøµÇ¼

composerɾ³ýlaravel

¸ÅÊö

Composer ÊÇ PHP ÒÀÀµÖÎÀí¹¤¾ß£¬Ëü¿ÉÒÔ×ÊÖúÎÒÃÇ×Ô¶¯×°ÖÃÒÀÀµ°ü¡¢×Ô¶¯¼ÓÔØÀàºÍÎļþ¡¢ÖÎÀí×é¼þµÈ¡£ÔÚ Laravel ÖУ¬Composer ÊÇÐëÒªµÄ¹¤¾ß£¬ÓÉÓÚËü¿ÉÒÔ×Ô¶¯ÏÂÔØ Laravel ºÍÆäËûÀ©Õ¹°ü£¬ÒÔ¼°¿ØÖÆ Laravel ϵͳµÄ°æ±¾ºÍ¸üС£±¾ÎĽ«ÏÈÈÝÔõÑùʹÓà Composer ɾ³ý Laravel¡£

°ì·¨

ɨ³ý Laravel Ó¦ÓóÌÐò

ÔÚɾ³ý Laravel ֮ǰ£¬ÐèÒªÇå¿Õ Laravel Ó¦ÓóÌÐòºÍËùÓÐÎļþ¡£É¾³ý Laravel Ó¦ÓóÌÐòÓÐÁ½ÖÖÒªÁ죺

µÚÒ»ÖÖÒªÁìÊÇÊÖ¶¯É¾³ýÕû¸öÓ¦ÓóÌÐò£¬°üÀ¨Ó¦ÓóÌÐòµÄ¸ùĿ¼¡¢bootstrap/cache Ŀ¼¡¢.env ÎļþµÈ¡£ÕâÖÖÒªÁì¼òÆÓÒ×ÐУ¬µ«Ëü²»¿ÉÈ·±£ËùÓÐÏà¹ØÎļþ¶¼±»É¨³ý¡£

µÚ¶þÖÖÒªÁìÊÇʹÓà Composer ÏÂÁîɨ³ýËùÓÐ Laravel ³ÌÐòÎļþ£¬°üÀ¨ÒÀÀµ°ü¡¢×Ô¶¯ÌìÉúµÄÎļþµÈ¡£Ê×ÏÈ£¬½øÈë Laravel Ó¦ÓóÌÐòµÄ¸ùĿ¼£¬È»ºóÖ´ÐÐÒÔÏÂÏÂÁ

composer remove laravel/laravel --dev

µÇ¼ºó¸´ÖÆ

ÔÚÕâ¸öÏÂÁîÖУ¬–dev ²ÎÊý¸æËß Composer ֻɾ³ý¿ª·¢ÇéÐÎÏ嵀 Laravel ÒÀÀµ°ü¡£Õ⽫¼ÓËÙɾ³ý Laravel µÄËÙÂʺÍ׼ȷÐÔ¡£

ɨ³ý Composer »º´æ

Composer »á½«ÏÂÔصÄÒÀÀµ°ü»º±£´æÍâµØ¡£Òò´Ë£¬ÔÚɾ³ý Laravel ֮ǰ£¬ÐèÒªÇå¿Õ Composer »º´æ£¬ÒÔÈ·±£ËùÓÐ Laravel Ïà¹ØÒÀÀµ°ü¶¼±»×¼È·É¾³ý¡£Ö´ÐÐÒÔÏÂÏÂÁîÇå¿Õ Composer »º´æ£º

composer clear-cache

µÇ¼ºó¸´ÖÆ

Õâ»áɾ³ýÍâµØ Composer »º´æÖеÄËùÓÐÎļþ¡£

¼ì²é Laravel ÎļþÊÇ·ñÍêȫɾ³ý

ÔÚÍê³ÉÒÔÉÏ°ì·¨ºó£¬ÐèÒª¼ì²é Laravel ËùÓÐÏà¹ØÎļþÊÇ·ñÍêȫɾ³ý¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¼ì²éÊÇ·ñ»¹±£´æ Laravel Îļþ£º

ls -la | grep laravel

µÇ¼ºó¸´ÖÆ

ÈôÊÇûÓÐÊä³öЧ¹û£¬Ôò˵Ã÷ Laravel Òѱ»Íêȫɾ³ý¡£

½áÂÛ

ʹÓà Composer ɾ³ý Laravel ÊÇÒ»Ïî¼òÆÓµÄʹÃü£¬ÐèҪƾ֤ÉÏÊö°ì·¨¾ÙÐС£×¼È·É¾³ý Laravel ¿ÉÒÔÈ·±£ÏµÍ³Äܹ»Îȹ̺͸ßЧµØÔËÐУ¬²¢¿ÉÒÔÊÍ·ÅϵͳÖеĴ洢¿Õ¼ä¡£ÔÚɾ³ý Laravel ֮ǰ£¬ÇëÎñ±Ø±¸·ÝÈκÎÖ÷ÒªÊý¾Ý£¬²¢È·±£ÄúÏàʶÕâÏî²Ù×÷µÄΣº¦ºÍЧ¹û¡£

ÒÔÉϾÍÊÇcomposerɾ³ýlaravelµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

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

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

QR code
ÍøÕ¾µØͼ