- Go to Laravel official website and copy a command composer create-project --prefer-dist laravel/laravel blog. (change blog with your project name)
- Open CMD and path to your server (my was xampp/htdocs) and enter this command & enter.
we need to add new fields/columns slug and Gender in users table , laravel have str_slug pre-defined function which help us to generate slug with any string.
for example: $title = str_slug('Hardeep Singh', '-');
output: Hardeep-singh
- now we need to create login and resgiter system with command called 'php artisan make:auth'. it will create migreations for database tables.
make login auth |