PHPackages                             backdrop-dev/view - 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. backdrop-dev/view

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

backdrop-dev/view
=================

System for setting up and rendering theme template files. Views are a bit like a suped-up version of the core WordPress get\_template\_part() function.

v1.0.0(2y ago)0394GPL-2.0-or-laterPHPPHP &gt;=7.1

Since Jun 11Pushed 1y agoCompare

[ Source](https://github.com/backdrop-dev/view)[ Packagist](https://packagist.org/packages/backdrop-dev/view)[ Docs](https://github.com/backdrop-dev/view)[ RSS](/packages/backdrop-dev-view/feed)WikiDiscussions develop Synced 1mo ago

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

Backdrop Template View
======================

[](#backdrop-template-view)

The Backdrop Template View is a drop-in package for [Backdrop](https://github.com/benlumia007/backdrop) framework for developing ClassicPress and WordPress theme. This feature is used for setting up and rendering theme template files and it is similar to the WordPress core feature `get_template_part` function. However it allows you to build a hierarchy of potential templates.

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

[](#requirements)

- [ClassicPress](https://www.classicpress.net)
- [WordPress](https://wordpress.org)
- [PHP](https://www.php.net/releases/7_1_33.php)
- [Composer](https://getcomposer.org)

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

[](#installation)

Use the following command from your preferred command line utility to install Backdrop Template View

```
composer require backdrop-dev/view
```

Registering and Booting
-----------------------

[](#registering-and-booting)

To begin, create a new provider as follows.

```
$slug->provider( Backdrop\View\Provider::class );
```

After you have successfully registering and booting the provider, all you have to do is use the following to begin using the view

```
Backdrop\View\display( 'something', 'one', [ 'location' => 'data' ] );
```

This will create a new template call `something.php`. you can pass an array as well `something, [ 'one, two ]`. The order would be

```
something-two.php
something-one.php
something.php
```

Please also note that all templates will be located at `public/views` or `resource/views` depending on the project.

Copyright and Licenses
----------------------

[](#copyright-and-licenses)

This project is licensed under the GNU GPL, version 2 or later.

2019–2023 © Benjamin Lu

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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

1063d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b556012f404f916cd8f37f54f5a607e4cfd9786d722a4205e22a91961912a4e4?d=identicon)[techkodeninja](/maintainers/techkodeninja)

---

Top Contributors

[![techkodeninja](https://avatars.githubusercontent.com/u/164923145?v=4)](https://github.com/techkodeninja "techkodeninja (3 commits)")

---

Tags

wordpressclassicpress

### Embed Badge

![Health badge](/badges/backdrop-dev-view/health.svg)

```
[![Health](https://phpackages.com/badges/backdrop-dev-view/health.svg)](https://phpackages.com/packages/backdrop-dev-view)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[gamajo/template-loader

A class for your WordPress plugin, to allow loading template parts with fallback through the child theme &gt; parent theme &gt; plugin

29647.0k5](/packages/gamajo-template-loader)[hexbit/sage-woocommerce

Woocommerce support for sage 10

257.0k](/packages/hexbit-sage-woocommerce)[frozzare/digster

Twig templates for WordPress

107.1k](/packages/frozzare-digster)

PHPackages © 2026

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