PHP code example of sawirricardo / laravel-rajaongkir

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

    

sawirricardo / laravel-rajaongkir example snippets


return [
];

$rajaongkir = new Sawirricardo\Rajaongkir();
echo $rajaongkir->echoPhrase('Hello, Sawirricardo!');
bash
php artisan vendor:publish --tag="laravel-rajaongkir-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-rajaongkir-config"
bash
php artisan vendor:publish --tag="laravel-rajaongkir-views"