Easy Web Installer | A Web Installer
About
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.
- .env text editor
- .env form wizard
- Migrate The Database.
- Seed The Tables.
Requirements
Installation
- From your projects root folder in terminal run:
composer require chalna/web-installer
- Register the package
Register the package with laravel in config/app.php
under providers
with the following:
'providers' => [
Chalna\WebInstaller\Providers\WebInstallerServiceProvider::class,
];
- Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
php artisan vendor:publish --provider="Chalna\WebInstaller\Providers\WebInstallerServiceProvider"
Routes
/install
Usage
-
Install Routes Notes
- In order to install your application, go to the
/install
route and follow the instructions. - Once the installation has ran the empty file
installed
will be placed into the/storage
directory. If this file is present the route/install
will redirect to homepage.
- In order to install your application, go to the
Folders
Folder | Folder Information |
---|---|
public/installer |
This folder contains all the asset files, this file is responsible for the styling of your installer, you can overide the default stylesheet style.css and add your own. |
resources/views/web/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. |