PHPackages                             joppli/framework - 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. joppli/framework

ActiveLibrary[Framework](/categories/framework)

joppli/framework
================

Joppli framework

08PHP

Since Mar 23Pushed 8y ago2 watchersCompare

[ Source](https://github.com/joppli/framework.php)[ Packagist](https://packagist.org/packages/joppli/framework)[ RSS](/packages/joppli-framework/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Joppli v.0.1
============

[](#joppli--v01)

### PHP Framework

[](#php-framework)

License: [MIT](https://opensource.org/licenses/MIT).

---

This documentation is very basic, the framework is developed by me to used by my self. If an interest is shown by others I will extend the documentation. Show interest by dropping me a line on twitter [@ErikLandvall](https://twitter.com/ErikLandvall) or simply star/follow/fork the project.

Specific characteristics of the framework: the possibility to use a series of dispatchers on each request.

Skeleton
--------

[](#skeleton)

```
root
├─ config
│  └─ config.yml
├─ public
│  └─ index.php
├─ src
|  └─ HelloWorld
|     └─ HelloWorldDispatcher.php
└─ composer.json

```

### config/config.yml

[](#configconfigyml)

```
---
route:
- deliverer: Joppli\Deliverer\JsonDeliverer
- dispatchers:
  - HelloWorld\HelloWorldDispatcher
  policy:
  - validator: PathCompareValidator
    options:
      path: /
  - validator: MethodValidator
      options:
        method: get
...
```

The config file can be of what ever flavor you desire as long as you convert it to a php array in the end. I prefer [YAML](http://yaml.org/).

The config files branches are case insensitive, the leafs are not.

### public/index.php

[](#publicindexphp)

```
