PHPackages                             jeffreyvanrossum/wp-views - 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. [Templating &amp; Views](/categories/templating)
4. /
5. jeffreyvanrossum/wp-views

ActiveLibrary[Templating &amp; Views](/categories/templating)

jeffreyvanrossum/wp-views
=========================

A package that allows you to easily fetch view files and pass arguments along.

0.1.0(1y ago)0921MITPHPPHP ^8.0

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jeffreyvr/wp-views)[ Packagist](https://packagist.org/packages/jeffreyvanrossum/wp-views)[ RSS](/packages/jeffreyvanrossum-wp-views/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

[![vanrossum.dev Logo](https://raw.githubusercontent.com/jeffreyvr/vanrossum.dev-art/main/logo.svg)](https://vanrossum.dev)

[![Total Downloads](https://camo.githubusercontent.com/e184114e4b56bf4170b0ff468dd6b3c874b5bbda464b7de30148b5918ede760e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a65666672657976616e726f7373756d2f77702d7669657773)](https://packagist.org/packages/jeffreyvanrossum/wp-views)[![Latest Stable Version](https://camo.githubusercontent.com/6ef1ad2853573072c3bd50fef63aab08450b1e9d9fd8fe5b57a8c20267d09446/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a65666672657976616e726f7373756d2f77702d7669657773)](https://packagist.org/packages/jeffreyvanrossum/wp-views)[![License](https://camo.githubusercontent.com/a12364be749cbe257e0b344f9f87a12abce533d1e5a49e622b6ac2f55af9b6c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a65666672657976616e726f7373756d2f77702d7669657773)](https://packagist.org/packages/jeffreyvanrossum/wp-views)

WP Views
========

[](#wp-views)

Dead simple package that allows you to easily fetch view files and pass arguments along.

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

[](#installation)

```
composer require jeffreyvanrossum/wp-views
```

Usage
-----

[](#usage)

You can either create a class or helper function to access your view file.

```
function your_prefix_view(...$args)
{
    return new WPViews('your-view-path')->render(...$args);
}
```

Then after you can use it like so:

```
your_prefix_view('your-view', ['foo' => 'bar']);
```

Contributors
------------

[](#contributors)

- [Jeffrey van Rossum](https://github.com/jeffreyvr)
- [All contributors](https://github.com/jeffreyvr/wp-views/graphs/contributors)

License
-------

[](#license)

MIT. Please see the [License File](/LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance47

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

458d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66ca71465f93459010e10f39821b541f1c00c61233c48bcda0cea8a8d6fb6988?d=identicon)[jeffreyvr](/maintainers/jeffreyvr)

---

Top Contributors

[![jeffreyvr](https://avatars.githubusercontent.com/u/9550079?v=4)](https://github.com/jeffreyvr "jeffreyvr (1 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffreyvanrossum-wp-views/health.svg)

```
[![Health](https://phpackages.com/badges/jeffreyvanrossum-wp-views/health.svg)](https://phpackages.com/packages/jeffreyvanrossum-wp-views)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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