PHP code example of laraditz / experian

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

    

laraditz / experian example snippets


// Using service container
$experian = app('experian')->ccrisSearch(
            name: "Ali bin Ahmad",
            id: "92XXXX-XX-XXXX",
            dob: "YYYY-MM-DD",
            phone: "012XXXXXXX" 
        );  

// Using facade
$experian = \Experian::ccrisSearch(
            name: "Ali bin Ahmad",
            id: "92XXXX-XX-XXXX",
            dob: "YYYY-MM-DD",
            phone: "012XXXXXXX" 
        ); 
bash
php artisan vendor:publish --provider="Laraditz\Experian\ExperianServiceProvider" --tag="config"
bash
php artisan migrate