PHPackages                             kejubayer/laravel-installer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. kejubayer/laravel-installer

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

kejubayer/laravel-installer
===========================

Smart Laravel installer package with modern multi-step UI for cPanel deployment

v1.0.0(2mo ago)04MITPHP ^8.1

Since May 2Compare

[ Source](https://github.com/kejubayer/laravel-installer)[ Packagist](https://packagist.org/packages/kejubayer/laravel-installer)[ RSS](/packages/kejubayer-laravel-installer/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel Installer
=================

[](#laravel-installer)

A **smart, production-friendly Laravel installation wizard** for apps deployed on shared hosting, cPanel, VPS, or traditional servers.

`kejubayer/laravel-installer` adds a modern multi-step installer UI that guides users through:

- server requirement checks,
- file permission checks,
- database credential setup and validation,
- migration + optional seeding,
- installation lock to prevent re-running the installer.

Package Description
-------------------

[](#package-description)

This package is designed for Laravel products that are distributed to end users and need a browser-based setup flow instead of manual CLI-only installation.

### What it does

[](#what-it-does)

- Registers installation routes automatically via a service provider.
- Provides an install flow under a configurable route prefix (default: `/install`).
- Verifies PHP and required extensions before installation.
- Validates writable paths (`storage`, `bootstrap/cache`).
- Tests MySQL database credentials before saving.
- Updates `.env` database keys safely.
- Runs `php artisan migrate --force` and optional seeding.
- Creates a `storage/installed` lock file to block re-installation.

### Compatibility

[](#compatibility)

- **PHP:** `^8.1`
- **Laravel:** `^10.0 | ^11.0 | ^12.0`

Installation
------------

[](#installation)

### 1) Install via Composer

[](#1-install-via-composer)

```
composer require kejubayer/laravel-installer
```

The package supports Laravel auto-discovery, so the service provider is registered automatically.

### 2) (Optional) Publish configuration

[](#2-optional-publish-configuration)

Publish config only if you want to override defaults:

```
php artisan vendor:publish --tag=installer-config
```

Published file:

- `config/installer.php`

### 3) (Optional) Publish views

[](#3-optional-publish-views)

Publish views if you want to customize the installer UI:

```
php artisan vendor:publish --tag=installer-views
```

Published path:

- `resources/views/vendor/installer`

Usage
-----

[](#usage)

### 1) Configure installer options (optional)

[](#1-configure-installer-options-optional)

Edit `config/installer.php`:

```
return [
    'route_prefix' => 'install',
    'seed' => true,
    'required' => [
        'php' => '8.1.0',
    ],
];
```

- `route_prefix`: URL path for installer routes.
- `seed`: runs seeders automatically after migration.
- `required.php`: minimum PHP version requirement.

### 2) Open the installer in browser

[](#2-open-the-installer-in-browser)

Visit:

```
https://your-domain.com/install

```

(Or your custom route prefix from config.)

### 3) Complete the installer steps

[](#3-complete-the-installer-steps)

The wizard will guide you through:

1. **Requirements**: checks PHP version and required extensions.
2. **Permissions**: verifies `storage/` and `bootstrap/cache/` are writable.
3. **Database**: validates connection details and writes DB values to `.env`.
4. **Migration/Seed**: runs migration (and seed if enabled).
5. **Finish**: creates lock file at `storage/installed`.

Once `storage/installed` exists, installer routes return `404` to prevent re-installation.

Reset / Re-run Installer
------------------------

[](#reset--re-run-installer)

If you intentionally need to run installer again (for development/testing), remove the lock file:

```
rm storage/installed
```

> Do this only when you fully understand the impact on an existing installation.

Security Notes
--------------

[](#security-notes)

- Keep the installer enabled only until setup is complete.
- The lock file prevents public re-entry after installation.
- Use strong database credentials and secure server file permissions.

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance84

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

84d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47379243?v=4)[Khondoker Eftakhar Jubayer ](/maintainers/kejubayer)[@kejubayer](https://github.com/kejubayer)

### Embed Badge

![Health badge](/badges/kejubayer-laravel-installer/health.svg)

```
[![Health](https://phpackages.com/badges/kejubayer-laravel-installer/health.svg)](https://phpackages.com/packages/kejubayer-laravel-installer)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
