PHPackages                             wolfiesites/yaml-to-wordpress - 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. wolfiesites/yaml-to-wordpress

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

wolfiesites/yaml-to-wordpress
=============================

Manage wordpress with yaml. Create settings pages and metaboxes for posts and terms. Add pages to admin menu. Register custom post types and taxonomies via config.yaml file. Use it in all ur plugins or themes. Unleash full power of wordpress quickly.

1.0.0(2y ago)011MITPHPPHP &gt;=7.4

Since Dec 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wolfiesites/yaml-to-wordpress)[ Packagist](https://packagist.org/packages/wolfiesites/yaml-to-wordpress)[ Docs](https://wolfiesites.com)[ RSS](/packages/wolfiesites-yaml-to-wordpress/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

yaml to wordpress
=================

[](#yaml-to-wordpress)

Manage your whole wordpress using single or multiple yaml files. You can:

- make settings pages
- register custom post types
- register custom taxonomies
- add metaboxes for: post\_meta, user\_meta, term\_meta, comment\_meta

tip: you can reinstall and use it in all ur seperate wordpress plugins and themes. requirement
-----------

[](#requirement)

- php &gt;= 7.4

how to install?
---------------

[](#how-to-install)

via composer package
--------------------

[](#via-composer-package)

1. **Go to your active theme directory or custom plugin and run:**

    ```
    composer require wolfiesites/yaml-to-wordpress
    ```
2. **Add this to ur main `plugin-file.php` or `functions.php`**

    ```
    // This if prevents an error if you use the same composer packages and versions
    if (!class_exists('ComposerAutoloaderInit228a8406a34a58cdfa0baa1563d5478e')) {
        require_once(__DIR__.'/vendor/autoload.php');
    }
    new Wolfiesites\YamlToWp(__DIR__ .'/config.yaml');
    ```
3. **Create `config.yaml`**

    ```
    touch config.yaml
    ```
4. **This is a good starter point (paste with command to `config.yaml`: (optional)**

    ```
    curl -sSL "https://raw.githubusercontent.com/wolfiesites/yaml-to-wordpress/main/examples/6.%20mix_of_examples/books__cpt_with_post_meta%2Btaxonomies/config.yaml" >> config.yaml
    ```

    - or manually here: [Example: config.yaml](https://github.com/wolfiesites/yaml-to-wordpress/blob/main/examples/6.%20mix_of_examples/books__cpt_with_post_meta%2Btaxonomies/config.yaml)

    All examples can be found here:

    - [All examples](https://github.com/wolfiesites/yaml-to-wordpress/tree/main/examples/6.%20mix_of_examples)
5. **Adjust and enjoy! :)**

want to load another config.yaml file?
--------------------------------------

[](#want-to-load-another-configyaml-file)

instead of first configuration u can paste below:

```
// this if, prevents from error if u use same composer packages and same versions
if (!class_exists('ComposerAutoloaderInit228a8406a34a58cdfa0baa1563d5478e')) {
  require_once(__DIR__.'/vendor/autoload.php');
}
$plugin_prefix_y2wp = new Wolfiesites\YamlToWp(__DIR__ .'/config.yaml');
$plugin_prefix_y2wp->add_config(__DIR__.'/another.yaml');
```

You can add as many config.yaml files as u like!

documentation:
--------------

[](#documentation)

special thanks to:
------------------

[](#special-thanks-to)

- [automatic and wordpress](https://wordpress.org)
- [htmlburger/carbon-fields](https://carbonfields.net/)
- [symfony/yaml](https://symfony.com/doc/current/components/yaml.html)

wihtout those three amazing packages it wouldn't be possible. support me:
-----------

[](#support-me)

This plugin has to be GPL cause of wordpress restrictions but PLEASE consider it as MIT.
If u build on top of it, IT is greatly advisable to mention authors of all the packages.
you may buy me a coffe soon here:

future features:
----------------

[](#future-features)

- registering sidebars
- registering templates (and for certain post types)
- registering gutenberg blocks and easier their development

###  Health Score

20

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05448bfe4c5604a871c54cb36df5baeccb2724ebdb648c6870dcdf563076744a?d=identicon)[wolfiesites](/maintainers/wolfiesites)

---

Top Contributors

[![wolfiesites](https://avatars.githubusercontent.com/u/27702943?v=4)](https://github.com/wolfiesites "wolfiesites (48 commits)")

---

Tags

plugincomposerwordpressyamlcustom-post-typetaxonomypost metaterm metauser meta

### Embed Badge

![Health badge](/badges/wolfiesites-yaml-to-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/wolfiesites-yaml-to-wordpress/health.svg)](https://phpackages.com/packages/wolfiesites-yaml-to-wordpress)
```

###  Alternatives

[sspooky13/yaml-standards

Standards for yaml files

11498.5k3](/packages/sspooky13-yaml-standards)

PHPackages © 2026

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