PHP code example of saaksin / laravel-administrator

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

    

saaksin / laravel-administrator example snippets


'providers' => [
	...
	SaAkSin\Administrator\AdministratorServiceProvider::class
]

function users()
{
    return array(
        'title' => '사용자 관리',
        'single' => '사용자',
        'model' => App\User::class,
        .....

    );
}

'custom_js' => array(
    'custom' => asset('js/custom.js'),
)

public function boot(UrlGenerator $url)
{
    $url->forceScheme('https');
}

ASSET_URL=https://도메인주소

'filters' => array(
    'no' => array(
        'title' => 'Number',
        'type' => 'fulltext_mysql'
    ),
),

'filters' => array(
    'no' => array(
        'title' => 'Name',
        'type' => 'text_quick'
    ),
),

'action' => array(
    'reload' => true
),


'view' => true