PHP code example of atnic / laravel-sb-admin-2

1. Go to this page and download the library: Download atnic/laravel-sb-admin-2 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/ */

    

atnic / laravel-sb-admin-2 example snippets


'providers' => [
  ...
  Atnic\SBAdmin2\Providers\AppServiceProvider::class,
  ...
]
 artisan migrate
config/app.php
bash
php artisan make:sb-admin-2
bash
php artisan serve
bash
php artisan make:sb-admin-2 --help
resources/views/layouts/app.blade.php
app.blade.php
bash
php artisan vendor:publish --provider="Atnic\SBAdmin2\Providers\AppServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="Atnic\SBAdmin2\Providers\AppServiceProvider" --tag="views"