Generating Slug in Laravel without External Package
Run command to generate database migration table
php artisan make:migration create_articles_table
Run command to create Controller
php artisan make:controller ArticleController
create store function to store input from the form
Run command to create Model
php artisan make:model Article
write this code in the model
in the view form write this
in the route file create
Comments
Post a Comment