Answer the question
In order to leave comments, you need to log in
How to install Laravel?
I am new to PHP. Openserver is installed on the computer.
I don’t understand how to install Laravel https://laravel.ru/posts/419
I don’t understand where all these commands are entered at all
curl -sS https://getcomposer.org/installer | php
php composer.phar
mv composer.phar /usr/local/bin/composer
mv laravel.phar /usr/local/bin/laravel
Answer the question
In order to leave comments, you need to log in
Hello Vlad.
Composer to install on Windows for me was dancing with a tambourine. As far as I understand, you need to install it twice, and only after that the composer will work.
This is from personal experience.
Do you know how to use the command line?
Open start, enter cmd and "Command line" will appear there. Then you can enter composer -v
for the test , if everything is installed correctly, then this data should appear.
Composer is already installed in OpenServer...
You can not install via composer.exe
To run composer from openServer, the steps are as follows:
Then the console will open, it looks like this:
To install the Laravel framework in the Domains folder, the steps are as follows:
Enter the following commands in the command line:
cd /domains - go to the Domains folder
composer create-project --prefer-dist laravel/laravel blog - Install Laravel ! blog is the name of the folder where Laravel will be.
And then on their own.
In the last screenshot, the framework is being installed.
I hope I could be of some help to you.
Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question