mirkoschmidt/laravel-installer

Laravel web installer

1.0.11 2017-12-27 20:23 UTC

This package is not auto-updated.

Last update: 2024-11-06 12:24:02 UTC


README

Latest Stable Version License

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 :

  • Auto generate .env file
  • Redirect to /install route if none database name exists(anything other than homestead)
  • Check For Server Requirements.
  • Check For Folders Permissions.
  • Ability to set database information (.env from wizard).
  • Migrate The Database.

Requirements

Installation

  1. Include it into your composer.json:
     composer require mirkoschmidt/laravel-installer
  1. Register the package
  • Laravel 5.5 and up Uses package auto discovery feature, no need to edit the config/app.php file.

  • Laravel 5.4 and below Register the package with laravel in config/app.php under providers with the following:

	'providers' => [
	    MirkoSchmidt\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class,
	];

Routes

  • /install
  • /update

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 abort to the 404 page.
  • Update Route Notes

    • In order to update your application, go to the /update route and follow the instructions.
    • The /update routes countes how many migration files exist in the /database/migrations folder and compares that count against the migrations table. If the files count is greater then the /update route will render, otherwise, the page will abort to the 404 page.
  • Additional Files and folders published to your project :

Contributing

Help

Screenshots

Installer

Laravel web installer | Step 1 Laravel web installer | Step 2 Laravel web installer | Step 3 Laravel web installer | Step 4 Wizard 1 Laravel web installer | Step 4 Wizard 2 Laravel web installer | Step 4 Wizard 3 Laravel web installer | Step 5

Updater

Laravel web updater | Step 1 Laravel web updater | Step 2 Laravel web updater | Step 3

License

Laravel Web Installer is licensed under the MIT license. Enjoy!