Skip to content

custom login, registration, change password and forgot password

License

Notifications You must be signed in to change notification settings

sundarsau/lara_custom_login

Repository files navigation

Custom Login, registration, forgot password and change password in Laravel

custom login, registration, change password and forgot password

This is a small Laravel application to show how you can submit a form using Ajax. It uses Laravel 9 and MySQL. Laravel form validation is used and once form is submitted successfully, it displays a message in a modal.

How To Use

  1. Download the repository from https://github.com/sundarsau/lara_custom_login

  2. Extract it into a folder

  3. Create a Database in MySQL

  4. copy .env.example to .env and update database name, username and password. For example, I used the database lara_demo and updated database details as below: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=lara_demo DB_USERNAME=root DB_PASSWORD=

  5. Run composer install from project root

  6. Run php artisan key:generate

  7. Run php artisan migrate. This will create Laravel default tables and also will create a custom table called applications. Initially, the table will be empty and after the form is submitted data should be inserted in this table.

  8. Run php artisan serve

  9. In Browser run localhost:8000

  10. Click on New Applicants and submit the form.

License

This is an MIT license, you can modify the code according to your requirements

About

custom login, registration, change password and forgot password

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published