How to install/create a project Laravel from your computer for the first time.
Important notes to consider:
1. xampp already installed on your pc.
2. composer installed already on c:/xampp/php
3. vscode installed
4. stable internet connection
Steps:
1 open xampp - installed and working
2 open vscode
3 open terminal and change directory to c:/xampp/htdocs
4 run composer create-project laravel/laravel l10-02272023
- checking compatibility based on the message given by laravel 10.3 latest version
Cannot use laravel/laravel's latest version v10.0.3 as it requires php ^8.1 which is not satisfied by your platform.
- php version on my xampp - localhost/phpmyadmin is on 8.0
- laravel 10.0.3 requires 8.1
-will try to check if it will run on my current version
5 open folder
6 check version
- run php artisan --version
- current version came up is 9.51
- composer didn't installed the laravel 10 - instead, it installed the version
9.52.4 as it is compatible on my machine
7 will try to run my laravel app for the first time using
php artisan serve
- my laravel project is now installed/created
Смотрите видео INSTALLING/CREATING A LARAVEL PROJECT - A FRESH START онлайн без регистрации, длительностью 09 минут 11 секунд в хорошем hd качестве. Это видео добавил пользователь Leo Paliuanan 27 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2 тысяч раз и оно понравилось 21 людям.