![]() ![]()
This is the home page of our Laravel application. This will open up a new tab on our browser with the URL below. Our application can be run using the command below. ![]() This can be done using the command below. Windows 7 xampp install laravel download#XAMPP Composer: Windows Installer: The installer will download composer for you and set up your PATH environment variable so you can simply call composer from any directory. I will be installing on Windows, this works on Max/Linux as well. Now we have to migrate the database to the local database we created earlier. First thing first, let's install XAMPP and Composer. Default: root)ĭB_PASSWORD=(Your Mysql password. DB_DATABASE=(The database name you created earlier - awesome_project_db)ĭB_USERNAME=(Your Mysql username. Add our database details in this file which I have shown below. env file inside the root directory of our project. I recommend using Visual Studio code as the source-code editor for working with Laravel projects. Now open the Laravel app we have created in any editor. So we have created the database successfully. Enter the database name and press Create. To create a database by clicking New from the left menu. Now you can see phpMyAdmin panel where you can manage all the MySQL databases.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |