1. Go to this page and download the library: Download sudippalash/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/ */
sudippalash / installer example snippets
return [
/*
|--------------------------------------------------------------------------
| php
|--------------------------------------------------------------------------
|
| PHP ,
/*
|--------------------------------------------------------------------------
| Directories Permissions
|--------------------------------------------------------------------------
|
| Users need to assign minimum permission for these project folders.
|
*/
'directories_permissions' => [
'bootstrap/cache' => '775',
'storage/app' => '775',
'storage/framework' => '775',
'storage/logs' => '775',
],
/*
|--------------------------------------------------------------------------
| env
|--------------------------------------------------------------------------
|
| Set your default .env value. The form will show those data then the user can change it.
|
*/
'env' => [
'APP_NAME' => 'Laravel',
'APP_URL' => url('/'),
'LOG_CHANNEL' => 'daily',
'FILESYSTEM_DRIVER' => 'public',
'DB_HOST' => '127.0.0.1',
'DB_PORT' => 3306,
'DB_DATABASE' => 'laravel',
'DB_USERNAME' => 'root',
'DB_PASSWORD' => '',
'MAIL_MAILER' => 'smtp',
'MAIL_HOST' => 'smtp.mailgun.org',
'MAIL_PORT' => 587,
'MAIL_USERNAME' => null,
'MAIL_PASSWORD' => null,
'MAIL_ENCRYPTION' => 'tls',
'MAIL_FROM_ADDRESS' => null,
'MAIL_FROM_NAME' => 'Laravel',
],
];