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 2w ago

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 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

2414d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1188266?v=4)[Jibundeyare](/maintainers/jibundeyare)[@jibundeyare](https://github.com/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

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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