PHPackages                             jibundeyare/silex-php-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. jibundeyare/silex-php-view

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

jibundeyare/silex-php-view
==========================

A minimal php view service provider for silex framework

1.2.0(6y ago)11361MITPHP

Since Jan 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jibundeyare/silex-php-view)[ Packagist](https://packagist.org/packages/jibundeyare/silex-php-view)[ Docs](https://github.com/jibundeyare/silex-php-view)[ RSS](/packages/jibundeyare-silex-php-view/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (1)

SilexPhpView
============

[](#silexphpview)

A minimal php view service for silex framework

install
-------

[](#install)

Open a terminal, go to your project directory and type:

```
composer require jibundeyare/silex-php-view

```

parameters
----------

[](#parameters)

view.path : Path to the directory containing php template files.

views directory
---------------

[](#views-directory)

It is recommended to create a separate directory to store the views.

In the examples, we use the following directory structure:

```
project/
  public/
    index.php
  templates/
    hello.php
  vendor/

```

registering
-----------

[](#registering)

```
// public/index.php
$app->register(new SilexPhpView\ViewServiceProvider(), [
    'view.path' => __DIR__.'/../templates',
]);

```

usage
-----

[](#usage)

```
// public/index.php
$app->get('/test', function() use($app) {
    $greeting = 'Hello!';

    return $app['view']->render('hello.php', [
        'greeting' => $greeting,
    ]);
});

// templates/hello.php
echo $greeting;

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

3

Last Release

2363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/775c5706c5a10b980ee47aa97216e662d5efb75761d276ad3b89523bc55bdd81?d=identicon)[jibundeyare](/maintainers/jibundeyare)

### Embed Badge

![Health badge](/badges/jibundeyare-silex-php-view/health.svg)

```
[![Health](https://phpackages.com/badges/jibundeyare-silex-php-view/health.svg)](https://phpackages.com/packages/jibundeyare-silex-php-view)
```

###  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)
