Git Clone in Laravel ​9 | Sample Template

Git Clone in Laravel ​9 | Sample Template

              Admin dashboard in Laravel ​9 | Sample Template


How to install Laravel 9

In this post, we'll show you how to install Laravel 9. Before you can install the latest version of Laravel, make sure you have the following prerequisites:

PHP 8.0.2+
MySql
Composer
Composer is a package manager for php.

Git Clone my Project

1.Run `git clone 'link projer github'
2.Run composer update
3.Run cp .env.example .env or copy .env.example .env
4.Run php artisan key:generate
5.Run php artisan migrate
6.Run php artisan serve
7.Go to link localhost:8000

Step 1: Git Clone Laravel 9

First, clone a new Laravel app just by running the below command in your terminal.

git clone https://gitlab.com/SoengSouy/laravel9_template_sample.git

Step 2: Composer Update

Type command in your terminal.

composer update

Step 3: Update Your Database Credentials

After that update your database credentials in your .env file which is located in your project root.

1. connection databases

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=root
DB_PASSWORD=#your database password
2. for send mail when fogot password

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your email
MAIL_PASSWORD='your password email'
MAIL_ENCRYPTION=tls

Step 4: Make Migration

After adding the migration file now run the migrate command.

php artisan migrate

Step 5:Run

After adding the run file now run the migrate command.

php artisan serve

Reactions

Post a Comment

4 Comments

  1. After setup project i try signup and user is created but when try login page is blank

    ReplyDelete
  2. after login, the page is blank. i am not sure it's redirecting to the correct controller

    ReplyDelete
  3. same issue after logging in it redirects to blank page. Also "check file .env add APP = login_nornmal" this doesnt work.

    ReplyDelete

CAN FEEDBACK

Emoji
(y)
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
x-)
(k)

close