postboxcms / laravelinstaller
An installation wizard for Laravel apps
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 0
Language:Blade
Requires
- php: ^7.3 || ^8.0
- facade/ignition-contracts: ^1.0
- filp/whoops: ^2.7.2
- symfony/console: ^5.0
Requires (Dev)
- laravel/framework: ^9.0
README
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.
- On top of the file add the
Schema
facade:use Illuminate\Support\Facades\Schema;
- 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