PHPackages                             amdadulshakib/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. [Framework](/categories/framework)
4. /
5. amdadulshakib/installer

ActiveLibrary[Framework](/categories/framework)

amdadulshakib/installer
=======================

Laravel Installer Package

v2.1(7mo ago)018MITBladePHP ^8.1

Since Jul 9Pushed 7mo agoCompare

[ Source](https://github.com/AmdadulShakib/installer)[ Packagist](https://packagist.org/packages/amdadulshakib/installer)[ RSS](/packages/amdadulshakib-installer/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Project Installer Package
=================================

[](#laravel-project-installer-package)

A clean and easy-to-use Laravel installation wizard with environment setup, database import, admin user creation, and project locking system — perfect for CodeCanyon and distributable Laravel apps.

---

🚀 Features
----------

[](#-features)

- Welcome screen
- System requirements checker
- .env environment setup form
- Database connection test &amp; SQL file import (no migration)
- Admin user creation
- Installed lock file system
- UI-based installation wizard
- Middleware protection for installed state
- Publishable views &amp; assets

---

📂 Folder Structure Overview
---------------------------

[](#-folder-structure-overview)

```
packages/
└── amdadulshakib/
    └── Installer/
      └── src
          ├── Controllers/
          ├── Middleware/
          ├── routes/
          ├── resources/
          │   └── views/
          ├── routes/
          │   └── web.php
          ├── helper.php
          ├── InstallerServiceProvider.php
          └── composer.json

```

---

🧩 Installation
--------------

[](#-installation)

### Option 1: Use from GitHub

[](#option-1-use-from-github)

Add this to your project's `composer.json`:

```
"repositories": [
  {
    "type": "vcs",
    "url": "https://github.com/amdadulshakib/laravel-project-installer"
  }
]
```

Then run:

```
composer require amdadulshakib/installer
```

### Option 2: Use Locally (For development)

[](#option-2-use-locally-for-development)

Add this to your `composer.json`:

```
"repositories": [
  {
    "type": "path",
    "url": "packages/amdadulshakib/Installer"
  }
]
```

Then install:

```
composer require amdadulshakib/installer:@dev
```

---

⚙️ Publish Assets and Views
---------------------------

[](#️-publish-assets-and-views)

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

---

🛡️ Middleware
-------------

[](#️-middleware)

This package auto-registers a middleware `install.lock` that prevents accessing the app before installation.

You can apply globally using:

```
$this->app['router']->pushMiddlewareToGroup('web', \amdadulshakib\Installer\Middleware\IsNotInstalled::class);
```

Middleware Logic:

- If `/storage/installed.lock` does **not** exist, it redirects to `/install`
- After successful installation, the lock file is created
- Trying to access `/install` again after installation is **blocked**

---

🧪 SQL Import Instead of Migrations
----------------------------------

[](#-sql-import-instead-of-migrations)

The package does **not** use migrations. Instead, it imports `database.sql` from:

```
packages/amdadulshakib/Installer/database/database.sql

```

Place your pre-built SQL dump file here to set up the database during installation.

---

✍️ Usage Steps
--------------

[](#️-usage-steps)

1. Visit `/install`
2. Go through:
    - Welcome
    - Requirements check
    - Environment setup
    - Database setup (will import `database.sql`)
    - Admin user creation
    - Finish
3. After installation, a `storage/installed.lock` file will be created
4. Any access to `/install` after installation will be **blocked**

---

🎨 Styling
---------

[](#-styling)

To include CSS or JS:

1. Place files in `packages/amdadulshakib/Installer/public/`
2. Publish them using:

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

3. Use in views:

```

```

---

📦 License
---------

[](#-license)

Open-source and customizable for commercial or private Laravel projects.

---

❤️ Author
---------

[](#️-author)

**Amdadul Shakib**
[GitHub Profile](https://github.com/amdadulshakib)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance62

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~23 days

Total

4

Last Release

235d ago

Major Versions

v1.0.2 → v2.02025-09-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cdbf1c8c2c2b7ebf3f13841d5728468efb023f2204170776a1108aacd5d5ed2?d=identicon)[amdadulshakib](/maintainers/amdadulshakib)

---

Top Contributors

[![AmdadulShakib](https://avatars.githubusercontent.com/u/92402980?v=4)](https://github.com/AmdadulShakib "AmdadulShakib (5 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M672](/packages/laravel-socialite)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M224](/packages/laravel-horizon)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M597](/packages/laravel-ui)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[stancl/tenancy

Automatic multi-tenancy for your Laravel application.

4.3k6.6M40](/packages/stancl-tenancy)[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)

PHPackages © 2026

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