PHPackages                             davedevelopment/tinder - 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. davedevelopment/tinder

ActiveLibrary[Framework](/categories/framework)

davedevelopment/tinder
======================

Clean code enabler for silex

v1.0.0(13y ago)221341PHP

Since May 13Pushed 12y ago3 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

Tinder
======

[](#tinder)

🔥 🔥 With Silex and Tinder, your apps will be on fire 🔥 🔥

[![Build Status](https://camo.githubusercontent.com/03dd4ee08d8b14efa85f5abc5dc42783604a9d6f43fdd5e4ae084d92643bc9f5/68747470733a2f2f7472617669732d63692e6f72672f64617665646576656c6f706d656e742f74696e6465722e706e67)](https://travis-ci.org/davedevelopment/tinder)

A few helpers for Silex, that help you move boundaries outside your controllers where possible. It's a little hard to explain why you might want that, but eventually I'd like to have an example application that can show some of the benefits.

At this stage, Tinder is completely backwards-compatible with Silex, so you should be able to instantiate or extend `Tinder\Application`, rather than `Silex\Application` and your existing functionality will still work.

Table Of Contents
-----------------

[](#table-of-contents)

- [Controllers as Services](#controllers-as-services)
- [Argument Injection](#argument-injection)
- [Template Rendering](#template-rendering)
- [Redirects](#redirects)
- [Event Listeners as Services](#event-listeners-as-services)
- [README Driven Development](#readme-driven-development)
- [Contributing](#contributing)
- [Copyright](#copyright)

Controllers as Services
-----------------------

[](#controllers-as-services)

**UPDATE** - This is now available as the [ServiceControllerServiceProvider](http://silex.sensiolabs.org/doc/providers/service_controller.html)the Silex Core, Tinder enables it by default.

Argument Injection
------------------

[](#argument-injection)

Tinder extends the default controller resolver to allow injecting HTTP GET or POST vars directly as controller arguments.

```
