Download the PHP package eliyas5044/laravel-visual-installer without Composer
On this page you can find all versions of the php package eliyas5044/laravel-visual-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eliyas5044/laravel-visual-installer
More information about eliyas5044/laravel-visual-installer
Files in eliyas5044/laravel-visual-installer
Package laravel-visual-installer
Short Description Laravel visual installer
License MIT
Homepage https://github.com/eliyas5044/laravel-visual-installer
Informations about the package laravel-visual-installer
Laravel Visual Web Installer
- About
- Requirements
- Laravel Compatibility
- Installation
- Extends
- Routes
- Usage
- Contributing
- License
About
This package was made possible by using Laravel Installer awesome package. Most code copied from this repository. I just needed more features for my project. So I've made this package.
The current features are :
- Check for server requirements.
- Check for folders permissions.
- Generate storage link to public folder.
- Ability to set database information.
- .env text editor
- .env form wizard
- Migrate the database.
- Seed the tables.
Requirements
Laravel Compatibility
Laravel | Laravel Visual Installer |
---|---|
5.7 | 1.0 + |
Installation
Step 1: Install package
Add the package in your composer.json by executing the command.
Step 2: Publish package
Publish the packages views, config file, assets, and language files by executing the command.
Note: For linux user
Extends
If you need extend this package, such as need more .env
variables, need to override controller method, you can easily extend it.
Create a file EnvironmentManager
in your app directory and bind it in your AppServiceProvider
.
Override controller method in \App\Http\Controllers\FinalController::class
Routes
/install
/update
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 abort to the 404 page.
- In order to install your application, go to the
-
Update Route Notes
- In order to update your application, go to the
/update
route and follow the instructions. - The
/update
routes counts how many migration files exist in the/database/migrations
folder and compares that count against the migrations table. If the files count is greater then the/update
route will render, otherwise, the page will abort to the 404 page.
- In order to update your application, go to the
- Additional Files and folders published to your project :
File | File Information |
---|---|
config/installer.php |
In here you can set the requirements along with the folders permissions for your application to run, by default the array contains 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 override 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/installer_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. |
Contributing
- If you have any suggestions please let me know : https://github.com/eliyas5044/laravel-visual-installer/pulls.
License
Laravel Visual Web Installer is licensed under the MIT license. Enjoy!