custom table name in laravel model code example Example: laravel model tablename protected $table = 'DomainRelatedSettings';