PHP code example of softpromani / college-admin

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

    

softpromani / college-admin example snippets


return [
    // Version number
    'version' => \CollegeAdmin\CollegeAdmin::VERSION,

    // Custom route prefix and middlewares
    'route' => [
        'prefix' => env('COLLEGE_ADMIN_PREFIX', 'admin'),
        'middleware' => ['web', 'localization'],
        'name_prefix' => 'admin.',
    ],

    // Update checker configuration
    'updates' => [
        'check_enabled' => env('COLLEGE_ADMIN_CHECK_UPDATES', true),
        'github_repo' => env('COLLEGE_ADMIN_GITHUB_REPO', 'your-org/college-master-admin'),
        'cache_duration_hours' => 12,
    ],

    // Branding
    'branding' => [
        'app_name' => env('COLLEGE_ADMIN_NAME', 'College Master Admin'),
        'logo_path' => 'vendor/college-admin/assets/img/logo.png',
    ],
];

   const VERSION = '1.1.0';
   
bash
php artisan college-admin:install