hashcode/larainstaller
Composer 安装命令:
composer require hashcode/larainstaller
包简介
A web-based Laravel installer package that simplifies project setup and configuration, enabling developers to start their projects quickly without using the command line.
README 文档
README
A web-based Laravel installer package designed to simplify project setup and configuration with an intuitive, lightweight interface. This package streamlines the process of verifying licenses, checking server requirements, managing folder permissions, setting up databases, and configuring admin credentials.
Features
- Lightweight User Interface: A clean and simple UI for easy navigation during installation.
- Verify Envato License: Ensures only authorized users can proceed with the installation process.
- Server Requirement Check: Automatically checks for required PHP extensions and server configurations.
- Folder Permission Validation: Ensures necessary folders have the correct permissions for Laravel to function smoothly.
- Automatic Database Migration: Runs database migrations with seeders and demo data effortlessly.
- Admin Setup: Guides you through setting up admin credentials during installation.
Installation
To install the package, use Composer:
composer require hashcode/larainstaller
Register the Service Provider
Add the service provider to the providers array in config/app.php:
'providers' => [
// Other Service Providers
Hashcode\Larainstaller\Providers\LarainstallerServiceProvider::class,
],
Publish Assets
Publish the package's assets and configuration files by running:
php artisan vendor:publish --tag=larainstaller
Usage Access the Installer
After installation, navigate to the installer interface in your browser by visiting:
http://yourdomain.com/install
Step-by-Step Installation Process
License Verification: Enter your valid Envato license key to proceed.
Server Requirements: Ensure all server requirements are met.
Folder Permissions: Adjust folder permissions as needed.
Database Setup: Provide your database credentials and let the installer handle migrations with demo data.
Admin Setup: Enter your desired admin credentials to complete the installation.
##Note
If you do not want to run migrations and prefer to use an existing SQL file for the database:
Place your SQL file in the database folder and name it database.sql.
The installer will automatically detect and import the database.sql file instead of running migrations.
hashcode/larainstaller 适用场景与选型建议
hashcode/larainstaller 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 47 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 01 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 hashcode/larainstaller 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hashcode/larainstaller 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-10