<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Jose Luis Bermejo]]></title><description><![CDATA[Jose Luis Bermejo]]></description><link>https://josebermejo.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6a6494932437882672cb30fc/59dd650d-1c27-4ca1-aee0-97dad228b525.jpg</url><title>Jose Luis Bermejo</title><link>https://josebermejo.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 08:57:11 GMT</lastBuildDate><atom:link href="https://josebermejo.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Validate Passports, Tax IDs, and Credit Cards in Make.com Without Code or Complex Regex]]></title><description><![CDATA[Learn how to verify international document formats and checksums in under 100ms using a Zero-PII API integration in Make scenarios.]]></description><link>https://josebermejo.hashnode.dev/how-to-validate-passports-tax-ids-and-credit-cards-in-make-com-without-code-or-complex-regex</link><guid isPermaLink="true">https://josebermejo.hashnode.dev/how-to-validate-passports-tax-ids-and-credit-cards-in-make-com-without-code-or-complex-regex</guid><category><![CDATA[nocode]]></category><category><![CDATA[api]]></category><category><![CDATA[automation]]></category><category><![CDATA[webdev]]></category><category><![CDATA[make]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Jose Luis Bermejo Meléndez]]></dc:creator><pubDate>Thu, 15 Oct 2026 18:42:21 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a6494932437882672cb30fc/effc64e9-d11f-43cf-b8a5-055687d54981.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>The Problem: Validation Bottlenecks in Automation Workflows</h2>
<p>When building automated onboarding, lead qualification, or CRM synchronization workflows in Make (formerly Integromat), verifying data integrity is a recurring challenge.</p>
<p>Usually, builders face three main hurdles:</p>
<ul>
<li><p><strong>Complex &amp; Fragile Regex:</strong> Writing and maintaining regular expressions for dozens of document types is time-consuming and prone to errors.</p>
</li>
<li><p><strong>Custom Code Overhead:</strong> Running custom JavaScript/Python scripts or external microservices to calculate checksums (like the Luhn algorithm) adds unnecessary complexity.</p>
</li>
<li><p><strong>Privacy &amp; PII Risks:</strong> Sending sensitive personal identification data through third-party services often breaches strict compliance rules (GDPR, HIPAA).</p>
</li>
</ul>
<hr />
<h2>The Solution: Luhnify for Make.com</h2>
<p>To streamline this process, we built the official <strong>Luhnify integration for Make</strong>.</p>
<p>Luhnify is a dedicated API designed specifically to validate identity documents, VAT/Tax numbers, credit cards, and passports across <strong>200+ countries</strong>—in under 100ms, with a strict <strong>Zero-PII</strong> architecture.</p>
<blockquote>
<p><strong>What is Zero-PII?</strong><br />Luhnify validates structural integrity, checksums, and format rules without storing, logging, or harvesting any Personally Identifiable Information (PII).</p>
</blockquote>
<hr />
<h2>How It Works: Step-by-Step Scenario Integration</h2>
<ol>
<li><p><strong>Get Early Access:</strong> Add Luhnify to your Make account using the early-access <a href="https://eu1.make.com/app/invite/2f7dcfa987beb563ff89fedb6fd1e976">Beta Invite Link</a>.</p>
</li>
<li><p><strong>Add the Luhnify Module:</strong> In your scenario, insert the Luhnify validation module right after your data intake trigger (e.g., Typeform, Webhook, Google Forms, or HubSpot).</p>
</li>
<li><p><strong>Configure the Input:</strong></p>
<ul>
<li><p>Select the target document or data type (e.g., Passport, National ID, Credit Card, VAT).</p>
</li>
<li><p>Map the incoming data field.</p>
</li>
</ul>
</li>
<li><p><strong>Branch Your Workflow:</strong> Use the instant validation result (<code>valid: true/false</code>) in a Make router to route verified leads directly to your CRM, or flag invalid submissions for follow-up.</p>
</li>
</ol>
<hr />
<h2>Key Features at a Glance</h2>
<ul>
<li><p><strong>Global Coverage:</strong> Format and checksum rules for 200+ countries.</p>
</li>
<li><p><strong>Ultra-Fast Performance:</strong> Average execution time under 100ms.</p>
</li>
<li><p><strong>Zero Maintenance:</strong> No custom regex or scripts to debug when document rules change.</p>
</li>
<li><p><strong>Privacy Built-in:</strong> Designed for strict regulatory compliance.</p>
</li>
</ul>
<hr />
<h2>Try it Today</h2>
<p>The integration is currently under review for the official Make Marketplace, but you can start using it right now in your active scenarios:</p>
<p>👉 <a href="https://eu1.make.com/app/invite/2f7dcfa987beb563ff89fedb6fd1e976"><strong>Click here to install the Luhnify Make App (Early Access)</strong></a></p>
<p>We’d love to hear your feedback, feature requests, or use cases! Feel free to leave a comment below.</p>
]]></content:encoded></item><item><title><![CDATA[How to Validate DNI, NIE, and Passports in PHP, Laravel & Symfony Projects]]></title><description><![CDATA[Validating national identity documents (such as Spain's DNI, NIE, or Passports) in web applications can quickly become a maintenance headache. Maintaining…]]></description><link>https://josebermejo.hashnode.dev/how-to-validate-dni-nie-and-passports-in-php-laravel-symfony-projects</link><guid isPermaLink="true">https://josebermejo.hashnode.dev/how-to-validate-dni-nie-and-passports-in-php-laravel-symfony-projects</guid><category><![CDATA[PHP]]></category><category><![CDATA[Symfony]]></category><category><![CDATA[Laravel]]></category><category><![CDATA[api]]></category><dc:creator><![CDATA[Jose Luis Bermejo Meléndez]]></dc:creator><pubDate>Wed, 29 Jul 2026 18:11:39 GMT</pubDate><content:encoded><![CDATA[<h1>Luhnify SDK for PHP</h1>
<p>Validating national identity documents (such as Spain's DNI, NIE, or Passports) in web applications can quickly become a maintenance headache. </p>
<p>Maintaining custom regular expressions or checksum algorithms per country across different frameworks adds unnecessary technical debt. </p>
<p>The official <strong><code>luhnify/luhnify-php</code></strong> SDK provides a unified, zero-PII, stateless API to validate official identity documents natively in <strong>Laravel</strong>, <strong>Symfony</strong>, or <strong>Vanilla PHP</strong>.</p>
<hr />
<h2>🚀 1. Base Installation</h2>
<p>Add the package to your project using Composer:</p>
<pre><code class="language-bash">composer require luhnify/luhnify-php
</code></pre>
<hr />
<h2>📦 2. Environment Configuration</h2>
<p>Depending on your application's architecture, choose your project type below to complete the setup in a single step:</p>
<h3>🔹 Option A: If you are using Laravel (Automatic)</h3>
<p>The SDK features <em>Package Autodiscovery</em>, meaning Laravel will automatically detect the package without requiring you to register Service Providers manually.</p>
<ol>
<li><strong>Run the installation wizard:</strong>
Execute the following Artisan command in your terminal:</li>
</ol>
<pre><code class="language-bash">php artisan luhnify:install
</code></pre>
<ol>
<li><strong>What this command does for you:</strong><ul>
<li>Securely prompts you for your private Luhnify API Key (<code>X-API-Key</code>) in the console.</li>
<li><strong>Automatically injects</strong> the <code>LUHNIFY_API_KEY=your_key</code> variable at the end of your <code>.env</code> file.</li>
<li>Publishes the framework configuration file to <code>config/luhnify.php</code>.</li>
<li>Registers the client as a <code>singleton</code> in the service container, ready for Dependency Injection.</li>
</ul>
</li>
</ol>
<hr />
<h3>🔹 Option B: If you are using Symfony (Automatic Script)</h3>
<p>Thanks to the built-in installer hooked into Composer's lifecycle, the SDK auto-configures itself upon download without requiring manual YAML service mapping.</p>
<ol>
<li><p><strong>Check your project files:</strong>
After running <code>composer require</code>, the SDK will automatically create two things in your project:</p>
<ul>
<li>A global configuration file at <code>config/packages/luhnify.yaml</code>.</li>
<li>An environment variable block at the bottom of your <code>.env</code> file.</li>
</ul>
</li>
<li><p><strong>Add your API Key:</strong>
Open your <code>.env</code> file and replace the placeholder value with your real credential:</p>
</li>
</ol>
<pre><code class="language-env"># .env
###&gt; luhnify/luhnify-php ###
LUHNIFY_API_KEY=your_real_luhnify_api_key_here
###&lt; luhnify/luhnify-php ###
</code></pre>
<p>That's it! Symfony's Autowiring now automatically knows how to instantiate and inject the client into your controllers using this variable.</p>
<hr />
<h3>🔹 Option C: Native PHP / Vanilla PHP (Manual)</h3>
<p>If you are not using a framework or are working on a custom legacy setup, initialization is performed explicitly at your application's entry point.</p>
<ol>
<li><p><strong>Require the Composer Autoload</strong> at the top of your script.</p>
</li>
<li><p><strong>Instantiate the client manually:</strong></p>
</li>
</ol>
<pre><code class="language-php">&lt;?php
require_once __DIR__ . '/vendor/autoload.php';

use Luhnify\ValidationSdk\ValidationClient;

// It is highly recommended to read the key from system environment variables
$apiKey = getenv('LUHNIFY_API_KEY') ?: 'your_direct_api_key_here';

$luhnify = new ValidationClient($apiKey);
</code></pre>
<hr />
<h2>⚡ 3. Quick Usage Example</h2>
<p>Once configured, performing a document validation is exactly the same across all environments:</p>
<pre><code class="language-php">use Luhnify\ValidationSdk\ValidationPayload;
use Luhnify\ValidationSdk\LuhnifyException;

// 1. Prepare the document data you want to validate
$payload = new ValidationPayload([
    'country_code'    =&gt; 'es',
    'document_type'   =&gt; 'dni',
    'document_number' =&gt; '12345678Z'
]);

try {
    // 2. Execute validation against the official API
    $result = $luhnify-&gt;ValidateDocument($payload);

    if ($result-&gt;valid) {
        echo "Success: The document is valid.";
    } else {
        echo "Warning: The document did not pass validation rules.";
    }

} catch (LuhnifyException $e) {
    echo "Luhnify API Error ({$e-&gt;getStatusCode()}): " . $e-&gt;getMessage();
} catch (\Exception $e) {
    echo "Unexpected system error: " . $e-&gt;getMessage();
}
</code></pre>
<hr />
<h2>🔒 Security &amp; Privacy</h2>
<ul>
<li><strong>Zero PII Retention:</strong> Validation is stateless—document numbers are processed in memory and never persisted to a database.</li>
<li><strong>Environment Isolation:</strong> Keep your LUHNIFY_API_KEY secure using .env files and avoid committing keys to version control.</li>
<li>All requests run securely over HTTPS targeting <a href="https://api.luhnify.com/v1">https://api.luhnify.com/v1</a>.</li>
</ul>
<hr />
<h2>🔗 Useful Links</h2>
<ul>
<li><strong>Dashboard &amp; API Keys:</strong> <a href="https://Luhnify.com">Luhnify.com</a></li>
<li><strong>GitHub Repository:</strong> <a href="https://github.com/Luhnify/luhnify-php">Luhnify PHP SDK</a></li>
</ul>
]]></content:encoded></item><item><title><![CDATA[How to Validate DNI, NIE, CIF, and International Tax IDs in Your Backend]]></title><description><![CDATA[Validate identity document format structures and checksums globally with a single lightweight API call.]]></description><link>https://josebermejo.hashnode.dev/how-to-validate-dni-nie-cif-and-international-tax-ids-in-your-backend</link><guid isPermaLink="true">https://josebermejo.hashnode.dev/how-to-validate-dni-nie-cif-and-international-tax-ids-in-your-backend</guid><category><![CDATA[webdev]]></category><category><![CDATA[api]]></category><category><![CDATA[programming languages]]></category><category><![CDATA[PHP]]></category><category><![CDATA[Software Engineering]]></category><category><![CDATA[software architecture]]></category><category><![CDATA[sdk]]></category><category><![CDATA[sdks for developers]]></category><dc:creator><![CDATA[Jose Luis Bermejo Meléndez]]></dc:creator><pubDate>Sat, 25 Jul 2026 11:04:18 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a6494932437882672cb30fc/a32ae339-8816-49a1-adbd-e774540b64e7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3>Stop writing complex custom regexes for every country — validate format structures and checksums with a single lightweight API call.</h3>
<h2>Global ID format validation architecture</h2>
<p>Handling identity document validation across international markets is a recurring pain point for software engineering teams. When onboarding users, entering invalid IDs or typos leads to corrupted database entries, failed billing pipelines, and compliance headaches. Writing custom regular expressions (regex) or local checksum algorithms (like Luhn or specific country rules) for dozens of countries quickly becomes an unmaintainable mess.</p>
<h2>The Solution: Format Validation at the Input Stage</h2>
<p>Instead of building and updating validation logic for every nation from scratch, you can offload structure and checksum validation to Luhnify, a free, lightweight API designed for real-time format verification across 200+ countries.</p>
<p>It checks the structure, character rules, and mathematical validity (checksums) without storing sensitive payload data or requiring slow biometric KYC processes. Quick Integration Example</p>
<p>Here is how simple it is to validate an international ID using a single HTTP request:</p>
<pre><code class="language-bash">curl -X POST https://api.luhnify.com/api/v1/validate \
  -H "X-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "document_number": "12345678A",
    "document_type": "dni",
    "country_code": "ES"
  }'
</code></pre>
<p>You receive a clean JSON payload indicating whether the format and checksum are valid, allowing your frontend or backend to immediately accept or prompt the user for corrections:</p>
<pre><code class="language-json">{
  "valid": true,
  "message": "Document is valid."
}
</code></pre>
<h3>Key Benefits</h3>
<ul>
<li><p><strong>Ultra-fast Performance:</strong> Average response time under 50 ms, perfect for real-time form validation without slowing down user onboarding.</p>
</li>
<li><p><strong>200+ Countries supported:</strong> Standardized responses regardless of nationality.</p>
</li>
<li><p><strong>8 Official SDKs:</strong> Ready-to-use packages for PHP (Laravel, Symfony, native PHP), TypeScript, Java, Go, C#, Swift, Kotlin, and Python. Drop it into your stack with zero setup friction.</p>
</li>
<li><p><strong>Zero PII Storage:</strong> High performance without unnecessary data retention risks.</p>
</li>
<li><p><strong>Developer First:</strong> Built by engineers to keep onboarding forms clean and database inputs valid.</p>
</li>
</ul>
<p>Try it out for free at <a href="https://luhnify.com">luhnify.com</a> and keep your registration flow clean!</p>
]]></content:encoded></item></channel></rss>