PHPackages                             peteconsuegra/wordpress-plus-laravel-plugin - 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. peteconsuegra/wordpress-plus-laravel-plugin

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

peteconsuegra/wordpress-plus-laravel-plugin
===========================================

A WordPress Plus Laravel plugin for WordPress Pete

1.50(8mo ago)1794MITBlade

Since Sep 1Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/peterconsuegra/wordpress-plus-laravel-plugin)[ Packagist](https://packagist.org/packages/peteconsuegra/wordpress-plus-laravel-plugin)[ RSS](/packages/peteconsuegra-wordpress-plus-laravel-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (53)Used By (0)

WordPress + Laravel Integration for Pete Panel
==============================================

[](#wordpress--laravel-integration-for-pete-panel)

### Hybrid WordPress &amp; Laravel Architecture -- Deploy SaaS Apps Inside WordPress or on Subdomains

[](#hybrid-wordpress--laravel-architecture----deploy-saas-apps-inside-wordpress-or-on-subdomains)

Integrate **Laravel applications directly into WordPress environments**using Pete Panel.

This plugin enables a powerful **WordPress + Laravel hybrid stack**, allowing developers, agencies, and SaaS builders to combine:

- WordPress for SEO, content, plugins, WooCommerce, and marketing
- Laravel for APIs, dashboards, SaaS logic, automation, and custom applications

Built for **Pete Panel**, this module automates Laravel provisioning inside existing WordPress instances with one click.

---

🚀 Key Features
--------------

[](#-key-features)

- One-click Laravel deployment inside WordPress
- Deploy Laravel on a separate subdomain
- Import existing Laravel apps from Git repositories
- Automatic Composer install &amp; environment setup
- Apache configuration + server reload
- APP\_KEY auto-generation
- SSL generation (production mode)
- Integration logs viewer (terminal + Apache logs)
- Git SSH key display for private repo access

---

🧠 Use Cases
-----------

[](#-use-cases)

- Build SaaS dashboards connected to WordPress sites
- Add custom Laravel APIs to WordPress
- Create membership platforms powered by Laravel
- Build hybrid WooCommerce + Laravel systems
- Develop internal tools inside marketing sites
- Launch MVP products 10x faster using WordPress frontend + Laravel backend

---

🔧 Integration Modes
-------------------

[](#-integration-modes)

### 1️⃣ Same Domain (inside\_wordpress)

[](#1️⃣-same-domain-inside_wordpress)

Deploy Laravel inside WordPress directory.

Example:

```
https://example.com/myapp

```

Best for: - Marketing-driven sites - SEO-first projects - Keeping everything under one domain

---

### 2️⃣ Separate Subdomain (separate\_subdomain)

[](#2️⃣-separate-subdomain-separate_subdomain)

Deploy Laravel on a subdomain.

Example:

```
https://myapp.example.com

```

Best for: - SaaS dashboards - Client portals - Application-heavy systems

---

📦 What Happens During Provisioning
----------------------------------

[](#-what-happens-during-provisioning)

When creating a WordPress ↔ Laravel Sync, Pete Panel:

1. Validates Laravel version compatibility (PHP 8.1+ / 8.2+)
2. Creates a new Site record
3. Executes provisioning shell scripts
4. Clones Laravel boilerplate or Git repository
5. Runs `composer install`
6. Generates `.env` with database &amp; WordPress integration config
7. Generates `APP_KEY`
8. Applies Apache configuration
9. Reloads the server
10. Stores full terminal output for review

---

🗂 Routes
--------

[](#-routes)

Method Endpoint

---

GET /wordpress-plus-laravel GET /wordpress-plus-laravel/create POST /wordpress-plus-laravel GET /wordpress-plus-laravel/logs/{id} POST /wordpress-plus-laravel/delete POST /wordpress-plus-laravel/generate-ssl

All routes require authentication.

---

⚙️ Requirements
---------------

[](#️-requirements)

- Pete Panel (Laravel 10+)
- PHP 8.1+ (Laravel 10)
- PHP 8.2+ (Laravel 11/12)
- MySQL
- Git installed
- Composer installed
- Proper filesystem &amp; Apache permissions

---

🔐 Environment Variables
-----------------------

[](#-environment-variables)

Required:

- PETE\_ROOT\_PASS
- DB\_HOST
- DB\_DATABASE
- DB\_USERNAME
- DB\_PASSWORD

Optional:

- PETE\_DEBUG=active (enables verbose script output)

---

📊 Logs &amp; Debugging
----------------------

[](#-logs--debugging)

Each integration stores:

- Terminal provisioning output
- Apache error.log (tail view)
- Apache access.log (tail view)

Accessible at:

```
/wordpress-plus-laravel/logs/{id}

```

---

🛠 Troubleshooting
-----------------

[](#-troubleshooting)

If provisioning fails:

- Ensure scripts are executable:

```

```

```
chmod +x vendor/peteconsuegra/wordpress-plus-laravel-plugin/src/scripts/*.sh

```

- Verify PHP version matches Laravel selection
- Confirm Git + Composer installed
- Check Apache permissions
- Enable PETE\_DEBUG for verbose output

---

🧩 Why Hybrid WordPress + Laravel?
---------------------------------

[](#-why-hybrid-wordpress--laravel)

WordPress alone is powerful for marketing. Laravel alone is powerful for applications.

Together, they create a scalable hybrid system:

- WordPress handles SEO &amp; content.
- Laravel handles application logic &amp; scalability.

This architecture reduces MVP build time dramatically and keeps development flexible.

---

📄 License
---------

[](#-license)

Part of the Pete Panel commercial ecosystem.

Learn more:

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance75

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~9 days

Total

48

Last Release

240d ago

### Community

Maintainers

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

---

Top Contributors

[![peterconsuegra](https://avatars.githubusercontent.com/u/339774?v=4)](https://github.com/peterconsuegra "peterconsuegra (85 commits)")

### Embed Badge

![Health badge](/badges/peteconsuegra-wordpress-plus-laravel-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/peteconsuegra-wordpress-plus-laravel-plugin/health.svg)](https://phpackages.com/packages/peteconsuegra-wordpress-plus-laravel-plugin)
```

###  Alternatives

[isolate/unit-of-work

Unit of Work

2323.1k5](/packages/isolate-unit-of-work)

PHPackages © 2026

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