PHPackages                             codelone/codec-web-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. codelone/codec-web-installer

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

codelone/codec-web-installer
============================

Codec Web Installer - WordPress-like installer package for Laravel applications

030PHP

Since Jan 26Pushed 3mo agoCompare

[ Source](https://github.com/web-dev-nav/Codec-web-installer)[ Packagist](https://packagist.org/packages/codelone/codec-web-installer)[ RSS](/packages/codelone-codec-web-installer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-installer-package)

A WordPress-like installer package for Laravel applications that provides a smooth, multi-step installation process.

Requirements
------------

[](#requirements)

- **PHP**: 7.4, 8.0, 8.1, 8.2, 8.3, or 8.4
- **Laravel**: 8.x, 9.x, 10.x, 11.x, or 12.x
- **Extensions**: PDO, cURL, OpenSSL, JSON, Mbstring

Features
--------

[](#features)

- **Multi-step Installation Process**: Guided installation similar to WordPress
- **System Requirements Check**: Validates PHP version, extensions, and folder permissions
- **License Verification**: API-based license validation system
- **Database Setup**: Automated database configuration and SQL import
- **Security Features**: Installation lock, CSRF protection, and secure API communication
- **Wide Compatibility**: Supports PHP 7.4 through 8.4 and Laravel 8 through 12

Quick Start
-----------

[](#quick-start)

```
composer require codelone/codec-web-installer
```

```
INSTALLER_LICENSE_API_URL=https://api.brainandbolt.com/api/verify-license
INSTALLER_PRODUCT_ID=1
INSTALLER_VERIFY_SSL=true
```

Visit `/installer` in your browser and follow the steps.

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

[](#installation)

### 1. Require the package

[](#1-require-the-package)

```
composer require codelone/codec-web-installer
```

Laravel auto-discovers the service provider (no manual registration needed).

### 2. Publish configuration (optional, recommended)

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

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

### 3. (Optional) Publish views for customization

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

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

### 4. Configure environment variables

[](#4-configure-environment-variables)

Add or update these in your `.env` file:

```
INSTALLER_LICENSE_API_URL=https://api.brainandbolt.com/api/verify-license
INSTALLER_PRODUCT_ID=1
INSTALLER_VERIFY_SSL=true
```

Note: the service provider will append these variables to `.env` if they are missing, using the defaults in `config/installer.php`.

### 5. Clear cached routes (only if you cache routes)

[](#5-clear-cached-routes-only-if-you-cache-routes)

```
php artisan route:clear
```

Usage
-----

[](#usage)

### 1. Access the Installer

[](#1-access-the-installer)

Visit `/installer` in your browser to start the installation process (or the custom prefix set in `config/installer.php`).

### 2. Installation Steps

[](#2-installation-steps)

1. **Welcome Page**: Introduction and overview
2. **System Requirements**: Check PHP version, extensions, and permissions
3. **License Verification**: Enter license key and email for validation
4. **Database Setup**: Configure database connection and import data
5. **Completion**: Installation summary and next steps

### 3. API Endpoint

[](#3-api-endpoint)

Your server should provide this API endpoint (update the URL above to match your server if you are not using the default):

#### License Verification Endpoint

[](#license-verification-endpoint)

```
POST /api/verify-license
Content-Type: application/json

{
    "license_key": "DYTIOHVHHABDQVOH",
    "product_id": 1
}

Success Response:
{
    "success": true,
    "message": "License verified successfully",
    "product_id": 1,
    "license_id": 123,
    "product_data": "SQL content for installation",
    "product_name": "Test Website",
    "product_version": "1.0.0",
    "allowed_domains": 3,
    "license_status": "active",
    "expires_at": "2025-01-12 10:30:00"
}

Error Response:
{
    "success": false,
    "message": "Invalid license key"
}

```

**Note:** The `product_data` field contains the SQL content that will be imported into the database during installation.

Configuration Options
---------------------

[](#configuration-options)

### System Requirements

[](#system-requirements)

Customize requirements in `config/installer.php`:

```
'requirements' => [
    'php' => '8.2.0',
    'extensions' => [
        'PDO', 'cURL', 'OpenSSL', 'BCMath', 'Ctype',
        'Fileinfo', 'JSON', 'Mbstring', 'Tokenizer', 'XML', 'ZIP'
    ],
    'folders' => [
        'storage/app/' => '775',
        'storage/framework/' => '775',
        'storage/logs/' => '775',
        'bootstrap/cache/' => '775',
    ],
],
```

### Customization

[](#customization)

Publish views for customization:

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

Security
--------

[](#security)

- Installation is locked after completion via a lock file
- Routes are protected by middleware
- All forms include CSRF protection
- Database credentials are validated before use
- API communication uses secure HTTPS

License Lock
------------

[](#license-lock)

After successful installation, a lock file is created at `storage/installer.lock`. To reinstall:

1. Delete the lock file
2. Clear browser cache
3. Visit `/installer` again

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security
--------

[](#security-1)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance53

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![web-dev-nav](https://avatars.githubusercontent.com/u/110724391?v=4)](https://github.com/web-dev-nav "web-dev-nav (43 commits)")

### Embed Badge

![Health badge](/badges/codelone-codec-web-installer/health.svg)

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

###  Alternatives

[mis3085/tiktoken-for-laravel

This is tiktoken-php (yethee/tiktoken) wrapper for Laravel

25544.1k](/packages/mis3085-tiktoken-for-laravel)[aniftyco/skeletor

Summon Skeletor's minion: a Composer companion to unleash extra functionality with every `create-project` command.

961.6k2](/packages/aniftyco-skeletor)[96qbhy/agora

声网php-SDK

121.5k](/packages/96qbhy-agora)

PHPackages © 2026

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