PHPackages                             awaisjameel/laravel-cpanel-hosting - 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. awaisjameel/laravel-cpanel-hosting

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

awaisjameel/laravel-cpanel-hosting
==================================

A robust, secure, and production-ready Laravel package that makes deploying Laravel applications on \*\*cPanel / shared hosting\*\* painless and professional.

v1.0.0(4mo ago)00[2 PRs](https://github.com/awaisjameel/laravel-cpanel-hosting/pulls)MITPHPPHP ^8.2CI passing

Since Feb 10Pushed 2mo agoCompare

[ Source](https://github.com/awaisjameel/laravel-cpanel-hosting)[ Packagist](https://packagist.org/packages/awaisjameel/laravel-cpanel-hosting)[ Docs](https://github.com/awaisjameel/laravel-cpanel-hosting)[ GitHub Sponsors](https://github.com/awaisjameel)[ RSS](/packages/awaisjameel-laravel-cpanel-hosting/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (13)Versions (5)Used By (0)

Laravel cPanel Hosting
======================

[](#laravel-cpanel-hosting)

Laravel package for secure shared-hosting deployment endpoints and cPanel-friendly root hosting setup.

Features
--------

[](#features)

- Secure deploy endpoints with token or webhook signature validation
- Configurable deployment pipeline (`/deploy`)
- `.env` sync with optional backup and required-key validation
- Storage link fallback (`symlink` -&gt; recursive copy)
- Installer command for config + root `index.php` and `.htaccess` stubs
- Dedicated deploy logging channel
- Optional MySQL legacy index-length compatibility

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

[](#installation)

```
composer require awaisjameel/laravel-cpanel-hosting
```

Run installer:

```
php artisan cpanel-hosting:install
```

Configuration
-------------

[](#configuration)

Publish config manually if needed:

```
php artisan vendor:publish --tag="cpanel-hosting-config"
```

Key env values:

```
CPANEL_DEPLOY_ENABLED=false
CPANEL_DEPLOY_TOKEN=
CPANEL_DEPLOY_WEBHOOK_SECRET=
CPANEL_DEPLOY_PREFIX=deploy
CPANEL_DEPLOY_ALLOWED_IPS=
CPANEL_DEPLOY_LOG_CHANNEL=deploy
```

Endpoints
---------

[](#endpoints)

When enabled, routes are exposed under `CPANEL_DEPLOY_PREFIX` (default `deploy`):

- `GET /deploy` full pipeline
- `GET /deploy/sync-env`
- `GET /deploy/clear`
- `GET /deploy/migrate`
- `GET /deploy/migrate-fresh`
- `GET /deploy/cache`
- `GET /deploy/queue-restart`
- `GET /deploy/storage-link`
- `GET /deploy/maintenance-down`
- `GET /deploy/maintenance-up`
- `GET /deploy/optimize`
- `GET /deploy/health`

Authentication:

- `X-Deploy-Token: {token}` header (preferred)
- `?token={token}` query parameter
- `X-Hub-Signature-256` / `X-Gitlab-Token` webhook verification when configured

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

[](#security-notes)

- Keep `CPANEL_DEPLOY_TOKEN` secret and rotate on exposure.
- Prefer header token over query token.
- Restrict with `CPANEL_DEPLOY_ALLOWED_IPS` when possible.
- Do not expose deploy routes with `APP_DEBUG=true`.
- `migrate-fresh` is destructive.

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance81

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8478f5cd00831255bda5f4ab259a8761a8001142756ab90bf8804388a78b2036?d=identicon)[awaisjameel](/maintainers/awaisjameel)

---

Top Contributors

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

---

Tags

laravelAwaisJameellaravel-cpanel-hosting

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/awaisjameel-laravel-cpanel-hosting/health.svg)

```
[![Health](https://phpackages.com/badges/awaisjameel-laravel-cpanel-hosting/health.svg)](https://phpackages.com/packages/awaisjameel-laravel-cpanel-hosting)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)

PHPackages © 2026

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