meetahir/laravel-web-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

meetahir/laravel-web-installer

最新稳定版本:v1.0.0

Composer 安装命令:

composer require meetahir/laravel-web-installer

包简介

Laravel web installer

README 文档

README

A modern, web-based installer for your Laravel application. It guides you through server requirements, permissions, environment setup, database migrations, seeding, and creating a Super Admin user.

Features

  • Server requirements check (PHP version and extensions)
  • Folder permissions check
  • Environment (.env) setup helper
  • Super Admin user creation (configurable fields)
  • Database migrate and seed flow
  • Clean, Tailwind-based UI

Requirements

  • PHP 8.1+
  • Laravel 10.x or 11.x

Installation

Require this package with Composer:

composer require meetahir/laravel-web-installer

The package supports Laravel auto-discovery. If you disabled auto-discovery, register the service provider manually.

  • For Laravel 10.x and below: add to config/app.php providers array
'providers' => [
    // ...
    Meetahir\LaravelWebInstaller\Providers\LaravelInstallerServiceProvider::class,
];
  • For Laravel 11.x+: add to bootstrap/providers.php
return [
    // ...
    Meetahir\LaravelWebInstaller\Providers\LaravelInstallerServiceProvider::class,
];

Publish assets, views and translations (optional but recommended for customization):

php artisan vendor:publish --provider="Meetahir\\LaravelWebInstaller\\Providers\\LaravelInstallerServiceProvider"

This will publish:

  • config/installer.php – server requirements and folder permissions
  • public/installer/* – assets used by the installer
  • resources/views/vendor/installer/* – installer views
  • resources/lang/en/installer_messages.php – translation strings

Usage

  1. Ensure you have a .env file at the project root (the installer can help fill DB fields).
  2. Visit the installer at:
  3. Follow the steps:
    • Welcome
    • Environment (database credentials)
    • Super Admin (create initial admin user)
    • Requirements
    • Permissions
    • Finish

Screenshots

Below are example screenshots of the steps you will see in the web installer:

  • Welcome

    Welcome

  • Environment

    Environment

  • Super Admin

    Super Admin

  • Requirements

    Requirements

  • Permissions

    Permissions

  • Finished

    Finished

Note: If the images above don’t load, they are just references; you can replace them with your own screenshots in your project’s README or documentation.

Configuration

  • Edit config/installer.php to change required PHP version, extensions and folder permissions.
  • Customize fields for the Super Admin form via config('installer.super_admin.fields').
  • Adjust UI text in resources/lang/*/installer_messages.php.

License

MIT

Credits

Inspired by the community and tailored for Meet Ahir's Laravel projects.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-14