PHP code example of buruhdev / laravel-sbadmin

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

    

buruhdev / laravel-sbadmin example snippets


return [
    /*
    |--------------------------------------------------------------------------
    | Author Name
    |--------------------------------------------------------------------------
    |
    | This value allow you to change author meta tag in HTML head
    |
    */

    'author' => '',


    /*
    |--------------------------------------------------------------------------
    | Description
    |--------------------------------------------------------------------------
    |
    | This value allow you to change description meta tag in HTML head
    |
    */

    'description' => '',

    /*
    |--------------------------------------------------------------------------
    | Privacy Policy Link
    |--------------------------------------------------------------------------
    |
    | This option allow you to show or hide the 'privacy policy' link
    | at the bottom of SBAdmin theme and adjust the link to page
    | or file of your website policy and privacy declaration
    |
    */

    'show_privacy_policy_link' => true,
    'privacy_policy_link' => 'http://localhost',

    /*
    |--------------------------------------------------------------------------
    | Terms and Conditions Link
    |--------------------------------------------------------------------------
    |
    | This option allow you to show or hide the 'Terms & Conditions' link
    | at the bottom of SBAdmin theme and adjust the link to page
    | or file of your website terms & conditions declaration
    |
    */

    'show_terms_conditions_link' => true,
    'terms_conditions_link' => 'http://localhost',
];
bash
php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="sbadmin-theme"