chalna/web-installer

Laravel Easy Installation System

1.0.1 2022-10-19 06:51 UTC

This package is auto-updated.

Last update: 2024-12-23 10:57:40 UTC


README

About

Do you want your clients to be able to install a Laravel project just like they do with WordPress or any other CMS? This Laravel package allows users who don't use Composer, SSH etc to install your application just by following the setup wizard. The current features are :

  • Check For Server Requirements.
  • Check For Folders Permissions.
  • Ability to set database information.
    • .env text editor
    • .env form wizard
  • Migrate The Database.
  • Seed The Tables.

Requirements

Installation

  1. From your projects root folder in terminal run:
composer require chalna/web-installer
  1. Register the package

Register the package with laravel in config/app.php under providers with the following:

'providers' => [
	Chalna\WebInstaller\Providers\WebInstallerServiceProvider::class,
];
  1. Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
php artisan vendor:publish --provider="Chalna\WebInstaller\Providers\WebInstallerServiceProvider"

Routes

  • /install

Usage

  • Install Routes Notes
    • In order to install your application, go to the /install route and follow the instructions.
    • Once the installation has ran the empty file installed will be placed into the /storage directory. If this file is present the route /install will redirect to homepage.

Folders