PHP code example of imrostom / laravel-ui-installer

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

    

imrostom / laravel-ui-installer example snippets


return [
    'php_version'   => '8.1.0',
    'extensions'    => ['openssl', 'pdo', 'pdo_mysql', ...],
    'functions'     => ['proc_open', 'exec'],
    'writable_paths' => ['storage', 'bootstrap/cache', ...],
    'app_demo'       => env('APP_DEMO', false),
    'app_id'       => env('app_id', 'green-mailer'),
    'app_author_url' => env('APP_AUTHOR_URL', ''),

    'admin' => [
        'model'           => \App\Models\User::class,
        'name_column'     => 'name',
        'email_column'    => 'email',
        'password_column' => 'password',
    ],

    'seeders'      => [],               // optional seeder classes
    'redirect_url' => '/login',         // after installation
    'route_prefix' => 'install',        // URL prefix
    'lock_file'    => 'installed.lock', // relative to storage_path()
];