PHPackages                             ienaga/phalcon-config-loader-for-yaml - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ienaga/phalcon-config-loader-for-yaml

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ienaga/phalcon-config-loader-for-yaml
=====================================

Phalcon Config Loarder for Yaml

2.0.0(7y ago)25.5k11MITPHP

Since Aug 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ienaga/PhalconConfig)[ Packagist](https://packagist.org/packages/ienaga/phalcon-config-loader-for-yaml)[ Docs](https://github.com/ienaga/PhalconConfig)[ RSS](/packages/ienaga-phalcon-config-loader-for-yaml/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Phalcon Config Loarder for Yaml
===============================

[](#phalcon-config-loarder-for-yaml)

[![Build Status](https://camo.githubusercontent.com/bc54d3547df831c3ca0f654e535846dee868d0543396ddbe52752aff3d3c2ca2/68747470733a2f2f7472617669732d63692e6f72672f69656e6167612f5068616c636f6e436f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ienaga/PhalconConfig)

[![Latest Stable Version](https://camo.githubusercontent.com/4f6922cdcc0b91174db4eef5aab1a748a7c2a100352c3e1150733ae8f06bd4ed/68747470733a2f2f706f7365722e707567782e6f72672f69656e6167612f7068616c636f6e2d636f6e6669672d6c6f616465722d666f722d79616d6c2f762f737461626c65)](https://packagist.org/packages/ienaga/phalcon-config-loader-for-yaml) [![Total Downloads](https://camo.githubusercontent.com/14afd27fab555603a345ccf432532458ac1360389a95e6e1c5dba345cc9331db/68747470733a2f2f706f7365722e707567782e6f72672f69656e6167612f7068616c636f6e2d636f6e6669672d6c6f616465722d666f722d79616d6c2f646f776e6c6f616473)](https://packagist.org/packages/ienaga/phalcon-config-loader-for-yaml) [![Latest Unstable Version](https://camo.githubusercontent.com/427fa447dc7acc2be7f379bdd02b90c517ada942d8f35d328b5ece1bae768054/68747470733a2f2f706f7365722e707567782e6f72672f69656e6167612f7068616c636f6e2d636f6e6669672d6c6f616465722d666f722d79616d6c2f762f756e737461626c65)](https://packagist.org/packages/ienaga/phalcon-config-loader-for-yaml) [![License](https://camo.githubusercontent.com/bc6d7fe6cfc88dcf336ff904c2d368d36f1d1e2bc1d6777e9e246196d03351c6/68747470733a2f2f706f7365722e707567782e6f72672f69656e6167612f7068616c636f6e2d636f6e6669672d6c6f616465722d666f722d79616d6c2f6c6963656e7365)](https://packagist.org/packages/ienaga/phalcon-config-loader-for-yaml)

Loads all the `yml` in the directory of the `app/config`.

Version
-------

[](#version)

```
PHP: 7.0.x, 7.1.x, 7.2.x
Phalcon: 3.x

```

Composer
--------

[](#composer)

```
{
    "require": {
       "ienaga/phalcon-config-loader-for-yaml": "2.*"
    }
}
```

BASE\_PATH and APP\_PATH
------------------------

[](#base_path-and-app_path)

```
all:
  application:
    appDir:         !app_path  /
    controllersDir: !app_path  /controllers/
    modelsDir:      !app_path  /models/
    migrationsDir:  !app_path  /migrations/
    viewsDir:       !app_path  /views/
    pluginsDir:     !app_path  /plugins/
    libraryDir:     !app_path  /library/
    cacheDir:       !base_path /cache/
    baseUri:        /project_name/

dev:
  image: "https://dev.example.com"

stg:
  image: "https://stgexample.com"

prd:
  image: "https://example.com"

test:
  image: "https://test.example.com"

local:
  image: "https://local.example.com"
```

app/config/config.php
---------------------

[](#appconfigconfigphp)

```
$loader = new Phalcon\Config\Adapter\Yaml\Loader();
return $loader
    ->setIgnore(["routing"]) // ignore yml names
    ->setEnvironment("stg") // default dev
    ->setBasePath(realpath(dirname(__FILE__) . "/../.."))
    ->load();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~600 days

Total

2

Last Release

2591d ago

Major Versions

1.0.0 → 2.0.02019-04-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd28b76fa23613f35d60d5e08e858a6ccb4a548ca199f750b1cf18dc98087226?d=identicon)[ienaga](/maintainers/ienaga)

---

Top Contributors

[![thomas-sonicmoov](https://avatars.githubusercontent.com/u/84434672?v=4)](https://github.com/thomas-sonicmoov "thomas-sonicmoov (53 commits)")[![ienaga](https://avatars.githubusercontent.com/u/4123454?v=4)](https://github.com/ienaga "ienaga (3 commits)")

---

Tags

phalconphpyamlconfigyamlphalcon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ienaga-phalcon-config-loader-for-yaml/health.svg)

```
[![Health](https://phpackages.com/badges/ienaga-phalcon-config-loader-for-yaml/health.svg)](https://phpackages.com/packages/ienaga-phalcon-config-loader-for-yaml)
```

###  Alternatives

[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[pragmarx/yaml

Load your Laravel config files using yaml

1152.8M29](/packages/pragmarx-yaml)[thewunder/conphigure

Framework Agnostic Configuration Library

3115.9k](/packages/thewunder-conphigure)[northwoods/config

Simple configuration loader

1516.0k](/packages/northwoods-config)

PHPackages © 2026

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