PHPackages                             hettiger/larawire - 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. hettiger/larawire

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

hettiger/larawire
=================

Merges Laravel with ProcessWire to get the best of both worlds!

v0.0.4(11y ago)1439[4 issues](https://github.com/hettiger/larawire/issues)MITPHPPHP &gt;=5.4.0

Since Dec 2Pushed 11y ago2 watchersCompare

[ Source](https://github.com/hettiger/larawire)[ Packagist](https://packagist.org/packages/hettiger/larawire)[ RSS](/packages/hettiger-larawire/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

LaraWire
--------

[](#larawire)

This package is intended to merge Laravel with ProcessWire to get the best of both worlds!

**Be aware: This package is work in progress!**

---

### Installation

[](#installation)

The installation instructions might seem a bit unfamiliar to you but are required as there is no composer package of processwire. Also the releases on GitHub are off so I've forked the original package maintaining the releases myself. I hope you understand that I refuse to put a fork on packagist.

Open your `composer.json` file and add the following block right above the require section:

```
// composer.json

...

"repositories": [
    {
        "type": "package",
        "package": {
            "name": "ryancramerdesign/processwire",
            "version": "2.5.3",
            "dist": {
                "url": "https://github.com/hettiger/ProcessWire/archive/2.5.3.zip",
                "type": "zip"
            }
        }
    }
],
"require": {

...
```

Now append the require section with following packages:

```
// composer.json

...

"require": {

    ...

    "ryancramerdesign/processwire": "2.5.*",
    "hettiger/larawire": "0.*"
},

...
```

Run a composer update in your terminal:

```
composer update -o
```

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

```
// app/config/app.php

...

'providers' => array(

    ...

    'Hettiger\Larawire\LarawireServiceProvider',

),

...
```

You can now install larawire, to merge Laravel with ProcessWire using your terminal:

```
php artisan larawire:install
```

Follow the instructions prompted by your terminal.

### What's next?

[](#whats-next)

You are able to require `public/laravel.php` in your template files now. Just think a second about it. This gives you a lot of power ...

#### Example 1

[](#example-1)

1. Create a template file for your 404-Error-Page
2. Require `public/laravel.php` in your new template file
3. Use Laravel to take care of 404-Error's
4. Feel free to use Laravel the way you're used to
5. Be aware that ProcessWire URL's can "overwrite" Laravel's routes
6. Enjoy full access to ProcessWire's API within Laravel

#### Example 2

[](#example-2)

1. Create a "Laravel" template file
2. Require `public/laravel.php` in your new template file
3. Use your new "Laravel" template file for each template that should be "Laravel powered"
4. Generate routes in Laravel using ProcessWire Selectors (template=name)
5. Feel free to use Laravel the way you're used to
6. Enjoy full access to ProcessWire's API within Laravel

#### Example 3

[](#example-3)

1. Mix `Example 1` and `Example 2`
2. Go crazy :-)

### Future

[](#future)

- Optimized ProcessWire site
- Supporting services for route generation
- Proper Apache and nginx configuration files
- ...

Pull Requests / any form of help are very welcome.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

4

Last Release

4172d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ca7667a4444a73aeaf91b653d0dd4302ab565749b2342307bc0cc3caaef9fad?d=identicon)[hettiger](/maintainers/hettiger)

---

Top Contributors

[![hettiger](https://avatars.githubusercontent.com/u/4583871?v=4)](https://github.com/hettiger "hettiger (11 commits)")

### Embed Badge

![Health badge](/badges/hettiger-larawire/health.svg)

```
[![Health](https://phpackages.com/badges/hettiger-larawire/health.svg)](https://phpackages.com/packages/hettiger-larawire)
```

###  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)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M858](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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