且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Laravel 5.6的默认注册表单中添加自定义字段?

更新时间:2022-12-11 13:53:02

请以以下方式添加您的自定义字段.

Please add your custom field in below way.

在您的模型中,将您的自定义字段添加到模型中的protected $fillable=['name', 'email', 'password', 'created_by', 'phone_no']

In your model add the your custom field in protected $fillable=['name', 'email', 'password', 'created_by', 'phone_no'] in your model