259/1A 3rd Floor, ADA Rd, Vinoba Nagar, Naini, Prayagraj, Uttar Pradesh 211010
05323557581, +919555433745 (9am - 8pm IST, Monday - Saturday)
Training | Development | Internship
Once the above requirements are completed then you can install Laravel by running below command on your cmd.
cd xampp cd htdocs composer create-project --prefer-dist laravel/laravel YourProjectName
Running above command will install the latest version of the Laravel framework on your computer.
Follow the below steps to create a Mysql database.
Laravel has made Database Configuration very easy. To configure your database simply open .env file and update the following information. Note: .env file is found in the root directory of your project.
DB_DATABASE= // name of database that you have created DB_USERNAME= // username of mysql DB_PASSWORD= // password of mysql
To run our Laravel application, cd to your project directory and run below command
php artisan serve
Output: Laravel development server started: <http://127.0.0.1:8000>
Open http://127.0.0.1:8000 URL on the browser to see the app.
Voila!! You have successfully installed and created your first Laravel Project on windows.