<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chamika Gayashan</title>
    <description>The latest articles on DEV Community by Chamika Gayashan (@chamikathereal).</description>
    <link>https://dev.to/chamikathereal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2102888%2F1326bac6-91a0-4f2c-82f9-8e7df5de6e8b.jpg</url>
      <title>DEV Community: Chamika Gayashan</title>
      <link>https://dev.to/chamikathereal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chamikathereal"/>
    <language>en</language>
    <item>
      <title>laravel/installer Error</title>
      <dc:creator>Chamika Gayashan</dc:creator>
      <pubDate>Sat, 21 Sep 2024 12:30:18 +0000</pubDate>
      <link>https://dev.to/chamikathereal/laravelinstaller-error-54e1</link>
      <guid>https://dev.to/chamikathereal/laravelinstaller-error-54e1</guid>
      <description>&lt;p&gt;If you are facing an error like this when you install Laravel with this command, "&lt;strong&gt;composer global require laravel/installer&lt;/strong&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykryiwtl035lega458u6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykryiwtl035lega458u6.png" alt="Failed to download doctrine/inflector from dist:" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow this steps to fix this error.&lt;/p&gt;

&lt;p&gt;First of all we have to Enable the ZIP extension in PHP. and after that i'll guide you setp by step.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;br&gt;
Open your &lt;code&gt;php.ini&lt;/code&gt; file located in &lt;code&gt;C:\xampp\php\php.ini&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj46hnyh8l61z2zik1536.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj46hnyh8l61z2zik1536.png" alt="php.ini file" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;br&gt;
Search for the following line: &lt;code&gt;;extension=zip&lt;/code&gt;.&lt;br&gt;
You can find out with crt + f and search.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vg6se0qoabo2kh81bo5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vg6se0qoabo2kh81bo5.png" alt="Find out " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;br&gt;
Remove the semicolon &lt;code&gt;;&lt;/code&gt; to uncomment the line so it becomes: &lt;code&gt;extension=zip&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt;&lt;br&gt;
Save the file and restart XAMPP (Apache).&lt;/p&gt;

&lt;p&gt;Suppose you have done all the steps completely Congratulations. now you can run the command "composer global require laravel/installer" to install Laravel.&lt;/p&gt;

&lt;p&gt;In the end, if you got this message,&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe2cnn0dw8oc47a79vt1w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe2cnn0dw8oc47a79vt1w.png" alt="laravel/installer" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;laravel/installerNow you can create your own Laravel project and Good Luck!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
