| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2024-12-20 (3 months ago)  | Not enough user ratings | Total: 22 This week: 1 | All time:  11,306 This week: 42 | |||||
| Version | License | PHP version | Categories | |||
| php-ean-utils 1.0 | Custom (specified... | 7 | Algorithms, E-Commerce, Validation, P... | 
| Description | Author  | |||||||||||||||||||||||
This package can validate EAN code strings.  | 
  | |||||||||||||||||||||||
A package utility to work with EANs/GTINs, for validate and generate fake EANs
This package available by Composer:
"celsonery/php-ean-utils": "^1.3"
or run
composer require celsonery/php-ean-utils
In your class import this trait
use CelsoNery\EanUtils\Services\Traits\EanUtil;
class YourClassName
{
    use EanUtil;
    
    public function yourMethod()
    {
        if ($this->isValid("7898114289779")) {
            // Do something
        }
    }
}
Please see CONTRIBUTING for details.
Thank you
The MIT License (MIT). Please see License File for more information.
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.