Requirements for the installation:
- PHP >= 7.1.3
- Openssl PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Bcmath PHP Extension
1st Step, if you still don’t have php installed on your machine I advise using the laragon it facilitates the development of web applications by installing everything you will need to have a localhost server configured for development.
Step 2, Install Composer you can find here
Step 3, Download the installer Standard with this command
composer global require laravel/installer
Step 4, now you can install the Laravel in any directory of your choice with the command
laravel new nomeDaAplicação
Or
composer create-project --prefer-dist laravel/laravel blog "5.7.*"
Step 5, in the directory where you installed the Laravel with the fourth step, you must run the command php artisan serve
Now you can start modifying the files to build your system.
You have already created the project using
laravel new <nome>
?– Luiz Felipe
C: Users DZ>Laravel new appLaravel Crafting application... In Curlfactory.php line 185: Curl error 7: Failed to connect to localhost port 1080: Connection refused (see http://curl.haxx.se/curl/c/libcu rl-errors.html) new [-dev] [-force] [--] [<name>] Thus?
– David
This comment does not help. Please improve your question by adding more details. Please also read the documentation concerning the installation.
– Luiz Felipe
by the way your project is in the folder
appLaravel
of the onecd appLaravel
(do not know how it is in windows) and then run thephp artisan serve
– Neuber Oliveira