Laravel is an amazing MVC Framework, written in PHP. It allows you start developing great web projects in no time. Here, we will provide you with a tip on how to start a new project efficiently.
First, you must configure your environment for Laravel development.
For this, please refer to our related article:
How to install Laravel MVC
Every time you start a new Laravel project, do the following:
- Open terminal from the root of your working directory
- Execute the following command:
laravel new YourProjectName
- Navigate to your newly created project’s directory
- Initialize Git, executing the following command
- Add your project to Git
git add .
git commit -m "Initial commit"