PHPackages                             jmrashed/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jmrashed/laravel-installer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jmrashed/laravel-installer
==========================

A complete web installer for Laravel applications, making the setup process simple and user-friendly.

v2.0.7(7mo ago)7973MITPHPPHP &gt;=8.1.0CI failing

Since Oct 18Pushed 7mo ago2 watchersCompare

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

READMEChangelogDependencies (9)Versions (14)Used By (0)

Laravel Installer v2.0.0
========================

[](#laravel-installer-v200)

[![Latest Stable Version](https://camo.githubusercontent.com/2eb0c5854f20c261b71abe9d7971825f9d471b56a3f1bd165f9688172bd4b366/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f762f737461626c65)](https://packagist.org/packages/jmrashed/laravel-installer) [![Total Downloads](https://camo.githubusercontent.com/ef5cdb6e4a445e9fad3bcafa611cb3cad33c4853898aa8a1d8157b2fda63e9a6/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f646f776e6c6f616473)](https://packagist.org/packages/jmrashed/laravel-installer) [![Monthly Downloads](https://camo.githubusercontent.com/ddd85db3d316908e7bb78c6045a608cfc0b09a92fce9510f8b4c38efea79aaab/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f642f6d6f6e74686c79)](https://packagist.org/packages/jmrashed/laravel-installer) [![License](https://camo.githubusercontent.com/8f6f06116a5ddf24ddd063062896cd932895068c6dec7940766313f98f68cfcb/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f6c6963656e7365)](https://packagist.org/packages/jmrashed/laravel-installer) [![Stars](https://camo.githubusercontent.com/d6c0e0431e0929ccc679d664b5f2fe3459e1f013d22f59d66cad9dcff63cd480/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/jmrashed/laravel-installer) [![Forks](https://camo.githubusercontent.com/74480f1073e67711974421dc92901a801b3fd27e9436d5fa410cec2066f38a8a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c266c6162656c3d466f726b73)](https://github.com/jmrashed/laravel-installer)

**Laravel Installer v2.0.0** is a complete enterprise-grade package designed to simplify and secure the installation process for Laravel projects. This installer features advanced security, performance monitoring, database backup/recovery, and a comprehensive 9-step installation process.

---

🚀 **What's New in v2.0.0**
--------------------------

[](#-whats-new-in-v200)

### ✅ **Complete 9-Step Installation Process**

[](#-complete-9-step-installation-process)

1. **Welcome Screen** - Introduction and overview
2. **Server Requirements** - PHP version and extension checks
3. **File Permissions** - Directory permission validation
4. **Dependencies Check** - Composer dependency validation *(NEW)*
5. **Environment Setup** - .env file configuration
6. **Database Configuration** - Database connection setup
7. **Database Backup &amp; Migration** - Automated backup and migration *(NEW)*
8. **Cache &amp; Queue Setup** - Performance optimization *(NEW)*
9. **Performance Dashboard** - Real-time monitoring *(NEW)*

### 🛡️ **Enhanced Security Features**

[](#️-enhanced-security-features)

- **XSS Protection** - Input sanitization and validation
- **Rate Limiting** - IP-based request throttling (20 req/5min)
- **Security Headers** - CSP, Frame Options, XSS Protection
- **Audit Logging** - Comprehensive security event logging
- **Suspicious Content Detection** - Automatic threat detection

### ⚡ **Performance Monitoring**

[](#-performance-monitoring)

- **Real-time Metrics** - Execution time, memory usage tracking
- **Performance Dashboard** - Interactive charts and graphs
- **Database Optimization** - Query optimization for large datasets
- **Cache Management** - Automated cache clearing and optimization
- **Memory Optimization** - Garbage collection and memory management

### 🔄 **Resumable Installation**

[](#-resumable-installation)

- **Progress Tracking** - Visual progress indicators
- **State Persistence** - Resume interrupted installations
- **Step Validation** - Prevent skipping required steps
- **Error Recovery** - Automatic rollback on failures

### 💾 **Database Backup &amp; Recovery**

[](#-database-backup--recovery)

- **Pre-migration Backup** - Automatic database backup
- **Multi-database Support** - MySQL, PostgreSQL, SQLite
- **Rollback Capability** - Restore on migration failures
- **Batch Processing** - Handle large database migrations

---

📊 Statistics
------------

[](#-statistics)

- **Total Downloads**: [![Total Downloads](https://camo.githubusercontent.com/ef5cdb6e4a445e9fad3bcafa611cb3cad33c4853898aa8a1d8157b2fda63e9a6/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f646f776e6c6f616473)](https://camo.githubusercontent.com/ef5cdb6e4a445e9fad3bcafa611cb3cad33c4853898aa8a1d8157b2fda63e9a6/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f646f776e6c6f616473)
- **Monthly Downloads**: [![Monthly Downloads](https://camo.githubusercontent.com/ddd85db3d316908e7bb78c6045a608cfc0b09a92fce9510f8b4c38efea79aaab/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f642f6d6f6e74686c79)](https://camo.githubusercontent.com/ddd85db3d316908e7bb78c6045a608cfc0b09a92fce9510f8b4c38efea79aaab/68747470733a2f2f706f7365722e707567782e6f72672f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722f642f6d6f6e74686c79)
- **GitHub Stars**: [![Stars](https://camo.githubusercontent.com/aa4c2d736db1433de884798179229e975dae4c21a1b13aca10dfde594de2ea2f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c)](https://camo.githubusercontent.com/aa4c2d736db1433de884798179229e975dae4c21a1b13aca10dfde594de2ea2f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c)
- **GitHub Forks**: [![Forks](https://camo.githubusercontent.com/d6f3579d16ad2ff31ca9641452bf8ea2c0dfffadb00f9f710044a95f8de76b37/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c)](https://camo.githubusercontent.com/d6f3579d16ad2ff31ca9641452bf8ea2c0dfffadb00f9f710044a95f8de76b37/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6d7261736865642f6c61726176656c2d696e7374616c6c65722e7376673f7374796c653d736f6369616c)

---

🌟 Features
----------

[](#-features)

### **Core Features**

[](#core-features)

- ✅ **System Requirements Check** - PHP version and extension validation
- ✅ **Environment File Setup** - Interactive .env configuration
- ✅ **Database Configuration** - Multi-database support with testing
- ✅ **Purchase Code Validation** - Envato marketplace integration
- ✅ **User-Friendly Interface** - Modern responsive design

### **v2.0.0 New Features**

[](#v200-new-features)

- ✅ **Dependency Management** - Composer package validation and installation
- ✅ **Performance Monitoring** - Real-time metrics and optimization
- ✅ **Security Enhancements** - XSS protection, rate limiting, audit logging
- ✅ **Database Backup/Recovery** - Automated backup with rollback capability
- ✅ **Cache &amp; Queue Setup** - Redis, database, sync queue configuration
- ✅ **Progress Tracking** - Resumable installation with state persistence
- ✅ **Multi-language Support** - 18+ languages supported
- ✅ **API Endpoints** - RESTful APIs for all installation operations

---

🛠️ Installation
---------------

[](#️-installation)

### **Step 1: Install Package**

[](#step-1-install-package)

```
composer require jmrashed/laravel-installer
```

### **Step 2: Publish Configuration**

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

```
php artisan vendor:publish --provider="Jmrashed\LaravelInstaller\Providers\LaravelInstallerServiceProvider"
php artisan vendor:publish --tag=installer-config
```

### **Step 3: Publish Assets (Optional)**

[](#step-3-publish-assets-optional)

```
php artisan vendor:publish --tag=laravelinstaller --force
```

---

🚀 How to Use
------------

[](#-how-to-use)

### **Web Interface**

[](#web-interface)

Navigate to `/install` in your browser to start the installation wizard.

### **Command Line**

[](#command-line)

```
php artisan installer:run
```

### **Clear Installer Caches**

[](#clear-installer-caches)

```
php artisan installer:clear-caches
```

Demo Screenshots
----------------

[](#demo-screenshots)

[![Purchase Validation](src/assets/img/docs/1.png)](src/assets/img/docs/1.png)

[![Server Requirements](src/assets/img/docs/2.png)](src/assets/img/docs/2.png)

[![Permissions](src/assets/img/docs/3.png)](src/assets/img/docs/3.png)

[![Dependencies](src/assets/img/docs/4.png)](src/assets/img/docs/4.png)

[![Environment](src/assets/img/docs/5.png)](src/assets/img/docs/5.png)

[![Database](src/assets/img/docs/6.png)](src/assets/img/docs/6.png)

[![Migration](src/assets/img/docs/7.png)](src/assets/img/docs/7.png)

[![Cache & Queue](src/assets/img/docs/8.png)](src/assets/img/docs/8.png)

[![Performance](src/assets/img/docs/9.png)](src/assets/img/docs/9.png)

[![Finished](src/assets/img/docs/10.png)](src/assets/img/docs/10.png)

---

🔧 **API Endpoints**
-------------------

[](#-api-endpoints)

### **Progress Tracking**

[](#progress-tracking)

- `GET /install/api/progress` - Get installation progress
- `POST /install/api/progress/update` - Update progress step

### **Dependencies**

[](#dependencies)

- `GET /install/api/dependencies/check` - Check dependencies
- `POST /install/api/dependencies/install` - Install packages

### **Performance**

[](#performance)

- `GET /install/api/performance/metrics` - Get real-time metrics
- `POST /install/api/performance/optimize` - Optimize performance

### **Database**

[](#database)

- `POST /install/api/database/migrate` - Run migrations with backup
- `POST /install/api/database/rollback` - Rollback to backup

### **Cache &amp; Queue**

[](#cache--queue)

- `POST /install/api/cache/clear` - Clear all caches
- `POST /install/api/queue/setup` - Configure queue drivers

---

🛡️ **Security Features**
------------------------

[](#️-security-features)

### **Input Validation**

[](#input-validation)

```
// All inputs are sanitized and validated
$sanitizedInput = SecurityHelper::sanitizeInput($request->input());
```

### **Rate Limiting**

[](#rate-limiting)

```
// IP-based rate limiting (20 requests per 5 minutes)
RateLimiter::attempt('installer:' . $request->ip(), 20, 300);
```

### **Security Headers**

[](#security-headers)

- `X-Content-Type-Options: nosniff`
- `X-Frame-Options: DENY`
- `X-XSS-Protection: 1; mode=block`
- `Content-Security-Policy: default-src 'self'`

---

⚡ **Performance Features**
--------------------------

[](#-performance-features)

### **Real-time Monitoring**

[](#real-time-monitoring)

```
// Performance metrics are tracked automatically
fetch('/install/api/performance/metrics')
  .then(response => response.json())
  .then(data => {
    console.log('Execution Time:', data.execution_time);
    console.log('Memory Usage:', data.memory_used);
  });
```

### **Database Optimization**

[](#database-optimization)

```
// Large database handling
DatabaseOptimizer::optimizeForLargeDatabase();
DatabaseOptimizer::runMigrationsInBatches(10);
```

---

💾 **Database Backup**
---------------------

[](#-database-backup)

### **Automatic Backup**

[](#automatic-backup)

```
// Backup is created automatically before migrations
$backupId = DatabaseBackupManager::createBackup();
```

### **Manual Rollback**

[](#manual-rollback)

```
// Rollback to previous state
DatabaseBackupManager::restoreBackup($backupId);
```

---

🔄 **Progress Tracking**
-----------------------

[](#-progress-tracking)

### **Check Progress**

[](#check-progress)

```
$progress = ProgressTracker::getProgress();
echo "Current Step: " . $progress['current_step'];
echo "Completion: " . $progress['completion_percentage'] . "%";
```

### **Resume Installation**

[](#resume-installation)

```
if (ProgressTracker::canResume('database')) {
    // Continue from database step
}
```

---

🌐 **Envato Integration**
------------------------

[](#-envato-integration)

### **API Configuration**

[](#api-configuration)

```
// Update API endpoints in PurchaseController
$envatoApiTokenUrl = 'https://your-domain.com/api/get-envato-barrier-token';
$envatoApiStoreUrl = 'https://your-domain.com/api/store-envato-verification-response';
```

### **Sample API Response**

[](#sample-api-response)

```
{
  "message": "Welcome to the Envato Purchase Validation API",
  "account1": {
    "token": "fsHuTBwXZTlEqZYQacniBeNZFCrT01eZ"
  },
  "validation": {
    "url": "https://api.envato.com/v3/market/author/sale"
  }
}
```

---

📂 **v2.0.0 Directory Structure**
--------------------------------

[](#-v200-directory-structure)

```
src/
├── Commands/
│   ├── ClearInstallerCaches.php
│   └── InstallerRunCommand.php
├── Config/
│   ├── installer.php
│   ├── audit.php
│   └── logging.php
├── Controllers/
│   ├── CacheQueueController.php      # NEW
│   ├── DatabaseController.php        # ENHANCED
│   ├── DependencyController.php      # NEW
│   ├── PerformanceController.php     # NEW
│   ├── ProgressController.php        # NEW
│   └── [existing controllers...]
├── Helpers/
│   ├── BackupManager.php            # NEW
│   ├── CacheQueueManager.php        # NEW
│   ├── DatabaseBackupManager.php    # NEW
│   ├── DependencyChecker.php        # NEW
│   ├── PerformanceMonitor.php       # NEW
│   ├── ProgressTracker.php          # NEW
│   ├── SecurityHelper.php           # NEW
│   └── [existing helpers...]
├── Middleware/
│   ├── SecurityMiddleware.php       # NEW
│   ├── PerformanceMiddleware.php    # NEW
│   ├── ProgressMiddleware.php       # NEW
│   ├── DependencyMiddleware.php     # NEW
│   └── [existing middleware...]
├── Views/
│   ├── dependencies.blade.php       # NEW
│   ├── performance-dashboard.blade.php # NEW
│   ├── cache-queue.blade.php        # NEW
│   ├── database-backup.blade.php    # NEW
│   ├── resume-installation.blade.php # NEW
│   └── [existing views...]
└── Routes/
    ├── web.php                      # ENHANCED
    └── backup.php                   # NEW

```

---

🔧 System Requirements
---------------------

[](#-system-requirements)

### **Minimum Requirements**

[](#minimum-requirements)

- **PHP**: 8.0 or higher
- **Laravel**: 9.0 or higher
- **Memory**: 128MB minimum, 512MB recommended
- **Disk Space**: 50MB for package files

### **Required PHP Extensions**

[](#required-php-extensions)

- `mbstring` - String manipulation
- `openssl` - Encryption and security
- `pdo` - Database connectivity
- `tokenizer` - Code parsing
- `xml` - XML processing
- `ctype` - Character type checking
- `json` - JSON processing
- `curl` - HTTP requests (for Envato API)

### **Optional Extensions**

[](#optional-extensions)

- `redis` - For Redis queue/cache support
- `opcache` - For performance optimization
- `zip` - For backup compression

---

🚀 **Release Information**
-------------------------

[](#-release-information)

### **Version**: v2.0.0

[](#version-v200)

### **Release Date**: December 19, 2024

[](#release-date-december-19-2024)

### **Status**: Production Ready

[](#status-production-ready)

### **Breaking Changes**: Yes (major version upgrade)

[](#breaking-changes-yes-major-version-upgrade)

### **Migration from v1.x**

[](#migration-from-v1x)

```
# Backup your current installation
cp -r vendor/jmrashed/laravel-installer vendor/jmrashed/laravel-installer-backup

# Update to v2.0.0
composer update jmrashed/laravel-installer

# Republish configuration
php artisan vendor:publish --tag=installer-config --force
```

---

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a feature branch: `git checkout -b feature/amazing-feature`
3. Commit changes: `git commit -m 'Add amazing feature'`
4. Push to branch: `git push origin feature/amazing-feature`
5. Open a Pull Request

---

📝 License
---------

[](#-license)

This package is licensed under the [MIT License](LICENSE.md).

---

📬 Support
---------

[](#-support)

- **GitHub Issues**: [Report bugs and request features](https://github.com/jmrashed/laravel-installer/issues)
- **Documentation**: [Full documentation](https://github.com/jmrashed/laravel-installer/wiki)
- **Email Support**: Contact us directly for enterprise support

---

Author
------

[](#author)

**Md Rasheduzzaman**
Full-Stack Software Engineer &amp; Technical Project Manager

Building scalable, secure &amp; AI-powered SaaS platforms across ERP, HRMS, CRM, LMS, and E-commerce domains.
Over 10 years of experience leading full-stack teams, cloud infrastructure, and enterprise-grade software delivery.

**🌐 Portfolio:** [jmrashed.github.io](https://jmrashed.github.io/)
**✉️ Email:**
**💼 LinkedIn:** [linkedin.com/in/jmrashed](https://www.linkedin.com/in/jmrashed/)
**📝 Blog:** [medium.com/@jmrashed](https://medium.com/@jmrashed)
**💻 GitHub:** [github.com/jmrashed](https://github.com/jmrashed)

---

> *“Need a Reliable Software Partner? I build scalable, secure &amp; modern solutions for startups and enterprises.”*

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance69

Regular maintenance activity

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

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 ~29 days

Recently: every ~0 days

Total

13

Last Release

213d ago

Major Versions

1.0.2 → v2.x-dev2025-02-13

v1.0.3 → v2.0.02025-10-07

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

v2.0.1PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12aeaba318c81d8e123faa3b8961a4e8a1ebf876e2a73b1e1ad08b3e5fc2f901?d=identicon)[jmrashed](/maintainers/jmrashed)

---

Top Contributors

[![jmrashed](https://avatars.githubusercontent.com/u/8583051?v=4)](https://github.com/jmrashed "jmrashed (26 commits)")

---

Tags

installerlaravellaravel-installationlaravel-packagelaravel-setupweb-installerlaravelinstallerlaravel-packageWeb installerlaravel setuplaravel installation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

961.8k](/packages/zidbih-laravel-deadlock)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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