Table of contents
First I'll make a database.
Make db in mysql and then change dbconnection name in .env file
run command Php artisan migrate
now first run a command to make table in database laravel-> PHP artisan make:migration create_customer_table
then add all the fields required.
- Then run a command PHP artisan make:migrate
Now the table is generated, form and model could be needed to insert data into our customer table.
We are creating a model.
command PHP artisan make:model customer
Creating Form,Contoller and linking M-V-C
Controller
index will be used to view form
store will be used to store data in MySQL
view will provide display for installments and stuff.
Route File
VIEW PAGES-FORM
VIEW-TABLE[DISPLAY]
how it looks actually.
Customer page
Installment months are hard-coded