<?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>php installation Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/php-installation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 26 Dec 2019 23:34:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install PHP Composer on CentOS 8</title>
		<link>https://www.osradar.com/how-to-install-php-composer-on-centos-8/</link>
					<comments>https://www.osradar.com/how-to-install-php-composer-on-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 31 Dec 2019 09:08:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[composer installation on centos 8]]></category>
		<category><![CDATA[how to install php composer on centos 8]]></category>
		<category><![CDATA[linux composer install guide]]></category>
		<category><![CDATA[php installation]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16938</guid>

					<description><![CDATA[<p>Introduction: Composer is a php application package manager created to provide a standard format for managing dependencies of PHP Software and required libraries. It is very helpful when you want to manage and integrate external packages into your PHP projects. Install Composer on CentOS 8 After basic intro, we are going to start the actual [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-composer-on-centos-8/">How To Install PHP Composer on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2><strong>Introduction:</strong></h2>



<p>Composer is a php application package manager created to provide a standard format for managing dependencies of PHP Software and required libraries. It is very helpful when you want to manage and integrate external packages into your PHP projects.</p>



<h3><strong>Install Composer on CentOS 8</strong></h3>



<p>After basic intro, we are going to start the actual installation of Composer on CentOS Operating System. Just follow the below steps to make installation easy.</p>



<h3><strong>Step 1: Installing PHP</strong></h3>



<p>Run the below command to install php in your local system if it is already not installed.</p>



<pre class="wp-block-verse">sudo dnf install @php</pre>



<p>Confirm installation by typing command</p>



<pre class="wp-block-verse">sabi@localhost ~]$ php -version<br>PHP 7.2.11 (cli) (built: Oct  9 2018 15:09:36) ( NTS )<br>Copyright (c) 1997-2018 The PHP Group<br>Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies</pre>



<p>If you don&#8217;t know how to install PHP follow the below link</p>



<p><a href="https://www.osradar.com/install-php-7-3-centos-8/">How To Install php on CentOS 8</a></p>



<h3><strong>Step 2: Downloading Composer Installer</strong></h3>



<p>You can easily download the php composer installer package by running</p>



<pre class="wp-block-verse">sudo dnf -y install wget<br>wget https://getcomposer.org/installer -O composer-installer.php</pre>



<h3><strong>Step 3: Installing PHP Composer on CentOS 8</strong></h3>



<p>After downloading the installer, install the composer on your Linux machine by running below command</p>



<pre class="wp-block-verse">sudo php composer-installer.php --filename=composer --install-dir=/usr/local/bin </pre>



<p>You&#8217;ll see the output similar to the below:</p>



<pre class="wp-block-verse">All settings correct for using Composer<br>Downloading…<br>Composer (version 1.9.1) successfully installed to: /usr/local/bin/composer<br>Use it: php /usr/local/bin/composer</pre>



<p>You can verify your installation by checking version of composer</p>



<pre class="wp-block-verse">composer --version</pre>



<p>Run the <strong>composer </strong>command to check the usage page</p>



<pre class="wp-block-verse">$ composer<br> Composer version 1.9.1 2019-12-21 17:19:34<br> Usage:<br>   command [options] [arguments]<br> Options:<br>   -h, --help                     Display this help message<br>   -q, --quiet                    Do not output any message<br>   -V, --version                  Display this application version<br>       --ansi                     Force ANSI output<br>       --no-ansi                  Disable ANSI output<br>   -n, --no-interaction           Do not ask any interactive question<br>       --profile                  Display timing and memory usage information<br>       --no-plugins               Whether to disable plugins.<br>   -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory.<br>       --no-cache                 Prevent use of the cache<br>   -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug<br> Available commands:<br>   about                Shows the short information about Composer.<br>   archive              Creates an archive of this composer package.<br>   browse               Opens the package's repository URL or homepage in your browser.<br>   check-platform-reqs  Check that platform requirements are satisfied.<br>   clear-cache          Clears composer's internal package cache.<br>   clearcache           Clears composer's internal package cache.<br>   config               Sets config options.<br>   create-project       Creates new project from a package into given directory.<br>   depends              Shows which packages cause the given package to be installed.<br>   diagnose             Diagnoses the system to identify common errors.<br>   dump-autoload        Dumps the autoloader.<br>   dumpautoload         Dumps the autoloader.<br>   exec                 Executes a vendored binary/script.<br>   global               Allows running commands in the global composer dir ($COMPOSER_HOME).<br>   help                 Displays help for a command<br>   home                 Opens the package's repository URL or homepage in your browser.<br>   i                    Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.<br>   info                 Shows information about packages.<br>   init                 Creates a basic composer.json file in current directory.<br>   install              Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.<br>   licenses             Shows information about licenses of dependencies.<br>   list                 Lists commands<br>   outdated             Shows a list of installed packages that have updates available, including their latest version.<br>   prohibits            Shows which packages prevent the given package from being installed.<br>   remove               Removes a package from the require or require-dev.<br>   require              Adds required packages to your composer.json and installs them.<br>   run                  Runs the scripts defined in composer.json.<br>   run-script           Runs the scripts defined in composer.json.<br>   search               Searches for packages.<br>   self-update          Updates composer.phar to the latest version.<br>   selfupdate           Updates composer.phar to the latest version.<br>   show                 Shows information about packages.<br>   status               Shows a list of locally modified packages, for packages installed from source.<br>   suggests             Shows package suggestions.<br>   u                    Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.<br>   update               Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.<br>   upgrade              Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.<br>   validate             Validates a composer.json and composer.lock.<br>   why                  Shows which packages cause the given package to be installed.<br>   why-not              Shows which packages prevent the given package from being installed.</pre>



<p>You have finished Installing Composer on CentOS 8</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-composer-on-centos-8/">How To Install PHP Composer on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-php-composer-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
