PHPackages                             radmen/fatso - 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. radmen/fatso

AbandonedArchivedLibrary[Framework](/categories/framework)

radmen/fatso
============

Silex fat cousin

121PHP

Since Dec 12Pushed 13y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

What is Fatso?
==============

[](#what-is-fatso)

Silex is great micro-framework, but it's sometimes just *too* simple. Fatso is his fat cousin.
It provides very simple, basic classes and automates few things.

Fatso can:

- detect environment based on host name
- load config files (plain PHP arrays, or YAML) and merge thme with their env variants
- perform simple bootstrap of Silex providers
- load routes from config file

Fatso is ugly.

Fast class overview
===================

[](#fast-class-overview)

TL;DR - goto: [demo](#fatso-skeleton)

Config
------

[](#config)

Config loads files from `$app['config.dir']` path.
It also uses env name to merge basic config with it's env variant.

Config can load PHP, or YML files.

Example:

*config/foo.yml*:

```
foo:
	name: bar
	env: null
```

*config/foo\_dev.php*:

```
