Connect with us

PHP

How To Install Laragon On Windows

Avatar

Published

on

How to install laragon on windows

Hi Guys, welcome back to codingofcents.com. Today we will learn how to install Laragon in Windows. So what Laragon is?

Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.

Laragon is great for building and managing modern web applications. It is focused on performance – designed around stability, simplicity, flexibility, and freedom.

Laragon is very lightweight and will stay as lean as possible. The core binary itself is less than 2MB and uses less than 4MB RAM when running.

  1. Download Laragon

    Before Install we need to download laragon, just grab it from their official website. You need to select the edition which you want to download. For this, I choose Laragon Full.

  2. Install Laragon

    After laragon is downloaded click the installation then select the language you want and click OK
    Select Language Laragon

  3. After that click next

    Install Laragon

  4. Select Destination Location, then click next

    Laragon Destination Location

  5. Customize option for laragon, thecn click next

    Custom Options Laragon

  6. And finally click Install

    Finish Installation

Check your PHP instalation by open Command Promp then type php -v

Check PHP installation

If when you type php -v and hit enter you get like this:

error when type php on command promp

Then you mush register your PHP path to System Environment. To do that click windows icon then type edit the system environment variables

edit the system environment variables

Click the Environment Variable then find path on System Variable tab, then click New button. Copy PHP location example D:\laragon\bin\php\php-7.2.11-Win32-VC15-x64 then paste to new row on environment variable. After that click OK > OK > OK

Finally check again if PHP has register to System Variable.

Conclusion

Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend. To install laragon is very easy, just dowload from official website and install as normal windows application.

Hi, my name I Wayan Tisna Adi Muliarta. Programmer and blogger who loves share about code.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Featured

How to install composer in Windows

Avatar

Published

on

How to install composer

Hi, welcome. This is my first blog, since this is my first blog i decide to write about “tool” that is use recently on my project and the easy one i write.

That is Composer, i use composer in my PHP project that require third party library to make the coding process easy. I recommend you to use composer if you need to use “Some one” code to your project that you think you need it and it can be integrated to your project.

So before we jump start we need to know what is composer actually.

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

Composer is not a package manager in the same sense as Yum or Apt are. Yes, it deals with “packages” or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project. By default it does not install anything globally. Thus, it is a dependency manager. It does however support a “global” project for convenience via the global command.

Composer can be install in Windows, Unix. Linux, or MacOs.

Today i will show you how to install composer in windows machine. Here is the step

First, download the composer installer. For download follow this link https://getcomposer.org/Composer-Setup.exe

After you download, run the installer and click next

How to install composer

After that select default PHP version that you used. For PHP installation i will write on another post

How to install composer
How to install composer

After that if you use proxy on your internet connection you can setting here than click Next

How to install composer
How to install composer

After that you will review your installation, click Next to continue, click Next again than click Finish

How to install composer
How to install composer
How to install composer
How to install composer

Then open CMD to test the composer installation. Type composer on CMD. Oh wait i get error, when type composer if you get message like

‘composer’ is not recognized as an internal or external command,
operable program or batch file.

It is because we did’t register composer in System Path, so to do it open your Windows Explorer (Win + E) then right click on your computer menu like bellow and click properties

How to install composer – open windows explorer

Then copy the composer installation path, by default it locate in
C:\Users{user name}\AppData\Roaming\Composer. After you click properties in previous click Advanced system settings

How to install composer
How to install composer

Then click the Environment Variables, and in System variables section search for path in variable row

How to install composer
How to install composer

After you find the path row, select edit. At the on of the variable value add semi colon and paste the composer installation path. Click Ok, than Ok again and Ok again

How to install composer
How to install composer

And then open CMD again and type composer and chacha,,, you have done the installation

How to install composer
How to install composer

So to install composer in windows machine you need to download and install like other application, but you also need to register composer in System Variable to make composer access globally.

Continue Reading

Trending