Skip to content

Codeshaper-bd/laravel-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • [Laravel 5.5+]

Installation

  • Add CODESHAPER_ITEM_ID to your .env file

  • Add in composer.json

"require": {
	"rachidlaasri/laravel-installer": "dev-master",
},
  • Add vcs url for this package to your composer.json file:
"repositories": {
        "rachidlaasri/laravel-installer": {
            "type": "vcs",
            "url": "[email protected]:Codeshaper-bd/laravel-installer.git"
        }
    },
  • Run composer update rachidlaasri/laravel-installer to install the package.
  • Delete config\installer.php folder if exists.
  • Delete public\installer folder if exists.
  • Delete resources\views\vendor\installer folder if exists.
  • Delete resources\lang folder if exists.
  • Run php artisan vendor:publish --provider="RachidLaasri\LaravelInstaller\Providers\LaravelInstallerServiceProvider" to publish the assets.
  • Wrap all your routes in ['is_verified', 'need_to_install'] middleware. For example:
Route::group(['middleware' => ['is_verified', 'need_to_install']], function () {
	// `/` route needs for redirecting to `install` route
	Route::get('/', function () {
		return view('welcome');
	});
	// Your routes here
	[...]
});
  • Run php artisan optimize:clear.

Screenshots

Installer

Laravel web installer | Step 1 Laravel web installer | Step 2 Laravel web installer | Step 3 Laravel web installer | Step 4 Menu Laravel web installer | Step 4 Classic 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!