PHP code example of mhafizhasan / agak-core

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

    

mhafizhasan / agak-core example snippets


// config/app.php
'providers' => [
    ...
    Mhafizhasan\AgakCore\AgakCoreServiceProvider::class,
];

'aliases' => [
    ...
    'AgakLogger' => Mhafizhasan\AgakCore\Facade\AgakLogger::class,
    'AgakAPI' => Mhafizhasan\AgakCore\Facade\AgakAPI::class,
];

php artisan vendor:publish --provider="Mhafizhasan\AgakCore\AgakCoreServiceProvider" --tag="migrations"

php artisan migrate