PHP code example of digram / bukua-access
1. Go to this page and download the library: Download digram/bukua-access 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/ */
digram / bukua-access example snippets
use BukuaAccess\Facades\BukuaAccess;
try {
$counties = BukuaAccess::counties(page: 1, per_page: 10);
dd($counties);
} catch (\Exception $e) {
// Handle error
}
use BukuaAccess\Facades\BukuaAccess;
try {
$subjects = BukuaAccess::subjects(page: 1, per_page: 10);
dd($subjects);
} catch (\Exception $e) {
// Handle error
}
bash
php artisan cache:clear