<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Install composer for ELGG]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg</guid>
	<pubDate>Mon, 15 Nov 2021 01:27:29 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg</link>
	<title><![CDATA[Install composer for ELGG]]></title>
	<description><![CDATA[<code>#!/bin/sh

EXPECTED_CHECKSUM=&quot;$(php -r &#039;copy(&quot;https://composer.github.io/installer.sig&quot;, &quot;php://stdout&quot;);&#039;)&quot;
php -r &quot;copy(&#039;https://getcomposer.org/installer&#039;, &#039;composer-setup.php&#039;);&quot;
ACTUAL_CHECKSUM=&quot;$(php -r &quot;echo hash_file(&#039;sha384&#039;, &#039;composer-setup.php&#039;);&quot;)&quot;

if [ &quot;$EXPECTED_CHECKSUM&quot; != &quot;$ACTUAL_CHECKSUM&quot; ]
then
    &gt;&amp;2 echo &#039;ERROR: Invalid installer checksum&#039;
    rm composer-setup.php
    exit 1
fi

php composer-setup.php --quiet
RESULT=$?
rm composer-setup.php
exit $RESULT</code>]]></description>
	<dc:creator>Surabhi Chaudhary</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg#item-annotation-4012</guid>
	<pubDate>Mon, 15 Nov 2021 01:32:03 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/43581/install-composer-for-elgg#item-annotation-4012</link>
	<title><![CDATA[Comment by Surabhi Chaudhary]]></title>
	<description><![CDATA[<pre>php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"</pre>]]></description>
	<dc:creator>Surabhi Chaudhary</dc:creator>
</item>

</channel>
</rss>