<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>self-update Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/self-update/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/self-update/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to Install Composer in Laravel?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-install-composer-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-install-composer-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 26 Aug 2021 12:43:58 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[composer update]]></category>
		<category><![CDATA[Installer Rollback]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[self-update]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8352</guid>

					<description><![CDATA[<p>Composer requires PHP 8.0+ to run Download Composer exe from official website then install it Use command line installation -May [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-composer-in-laravel/">How to Install Composer in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Composer requires PHP 8.0+ to run</h2>



<ul class="wp-block-list"><li>Download Composer exe from official website then install it</li><li>Use command line installation</li></ul>



<p class="wp-block-paragraph">-May need to set Path or use php composer.phar init</p>



<p class="wp-block-paragraph"><strong>Go to the windows search menu and type cmd</strong></p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/cmd.png" alt="" class="wp-image-8354" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/cmd.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/cmd-300x150.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph"><strong>Open Command Prompt then right click and go to Run as administrator</strong></p>



<figure class="wp-block-image size-full"><img decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/run-as-administrator.png" alt="" class="wp-image-8355" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/run-as-administrator.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/run-as-administrator-300x150.png 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption><strong>Then show you screen c:\Windows\system32></strong></figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="977" height="512" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture1.png" alt="" class="wp-image-8356" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture1.png 977w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture1-300x157.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture1-768x402.png 768w" sizes="(max-width: 977px) 100vw, 977px" /><figcaption><strong>and then type composer -V and press enter bottom.</strong></figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="977" height="509" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture3.png" alt="" class="wp-image-8358" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture3.png 977w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture3-300x156.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture3-768x400.png 768w" sizes="auto, (max-width: 977px) 100vw, 977px" /><figcaption>If your composer is already installed then your computer screen will show the composer version. And if not already installed it will show &#8211; Composer is not recognized unknown internal and external commands, compatible programs, and batch files.</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="567" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture4-1024x567.png" alt="" class="wp-image-8359" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture4-1024x567.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture4-300x166.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture4-768x425.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture4.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">How to Update Composer</h2>



<p class="wp-block-paragraph">There is some new update in composer, so if you want to update it then you have to run command for it:</p>



<p class="wp-block-paragraph"><strong>composer self-update</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="984" height="512" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture7.png" alt="" class="wp-image-8362" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture7.png 984w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture7-300x156.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture7-768x400.png 768w" sizes="auto, (max-width: 984px) 100vw, 984px" /></figure>



<h2 class="wp-block-heading">How to Roll Back Composer Update</h2>



<p class="wp-block-paragraph">If that update starts happening, then you can roll back that update and go back to the old versions. For which you have to run the command:</p>



<p class="wp-block-paragraph"><strong>composer self-update &#8211;rollback</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="982" height="511" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture8.png" alt="" class="wp-image-8363" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture8.png 982w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture8-300x156.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/Capture8-768x400.png 768w" sizes="auto, (max-width: 982px) 100vw, 982px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-composer-in-laravel/">How to Install Composer in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-install-composer-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
