PHPackages                             jmrashed/php-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. jmrashed/php-installer

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

jmrashed/php-installer
======================

Reusable, framework-agnostic web installer for PHP applications — step-by-step installation wizard with multi-database support, migrations, and admin creation.

1.2.0(8mo ago)551MITPHPPHP &gt;=8.1

Since Oct 14Pushed 3mo agoCompare

[ Source](https://github.com/jmrashed/php-installer)[ Packagist](https://packagist.org/packages/jmrashed/php-installer)[ Docs](https://github.com/jmrashed/php-installer)[ RSS](/packages/jmrashed-php-installer/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (4)Used By (0)

PHP Installer Package
=====================

[](#php-installer-package)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/6eff5053a32c9e0bcc0982c4f118ef689cad7831a3d982767aae3901bf67313c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e342d626c75652e737667)](https://php.net/)[![GitHub release](https://camo.githubusercontent.com/13c24880e98c81780c1ae045f29fd67067320be6dbd00a705d9e3eb4ca61cd9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a6d7261736865642f7068702d696e7374616c6c65722e737667)](https://github.com/jmrashed/php-installer/releases)

A professional, reusable web installer for any PHP application. Simplify your deployment process with an intuitive step-by-step installation wizard.

✨ Features
----------

[](#-features)

- **System Requirements Check** - Validates PHP version, extensions, and directory permissions
- **Database Setup** - Automated database creation and schema import
- **PHP Migration Support** - Execute PHP-based migrations and seeders
- **Configuration Management** - Generates application config files
- **Admin Account Creation** - Optional administrator user setup
- **Installation Lock** - Prevents reinstallation after completion
- **CSRF Protection** - Secure form handling
- **Responsive UI** - Bootstrap-powered interface
- **Debug Control** - Environment-based debug output control
- **Error Handling** - Comprehensive validation and user feedback

🚀 Quick Start
-------------

[](#-quick-start)

### Installation

[](#installation)

```
composer require jmrashed/php-installer

# Clone the repository
git clone git@github.com:jmrashed/php-installer.git

# Or download and extract to your project
wget https://github.com/jmrashed/php-installer/archive/main.zip
```

### Integration

[](#integration)

1. Copy the `php-installer` folder to your project root
2. Create your database schema file at `database/db.sql`
3. Configure installer settings in `config/installer.php`
4. Access via browser: `http://yourdomain.com/php-installer/`

📋 Requirements
--------------

[](#-requirements)

- PHP 7.4 or higher
- PDO extension
- MySQL/MariaDB database
- Web server (Apache/Nginx)

🛠️ Configuration
----------------

[](#️-configuration)

Screenshot
==========

[](#screenshot)

[![Welcome](src/Assets/images/screenshots/1.png)](src/Assets/images/screenshots/1.png)

[![License](src/Assets/images/screenshots/2.png)](src/Assets/images/screenshots/2.png)

[![System Check](src/Assets/images/screenshots/3.png)](src/Assets/images/screenshots/3.png)

[![DB Config](src/Assets/images/screenshots/4.png)](src/Assets/images/screenshots/4.png)

[![DB Import](src/Assets/images/screenshots/5.png)](src/Assets/images/screenshots/5.png)

[![App Config](src/Assets/images/screenshots/6.png)](src/Assets/images/screenshots/6.png)

[![Admin Account](src/Assets/images/screenshots/7.png)](src/Assets/images/screenshots/7.png)

[![Finish](src/Assets/images/screenshots/8.png)](src/Assets/images/screenshots/8.png)

[![Success](src/Assets/images/screenshots/9.png)](src/Assets/images/screenshots/9.png)

### Basic Setup

[](#basic-setup)

Edit `config/installer.php`:

```
