PHP code example of alphaolomi / laravel-nida

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

    

alphaolomi / laravel-nida example snippets


return [
];

use Alphaolomi\Nida\Facades\Nida;

$userData = Nida::getUserData('XXXXXXXXXXXXXXXXXXXX');

echo $userData;

use Alphaolomi\Nida\Nida;

$nida = new Nida();
echo $nida->getUserData('XXXXXXXXXXXXXXXXXXXX');
bash
php artisan vendor:publish --tag="laravel-nida-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-nida-config"
bash
php artisan vendor:publish --tag="laravel-nida-views"