Install Laravel 5.4 || Login & Register || URL Slug || Social networking Tutorial – Part 1
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’, ‘-‘);
- 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.
- now we need to create login and resgiter system with command called ‘php artisan make:auth‘. it will create migreations for database tables.