Skip to content

postboxcms/laravelinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Installer

Laravel installer is an independent plugin to generate an installation wizard for your laravel application.

Installation

Download the package

Enter the root folder of your project in terminal and run:

composer require postboxcms/laravelinstaller

Publish assets

To publish the assets run the following command:

php artisan vendor:publish --tag=laravelinstaller

Add service provider

Edit config/app.php and add the following line under 'providers' array:

Postbox\LaravelInstaller\LaravelInstallerProvider::class

Add middleware

Edit app/Http/Kernel.php and add the following to $middleware array:

\Postbox\LaravelInstaller\Middleware\VerifyInstallation::class

Laravel preconfiguration

To avoid the string length error while migrations being re-run edit app/Providers/AppServiceProvider.php and make a few changes to it.

  1. On top of the file add the Schema facade:
    use Illuminate\Support\Facades\Schema;
  2. In the boot() function add the following line:
    Schema::defaultStringLength(191); 

Now run your application using php artisan serve or through the url and enjoy.

Credits

Laravel installer was created by Sanket Raut as an aid to help generate an installation wizard for laravel apps

About

Laravel installer is an independent plugin to create installation wizard for your app

Resources

License

Stars

Watchers

Forks

Packages

No packages published