A web installer for Laravel 5.1
PHP HTML
Latest commit 7bed000 Jan 22, 2017 @RachidLaasri committed on GitHub Merge pull request #62 from alanpilloud/dev-update
Add ability to update the website instead of re-installing.
Permalink
Failed to load latest commit information.
src add fr translations Jan 18, 2017
.gitignore Adding Spanigh translation May 17, 2016
composer.json Add functions file Dec 2, 2015
readme.md add note on routes Jan 17, 2017

readme.md

Laravel Web Installer

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 :

- Check For Server Requirements.
- Check For Folders Permissions.
- Ability to set database information.
- Migrate The Database.
- Seed The Tables.

If you have any suggestions please let me know : https://github.com/RachidLaasri/LaravelInstaller/pulls.

Installation

First, pull in the package through Composer.

"require": {
    "rachidlaasri/laravel-installer": "1.5"
}

And then run :

composer update

After that, include the service provider within config/app.php.

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

You can't figure it out? You need more help? Here is a video tutorial for you : Laravel Installer by Devdojo

Usage

Before using this package you need to run :

php artisan vendor:publish --provider="RachidLaasri\LaravelInstaller\Providers\LaravelInstallerServiceProvider"

You will notice additional files and folders appear in your project :

  • config/installer.php : In here you can set the requirements along with the folders permissions for your application to run, by default the array cotaines the default requirements for a basic Laravel app.
  • public/installer/assets : This folder contains a css folder and inside of it you will find a main.css file, this file is responsible for the styling of your installer, you can overide the default styling and add your own.
  • resources/views/vendor/installer : This folder contains the HTML code for your installer, it is 100% customizable, give it a look and see how nice/clean it is.
  • resources/lang/en/messages.php : This file holds all the messages/text, currently only English is available, if your application is in another language, you can copy/past it in your language folder and modify it the way you want. If you wanna help us provide more languages for this awesome package please send a pull request https://github.com/RachidLaasri/LaravelInstaller/pulls.

Installing and updating your application

In order to install your application, go to the /install route and follow the instructions.

In order to update your application, go to the /update route and follow the instructions.

Screenshots

Laravel web installer

TODO

  • Create Wiki.
  • Support more languages.