PHP code example of rublex / laravel-zohal-inquiry
1. Go to this page and download the library: Download rublex/laravel-zohal-inquiry 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/ */
rublex / laravel-zohal-inquiry example snippets
use Inquiry\Facades\Zohal;
$result = Zohal::inquiry('shahkar', [
'national_code' => '1234567890',
'mobile' => '09123456789'
]);
// Get package version
$version = Zohal::version(); // Returns '1.0.0'
bash
php artisan vendor:publish --provider="Inquiry\ZohalServiceProvider" --tag="zohal-config"
bash
php artisan vendor:publish --provider="Inquiry\ZohalServiceProvider" --tag="zohal-migrations"
php artisan migrate