Install Laravel installer on your computer with this command
composer global require "laravel/installer"
Then, create new Laravel project every time with this command:
laravel new project
It will create a folder called "project" in your current folder and install Laravel there.
You will have .env file to manage all your configuration, probably most important settings there are:
There's also a file called .env.example, read about the differences and how to use them in this article.
To create Login and Register routes and links, use this command:
php artisan make:auth
Laravel comes with two database migrations out-of-the-box: for tables users and password_resets.
If you want your URLs to be accessed only by logged in users, use Route::group() structure and add Middleware 'auth' to it.
In routes/web.php file, you can specify Route URL and attach it to a specific method of specific Controller:
Specify route name with this structure:
Then you can use it everywhere in Blade files with command route('invoices.create').
It is useful if you decide to change the URLs sometime in the future - you would have to change only routes/web.php file, and all the links in Blade files will remain working without changing.
To create a controller, use this Artisan command:
php artisan make:controller InvoicesController
Blade files parent-child structure is based on these commands:
Here's Link to Google Drive
How to use: download, unarchive, change credentials in .env file, launch php artisan migrate, and you should be good to go.