tsakib360 / zai-installer
Laravel Web Installer For Stavbook
Installs: 2 476
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
Language:Blade
pkg:composer/tsakib360/zai-installer
Requires
- php: ^7.0.0|^8.0.0
README
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 tsakib360/zai-installer
- Register the package
Register the package with laravel in config/app.php under providers with the following:
'providers' => [ Tsakib360\ZaiInstaller\Providers\ZaiInstallerServiceProvider::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="Tsakib360\ZaiInstaller\Providers\ZaiInstallerServiceProvider"
Routes
/install
Usage
- Install Routes Notes
- In order to install your application, go to the
/installroute and follow the instructions. - Once the installation has ran the empty file
installedwill be placed into the/storagedirectory. If this file is present the route/installwill redirect to homepage.
- In order to install your application, go to the
Folders
| Folder | Folder Information |
|---|---|
public/stavfiles |
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/stavbook/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. |