Skip to content

buruhdev/laravel-sbadmin

Repository files navigation

Laravel SBAdmin Theme Integration

Latest Version on Packagist

Total Downloads

This package will help you to adding bootstrap sbadmin template to your laravel app.

Installation

You can install the package via composer:

composer require buruhdev/laravel-sbadmin

You can publish the config file with:

php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="config"

This is the contents of the published config file:

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',
];

Finally, you need to publish the views using

php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="sbadmin-theme"

Usage

You can use the published views to start using the sbadmin theme

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.