shaz3e/laravelinstaller
Composer 安装命令:
composer require shaz3e/laravelinstaller
包简介
Laravel web installer
README 文档
README
All credit for this repository is for (rashidlaasri/LaravelInstaller)[https://github.com/rashidlaasri/LaravelInstaller] his sponsership will remain active to this repository always
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 shaz3e/laravelinstaller
- Register the package
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the
config/app.phpfile. -
Laravel 5.4 and below Register the package with laravel in
config/app.phpunderproviderswith the following:
'providers' => [ Shaz3e\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class, ];
- 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
/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 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
/updateroute and follow the instructions. - The
/updateroutes countes how many migration files exist in the/database/migrationsfolder and compares that count against the migrations table. If the files count is greater then the/updateroute 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 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/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/Shaz3e/LaravelInstaller/pulls.
- Please help us provide more languages for this awesome package please send a pull request https://github.com/Shaz3e/LaravelInstaller/pulls.
Help
- Cannot figure it out? Need more help? Here is a video tutorial: Laravel Installer by Devdojo
Screenshots
Installer
Updater
License
Laravel Web Installer is licensed under the MIT license. Enjoy!
Credit
shaz3e/laravelinstaller 适用场景与选型建议
shaz3e/laravelinstaller 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 882 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 07 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 shaz3e/laravelinstaller 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 shaz3e/laravelinstaller 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 882
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27