Home

Awesome

Laravel Installer

This repository is the Laravel 5.3 version of this one.

Features

Installation

Type :

    composer require bestmomo/laravel5-3-installer

Add the service provider to config/app.php :

    Bestmomo\Installer\InstallerServiceProvider::class,

Publish

The last required step is to publish views, translations and configuration in your application with :

    php artisan vendor:publish --tag=laravel-installer

Configuration

Views

View are in resources/views/vendor/installer, you can customize them as you want.

Translations

Translations are in resources/lang/* in installer.php file. You can customize them as you want and add other languages (default are only en and fr).

Configuration

Configuration is in config/installer.php :

  'publish-path' => base_path('blog'),

Take care that any file with same name will be changed for the new one.

To add other informations to administrator as roles you can create this method in RegisterController :

protected function userAddValues(User $user)
{
    // Add elements to administrator record there
}

The user model is provided as method parameter so you can easily set a query.

Todo list