|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Server Requirements |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | This is the default Laravel server requirements, you can add as many |
| 11 | + | as your application require, we check if the extension is enabled |
| 12 | + | by looping through the array and run "extension_loaded" on it. |
| 13 | + | |
| 14 | + */ |
| 15 | + 'core' => [ |
| 16 | + 'minPhpVersion' => '7.0.0', |
| 17 | + ], |
| 18 | + 'final' => [ |
| 19 | + 'key' => true, |
| 20 | + 'publish' => false, |
| 21 | + ], |
| 22 | + 'requirements' => [ |
| 23 | + 'php' => [ |
| 24 | + 'openssl', |
| 25 | + 'pdo', |
| 26 | + 'mbstring', |
| 27 | + 'tokenizer', |
| 28 | + 'JSON', |
| 29 | + 'cURL', |
| 30 | + ], |
| 31 | + 'apache' => [ |
| 32 | + 'mod_rewrite', |
| 33 | + ], |
| 34 | + ], |
| 35 | + |
| 36 | + /* |
| 37 | + |-------------------------------------------------------------------------- |
| 38 | + | Folders Permissions |
| 39 | + |-------------------------------------------------------------------------- |
| 40 | + | |
| 41 | + | This is the default Laravel folders permissions, if your application |
| 42 | + | requires more permissions just add them to the array list bellow. |
| 43 | + | |
| 44 | + */ |
| 45 | + 'permissions' => [ |
| 46 | + 'storage/framework/' => '775', |
| 47 | + 'storage/logs/' => '775', |
| 48 | + 'bootstrap/cache/' => '775', |
| 49 | + ], |
| 50 | + |
| 51 | + /* |
| 52 | + |-------------------------------------------------------------------------- |
| 53 | + | Environment Form Wizard Validation Rules & Messages |
| 54 | + |-------------------------------------------------------------------------- |
| 55 | + | |
| 56 | + | This are the default form field validation rules. Available Rules: |
| 57 | + | https://laravel.com/docs/5.4/validation#available-validation-rules |
| 58 | + | |
| 59 | + */ |
| 60 | + 'environment' => [ |
| 61 | + 'form' => [ |
| 62 | + 'rules' => [ |
| 63 | + 'app_name' => 'required|string|max:50', |
| 64 | + 'environment' => 'required|string|max:50', |
| 65 | + 'environment_custom' => 'required_if:environment,other|max:50', |
| 66 | + 'app_debug' => 'required|string', |
| 67 | + 'app_log_level' => 'required|string|max:50', |
| 68 | + 'app_url' => 'required|url', |
| 69 | + 'database_connection' => 'required|string|max:50', |
| 70 | + 'database_hostname' => 'required|string|max:50', |
| 71 | + 'database_port' => 'required|numeric', |
| 72 | + 'database_name' => 'required|string|max:50', |
| 73 | + 'database_username' => 'required|string|max:50', |
| 74 | + 'database_password' => 'nullable|string|max:50', |
| 75 | + 'broadcast_driver' => 'required|string|max:50', |
| 76 | + 'cache_driver' => 'required|string|max:50', |
| 77 | + 'session_driver' => 'required|string|max:50', |
| 78 | + 'queue_driver' => 'required|string|max:50', |
| 79 | + 'redis_hostname' => 'required|string|max:50', |
| 80 | + 'redis_password' => 'required|string|max:50', |
| 81 | + 'redis_port' => 'required|numeric', |
| 82 | + 'mail_driver' => 'required|string|max:50', |
| 83 | + 'mail_host' => 'required|string|max:50', |
| 84 | + 'mail_port' => 'required|string|max:50', |
| 85 | + 'mail_username' => 'required|string|max:50', |
| 86 | + 'mail_password' => 'required|string|max:50', |
| 87 | + 'mail_encryption' => 'required|string|max:50', |
| 88 | + 'pusher_app_id' => 'max:50', |
| 89 | + 'pusher_app_key' => 'max:50', |
| 90 | + 'pusher_app_secret' => 'max:50', |
| 91 | + ], |
| 92 | + ], |
| 93 | + ], |
| 94 | + |
| 95 | + /* |
| 96 | + |-------------------------------------------------------------------------- |
| 97 | + | Installed Middleware Options |
| 98 | + |-------------------------------------------------------------------------- |
| 99 | + | Different available status switch configuration for the |
| 100 | + | canInstall middleware located in `canInstall.php`. |
| 101 | + | |
| 102 | + */ |
| 103 | + 'installed' => [ |
| 104 | + 'redirectOptions' => [ |
| 105 | + 'route' => [ |
| 106 | + 'name' => 'welcome', |
| 107 | + 'data' => [], |
| 108 | + ], |
| 109 | + 'abort' => [ |
| 110 | + 'type' => '404', |
| 111 | + ], |
| 112 | + 'dump' => [ |
| 113 | + 'data' => 'Dumping a not found message.', |
| 114 | + ], |
| 115 | + ], |
| 116 | + ], |
| 117 | + |
| 118 | + /* |
| 119 | + |-------------------------------------------------------------------------- |
| 120 | + | Selected Installed Middleware Option |
| 121 | + |-------------------------------------------------------------------------- |
| 122 | + | The selected option fo what happens when an installer instance has been |
| 123 | + | Default output is to `/resources/views/error/404.blade.php` if none. |
| 124 | + | The available middleware options include: |
| 125 | + | route, abort, dump, 404, default, '' |
| 126 | + | |
| 127 | + */ |
| 128 | + 'installedAlreadyAction' => '', |
| 129 | + |
| 130 | + /* |
| 131 | + |-------------------------------------------------------------------------- |
| 132 | + | Updater Enabled |
| 133 | + |-------------------------------------------------------------------------- |
| 134 | + | Can the application run the '/update' route with the migrations. |
| 135 | + | The default option is set to False if none is present. |
| 136 | + | Boolean value |
| 137 | + | |
| 138 | + */ |
| 139 | + 'updaterEnabled' => 'true', |
| 140 | + |
| 141 | +]; |
0 commit comments