thetnb / laravel-installer
Laravel web installer
Fund package maintenance!
twitter.com/rashidlaasri
rachidlaasri.com
Requires
- php: >=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 or run other artisan commands.
Requirements
Installation
- From your projects root folder in terminal run:
composer require haozi-team/laravel-installer
- Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
php artisan vendor:publish --tag=laravelinstaller
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 countes 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 :
Contributing
- If you have any suggestions please let me know : https://github.com/haozi-team/LaravelInstaller/pulls.
- Please help us provide more languages for this awesome package please send a pull request https://github.com/haozi-team/LaravelInstaller/pulls.
Help
- Cannot figure it out? Need more help? Here is a video tutorial: Laravel Installer by Devdojo
Screenshots
Installer
Updater
Changelog
Please see CHANGELOG for more information on what has changed recently.