Depends on what you mean. If you mean checking for a unique value in the controller (so when you validate a form input for example) @InaniELHoussain answer is correct. But if you mean on the migration yourself, you can just append ->unique() to the migration . For example: $table->string('name')->unique();