Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

How to install Laravel

To install laravel we need composer dependency tools.

So, let us know about composer.

Composer

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 sennse as Yum or Apt are. Yes, it deals with “package” or libraries, but it manages them on a per-project basis, installing them in directory (e.g. vender) inside your project.

By default, it does not install anything globally. This, it is a dependency manager. It does however support a “global” project for convenience via the global command.

Why use Composer

Suppose:

  • You have a project that depends on a number of libraries.
  • Some of those libraries depend on other libraries.

Composer:

  • Enables you to declare the libraries you depend on.
  • Finds out which versions of which package can and need to be installed, and installs them (meaning it downloads them into your project).

So, first, you have install composer with official website as https://getcomposer.org/

Then, Click this url to download composer.

After install that to check the composer is installed or not, open Git Bash or command prompt on xampp/htdocs directory and execute the below command.

Now, you can check in your PHP versions, then type

then, you can remove these php extension at your php.ini files.

If you are a windows user and you can install xampp server then go to (xampp/php/php.ini)

Open Command prompt and Git Bash on (xampp\htdocs)

To install Laravel execute the following command in Git Bash or command prompt.

The above command installs all dependency on laravel. It will take some time.

After complete the execution of the above command, you can move to the project directory.

Then, you can run your project using the following command PHP artisan serve, and open this URL in your browser at (http://127.0.0.1:8000).

And see the view.

For more information

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!

Related Posts

What is Laravel and use cases of Laravel?

What is Laravel? Laravel is an open-source, free PHP web framework designed for the development of web applications following the model-view-controller (MVC) architectural pattern. It was generated…

Read More

Complete guide of Laravel certification courses, tutorials & training

What is Laravel Laravel is a reliable and simple to use open-source PHP framework. It adheres to the model-view-controller pattern of design. Laravel makes use of pre-existing…

Read More

Top 100 laravel interview questions and answers

1) What is Laravel? Laravel is an open-source widely used PHP framework. The platform was intended for the development of web application by using MVC architectural pattern….

Read More

[SOLVED] Laravel : Supervisor FATAL/BACKOFF Exited too quickly (process log may have details)

Problem I’m trying to use Laravel queues with a supervisor but the service is not working properly. When I try to check status:$ sudo supervisorctl status$ laravel-worker:laravel-worker_00:…

Read More

How to Login with Token in Laravel PHP Framework?

How to Login with Token in Laravel PHP Framework? Step 1. Create a new Project, so write down the following command on Git Bash: Step 2. Move…

Read More

Directory Structure Of Laravel Application

devopsschool – This is Project Folder app – The app directory contains the core code of your application. bootstrap – The bootstrap directory contains the app.php file…

Read More