PHP code example of nikoleesg / nfield-admin

1. Go to this page and download the library: Download nikoleesg/nfield-admin 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/ */

    

nikoleesg / nfield-admin example snippets


return [
];

        'nfield-api' => [
            'driver' => 'single',
            'path' => storage_path('logs/nfield-api.log'),
            'level' => env('NFIELD_LOG_LEVEL', 'info'),
            'bubble' => false,
            'replace_placeholders' => true,
        ],

$nfieldAdmin = new Nikoleesg\NfieldAdmin();
echo $nfieldAdmin->echoPhrase('Hello, Nikoleesg!');
bash
php artisan vendor:publish --tag="nfield-admin-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="nfield-admin-config"
bash
php artisan vendor:publish --tag="nfield-admin-views"