---
title: "Discussion on \"How to Validate DNI, NIE, and Passports in PHP, Laravel & Symfony Projects\" | Hashnode"
description: "Discussion on \"How to Validate DNI, NIE, and Passports in PHP, Laravel & Symfony Projects\". Luhnify SDK for PHP\nValidating national identity documents (such as Spain's DNI, NIE, or Passports) in web applications can quickly become a maintenance headache. \nMaintaining custom regular expressio"
url: "https://hashnode.com/posts/how-to-validate-dni-nie-and-passports-in-php-laravel-symfony-projects/6a6a425be6202e6db8ca44d6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Validate DNI, NIE, and Passports in PHP, Laravel & Symfony Projects](https://josebermejo.hashnode.dev/how-to-validate-dni-nie-and-passports-in-php-laravel-symfony-projects?utm_source=hashnode&utm_medium=feed)

Luhnify SDK for PHP Validating national identity documents (such as Spain's DNI, NIE, or Passports) in web applications can quickly become a maintenance headache. Maintaining custom regular expressio

Jul 29 · 3 min read · josebermejo.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#symfony](https://hashnode.com/tag/symfony)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#api](https://hashnode.com/tag/api)

## Written by

[Jose Luis Bermejo Meléndez](https://hashnode.com/@josebermejo)

@josebermejo · Seville, Spain

  
[View profile](https://hashnode.com/@josebermejo)

Building Luhnify | Tech Lead & Full-Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
