PHP code example of fomvasss / laravel-its-lte

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

    

fomvasss / laravel-its-lte example snippets




return [

    'title' => env('APP_NAME', '') . ' - Dashboard',

    'logo' => env('LTE_LOGO', '<b>ITS</b>LTE'),

    'logo_mini' => env('LTE_LOGO_MINI', '<b>IT</b>LT'),

    /*
     * Dashboard home page path
     */
    'logo_href' => '/lte',

    /*
     * For example pages
     */
    'prefix' => 'lte',

    /*
     * For /profile page
     */
    'use_laravel_fortify' => true,

    /*
     * For LTE example pages (/lte/*)
     */
    'middleware' => ['web'],

    /**
     * Use in Fomvasss\ItsLte\Http\Middleware\ApplyRequestOptions
     */
    'control' => [
        'next_destination_key' => 'destination',
    ],

    'view' => [

        /**
         * Available skins:
         * skin-blue, skin-black, skin-purple, skin-green, skin-red,
         * skin-yellow, skin-blue-light, skin-black-light, skin-purple-light,
         * skin-green-light, skin-red-light, skin-yellow-light,
         *
         */
        'skin' => 'skin-purple',
        'layout_boxed' => false,
        'sidebar_collapse' => false,
        'fixed' => false,

        /**
         * Show next type alerts in dashboard
         * Example success type alert: \Session::flash('success', 'Welcome to Laravel Admin LTE!');
         * Available types: success, info, warning, error
         *
         */
        'alerts' => [
            'toastr',
            //'sweetalert',
            //'bootstrap',
        ],

        'btn_actions_class' => 'btn-xs', //'btn-sm btn-flat'

        /**
         * Example aside menu
         */
        'aside_menu' => [
            'static' => false,
            'static_example' => env('APP_ENV') !== 'production',
            'lte' => env('APP_ENV') !== 'production',
        ],

        'aside_auth_user_info' => false,

        'aside_search' => false,

        'header_filter_languages' => true,

        'header_notify_menus' => true,
    ],
];

    'shared_folder_name' => 'shares',
    //...
    'folder_categories' => [
        'file' => [
            'folder_name' => 'lfm-files',
            //...
        ],
        'image' => [
            'folder_name' => 'lfm-photos',
            //...
        ],      
    ],
bash
php artisan lte:install
bash
php artisan lte:publish --tag=lte-view-fields --force
bash
php artisan lte:publish
bash
php artisan lte:publish --tag=lte-assets --force

    public function boot()
    {
        //...
        Paginator::useBootstrap();
        //...
    }
bash
php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public