PHP code example of azdhebar / validate-ean
1. Go to this page and download the library: Download azdhebar/validate-ean library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
azdhebar / validate-ean example snippets
// Usage description here
//import the package
use AZDhebar\ValidateEan\ValidateEan;
//call the function
ValidateEan::validateEan(76543211); //returns boolean true/false | 1/0