1. Go to this page and download the library: Download ghanem/reloadly 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/ */
ghanem / reloadly example snippets
....
use Ghanem\Reloadly\Facades\Reloadly;
class PostController extends Controller
{
public function makeReport()
{
$countries = Reloadly::countries();
}
Reloadly::countries();
Reloadly::countryByIsoCode('eg');
Reloadly::operators();
// filter by country Iso Code
Reloadly::operators('eg');