PHPackages                             puli/silex-provider - 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. [Framework](/categories/framework)
4. /
5. puli/silex-provider

ActiveLibrary[Framework](/categories/framework)

puli/silex-provider
===================

The Puli service provider for Silex.

042[1 PRs](https://github.com/puli/silex-provider/pulls)PHP

Since Aug 15Pushed 9y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

The Puli Service Provider for Silex
===================================

[](#the-puli-service-provider-for-silex)

[![Build Status](https://camo.githubusercontent.com/c26ce50172d0c38043270ffe8c445012c2c7c14bf61aeac9008af637f5f7d9b3/68747470733a2f2f7472617669732d63692e6f72672f70756c692f73696c65782d70726f76696465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/puli/silex-provider)[![Build status](https://camo.githubusercontent.com/fb60756acc10a7cf7801e11b4a37d978078d4efedb6702e2c0559ee0717654d6/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f79756675686136683839696c37676c6a2f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/webmozart/silex-provider/branch/master)[![Build Status](https://camo.githubusercontent.com/623c9436bccc3e5385e0b4a13cd1450402b4dca4daf1140aa7f26ca6cf95af36/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70756c692f73696c65782d70726f76696465722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/puli/silex-provider/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/277ab360f0d4321691dff3ed592c098169dc234ac02cd2d795dd81812f54e139/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f73696c65782d70726f76696465722f762f737461626c652e737667)](https://packagist.org/packages/puli/silex-provider)[![Total Downloads](https://camo.githubusercontent.com/d85e7c14ec3f6bc395528b962821e6f041f2653a41179292d70a9fde57279ba5/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f73696c65782d70726f76696465722f646f776e6c6f6164732e737667)](https://packagist.org/packages/puli/silex-provider)[![Dependency Status](https://camo.githubusercontent.com/1663f5d006e34b09d63d36ac41f3815b79a92b6fc3f159d08e58d7119eee5989/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f70756c693a73696c65782d70726f76696465722f312e302e302f62616467652e737667)](https://www.versioneye.com/php/puli:silex-provider/1.0.0)

Latest release: none

PHP &gt;= 5.3.9

Integrates Puli with the [Silex microframework](http://silex.sensiolabs.org/).

Just register the service provider to your app:

```
$app->register(new \Puli\SilexProvider\PuliServiceProvider());
```

This will give you the possibility to use the Puli paths instead of classic Twig paths:

```
$this->get('/', function () use ($app) {
    return $app['twig']->render('/app/views/index.html.twig');
});
```

To disable the Twig integration, use:

```
$app->register(new \Puli\SilexProvider\PuliServiceProvider(), array(
    'puli.enable_twig' => false,
));
```

Authors
-------

[](#authors)

- [Bernhard Schussek](http://webmozarts.com) a.k.a. [@webmozart](https://twitter.com/webmozart)
- [The Community Contributors](https://github.com/puli/silex-provider/graphs/contributors)

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

[](#installation)

Install Silex using [Composer](http://getcomposer.org/). Follow the [Installation guide](http://docs.puli.io/en/latest/installation.html) guide to install Puli in your project.

Finally install the PuliServiceProvider adding `puli/silex-provider` to your composer.json or from CLI:

```
$ composer require puli/silex-provider

```

Documentation
-------------

[](#documentation)

Read the [Puli Documentation](http://docs.puli.io/en/latest/index.html) to learn more about Puli.

Contribute
----------

[](#contribute)

Contributions to Puli are always welcome!

- Report any bugs or issues you find on the [issue tracker](https://github.com/puli/issues/issues).
- You can grab the source code at Puli’s [Git repository](https://github.com/puli/silex-provider).

Support
-------

[](#support)

If you are having problems, send a mail to  or shout out to [@webmozart](https://twitter.com/webmozart) on Twitter.

License
-------

[](#license)

All contents of this package are licensed under the [MIT license](LICENSE).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/00803e109877ea9de0995e81c928871a595781bd6ea227092bfd7c6df5af58f0?d=identicon)[webmozart](/maintainers/webmozart)

---

Top Contributors

[![webmozart](https://avatars.githubusercontent.com/u/176399?v=4)](https://github.com/webmozart "webmozart (15 commits)")[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (4 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (1 commits)")

### Embed Badge

![Health badge](/badges/puli-silex-provider/health.svg)

```
[![Health](https://phpackages.com/badges/puli-silex-provider/health.svg)](https://phpackages.com/packages/puli-silex-provider)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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