Laravel Framework

Steps


 Install composer


Select Dir.. from. cmd

And 

Give command 

composer create-project laravel/laravel ProjectName

(Go to xampp config.php init 

And find zip and remove (;) semicolon and save the file)

Run composer create-project command again.


Hit enter

Cmd command 

Dir

You will see ProjectName

Cd ProjectName

Run 

Cmd command 

php artisan serve 

 (See browser local host:8000)

Now get authentication login 

Make darabase in xamp MySQL 

Go to ProjectName .Env file 

Update databasename

 Goto cmd Command 

php artisan make:with

If error 

Cmd command 

Composer laravel/ui

Then

php artisan ui vue --auth 

php artisan migrate 


Your authentication is ready.

cmd command 

php artisan serve

(See login register ) top right

Clicking register if you found error 


Cmd  command 

Npm  install 

Then

Npm run  build 


Now 

php artisan serve 

And 

Register yourself 

Check MySQL database the new registration is done.

Now edit additional columns 

With given steps......




























Add same fields in xampp MySQL after going in phpmyadmin.
User table.




It's done.




How to fetch data on laravel 


Data fetched page name list



Codes list blade php with html

Cmd two Commands ........ Details given below



In cmd command php artisan Make:model customer

In cmd command php artisan Make: controller customerController



Routes on Web.php

Xampp MySQL table in database 



Click for add/Edit/Delete






Post a Comment

0 Comments