PHP code example of alexgithub987 / sekadatacheck

1. Go to this page and download the library: Download alexgithub987/sekadatacheck 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/ */

    

alexgithub987 / sekadatacheck example snippets

bash
 $data_array = [
   "nev" => "Dezső Miskolc", 
   "email" => "[email protected]", 
   "telefon" => "06301234567", 
   "adoszam" => "asdasfaf", 
   "ceg" => "valami", 
   "cim_type" => "SZEKHELY", 
   "orszag" => "HU", 
   "irsz" => "6800", 
   "varos" => "Hódmezővásárhely", 
   "kozterulet" => "", 
   "kozterulet_jelleg" => "", 
   "hsz" => "", 
   "egyszeru_cim" => "6800 Hódmezővásárhely Makói ország út 77178 hrsz." 
  ]; 

  $ugyfel = new Ugyfel;
  $ret = $ugyfel->index($data_array);
bash    
  $data_array = [
          "cikkszam" => "5", 
          "partner_id" => "2"
        ]; 

  $cikk = new Cikk();
  $ret = $cikk->index($data_array);