sudippalash / installer
Laravel package for Project installation
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
This package is auto-updated.
Last update: 2024-10-10 03:22:20 UTC
README
installer
is a project installing package of Laravel
.
Install
Via Composer
composer require sudippalash/installer
Publish config file
You can publish the config file with:
php artisan vendor:publish --provider="Sudip\Installer\Providers\AppServiceProvider" --tag=config
This is the contents of the published config file config/installer.php
:
return [ /* |-------------------------------------------------------------------------- | php |-------------------------------------------------------------------------- | | PHP required a version for your system and required extensions that user needs to enable or install on the server. | */ 'php' => [ 'require_version' => '7.3.0', 'require_extension' => ['bcmath', 'ctype', 'fileinfo', 'gd', 'json', 'mbstring', 'openssl', 'PDO', 'tokenizer', 'xml'], ], /* |-------------------------------------------------------------------------- | Direcotries Permissions |-------------------------------------------------------------------------- | | Users need to assign minimum permission for these project folders. | */ 'direcotries_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', ], ];
Usage
Type on your browser URL address bar:
{your_project_url}/install
License
The MIT License (MIT). Please see License File for more information.