joynala/web-installer
Composer 安装命令:
composer require joynala/web-installer
包简介
This is a laravel web installer and builder
README 文档
README
Welcome to Web Installer, a Laravel package designed to make setting up your app fun and easy. Imagine setting up your app as quickly as a spaceship launch. That's what we offer – a quick and enjoyable setup process. Get ready for a smooth ride.
📋 System Requirements
- Laravel: Version 10.x
- PHP: Version 8.2 or more
- API: Internet access for checking Envato purchases
🌈 Features
- 🚀 Quick Setup: Get your app running super fast.
- 🎨 Fully Customizable: Change it up to make it fully yours.
- ✨ Easy-to-use UI: A user interface so easy, you'll get it right away.
- 🔐 Envato Purchase Check: Stops unauthorized use by checking purchases.
- 🕵️♂️ No Nulled Versions: Keeps your code safe from being used without permission.
- 🛠️ Perfect for Developers: Make changes to fit your needs.
- ⚙️ Simple Configuration: Setting things up is super easy.
🚀 Getting Started
Prerequisites
Make sure you have Laravel version 10.x or newer.
Installation
- Add the package using Composer:
composer require joynala/web-installer
- Publish the package's resources:
php artisan vendor:publish --tag=web-installer-config
- In your
AppServiceProvider, in thebootmethod, add:
if(!$this->app->runningInConsole()){ if (!file_exists(base_path('storage/installed')) && !request()->is('install') && !request()->is('install/*')) { header("Location: install"); exit; } }
🛡️ Envato Purchase Check
Keep your app safe from unauthorized use by turning on Envato purchase checks.
Configuration
Find these settings in config/installer.php:
'product' => '', // Your product's name. 'verify_code' => '', // A secret code. 'verify_purchase' => true, // Turn on purchase checks. 'verify_rules' => [ // Rules for checking. ]
🎭 Keeping Your Code Safe
After checking:
- Use
php artisan make:json your file directoryto create a JSON file. - Store this file on your secure server.
- Give users access and directions after they pass the check:
- the response for 200 status
[
'permission' => true,
'restore' => [
[
'dir' => 'e.g., routes/web.php',
'source_code' => file_get_contents('path/to/your/json'),
],
]
]
- the response for 422 status
[
'permission' => false,
'message' => 'You provide a wrong purchase code.'
]
🌟 Contributing
Anyone can help make this project better. Fork the project, make your changes, and send us a pull request. Found a problem? Tell us here.
👥 Contributors
Thanks to these wonderful people:
📜 License
This project is under the MIT license.
Reach the Creator
- Facebook: Joynal Abedin
- Email: abedin.dev@gmail.com
- LinkedIn: Joynal Abedin
joynala/web-installer 适用场景与选型建议
joynala/web-installer 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 6.24k 次下载、GitHub Stars 达 14, 最近一次更新时间为 2024 年 02 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 joynala/web-installer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 joynala/web-installer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-19

