

Whether you are new to PHP web frameworks or have years of experience, Laravel is a framework that can grow with you. Laravel strives to provide an amazing developer experience while providing powerful features such as thorough dependency injection, an expressive database abstraction layer, queues and scheduled jobs, unit and integration testing, and more. A web framework provides a structure and starting point for creating your application, allowing you to focus on creating something amazing while we sweat the details. Once all the steps are completed successfully launch the Laravel project in a browser " If you created the project from command line as in step 3 then your project name would be "example-app".Laravel is a web application framework with expressive, elegant syntax. env file and edit the database section as below: DB_CONNECTION=mysql You should see the phpMyAdmin panel, click on the database tab in order to create a new database. Once Apache and MySql as started successfully open a browser such as chrome, copy and paste the url " then click on the phpMyAdmin tab. If port 80 and port 3306 are not available, you might get errors and the servers will not start. Once the control panel is launched, click on the Apache and MySql start buttons. If you cannot see the Xampp app icon just search for it in Windows search feature. Launch the Xampp Control Panel via the Xampp app icon. Įxample-app is the name on the project so you can change that to whatever name you desire. Run this command "composer create-project laravel/laravel example-app". Open your command prompt terminal and cd to the "xampp/htdocs" folder. Here is a tutorial on how to install Composer " ". Otherwise, if you already have a Laravel project on your PC, copy and paste the project in "C:\xampp\htdocs". Please be sure to have composer installed globally on your PC for this step. Once the download is successful, there should be a Xampp folder in your C drive. Therefore, continually click next in each step until the wizard start installing all the packages. The default setup is normally recommended. Go to this website and dowload Xampp PHP version 8.ĭouble click on the Xampp installer that was downloaded and it should launch a wizard.

It is used by developers to launch PHP projects such as Laravel on their local computer in order to create and test programs locally. Xampp is a free and open-source cross-platform web service stack package. You will be shown how to set up a Laravel project on a local server using the Xampp development stack on a PC.
