PHP code example of administrcms / administr

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

    

administrcms / administr example snippets


// in app.php
'providers' => [
    // ...
    Administr\Providers\AdministrServiceProvider::class,
    // ...
],

// in AppServiceProvider
public function register()
{
    $this->app->register(\Administr\Providers\AdministrServiceProvider::class);
}


php artisan vendor:publish --provider="Administr\Providers\AdministrServiceProvider"

php artisan migrate