PHPackages                             kostyandrew/aspect-post - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kostyandrew/aspect-post

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

kostyandrew/aspect-post
=======================

PHP Class for WordPress which help create type of post, taxonomies and metabox

1.0.0(1y ago)122MITPHPPHP &gt;=7.4

Since Mar 10Pushed 1y agoCompare

[ Source](https://github.com/kostyandrew/aspect-post)[ Packagist](https://packagist.org/packages/kostyandrew/aspect-post)[ RSS](/packages/kostyandrew-aspect-post/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

ASPECT-Post
===========

[](#aspect-post)

PHP Class for WordPress which help create type of post, taxonomies and metabox

You can use standard arguments and labels setting WordPress using setArgument and setLabel methods

### Creating post type:

[](#creating-post-type)

```
use \Aspect\Type;
$slides = new Type('slide');
$slides
  ->addSupport('thumbnail') // add support thumbnail
  ->setArgument('public', true) // public argument
  ->setArgument('show_in_nav_menus', false); // hide in creating menu
```

### Creating taxonomy:

[](#creating-taxonomy)

```
use \Aspect\Taxonomy;
$slides_type = new Taxonomy('type');
$slides_type
  ->attachTo($slides); // post type where will be created taxonomy
```

### Creating metabox:

[](#creating-metabox)

```
use \Aspect\Box;
$slides_settings = new Box('slide setting');
$slides_settings
  ->attachTo($slides); // post type
```

### Creating metabox input:

[](#creating-metabox-input)

```
use \Aspect\Input;
$text_color = new Input('text color');
$text_color
  ->attachTo($slides_settings) // metabox
  ->attach('white', 'black') // values for select
  ->setType('select') // type of input
  ->setArgument('default', 'black'); // default
```

### Get value of metabox field:

[](#get-value-of-metabox-field)

```
$text_color = Input::get('text color')->getValue($slide_id, 'attr', Box::get('slide setting'));
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

480d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3501133?v=4)[AK](/maintainers/kostyandrew)[@kostyandrew](https://github.com/kostyandrew)

---

Top Contributors

[![kostyandrew](https://avatars.githubusercontent.com/u/3501133?v=4)](https://github.com/kostyandrew "kostyandrew (55 commits)")

### Embed Badge

![Health badge](/badges/kostyandrew-aspect-post/health.svg)

```
[![Health](https://phpackages.com/badges/kostyandrew-aspect-post/health.svg)](https://phpackages.com/packages/kostyandrew-aspect-post)
```

###  Alternatives

[nfephp-org/sped-esocial

e-Social library

18537.5k](/packages/nfephp-org-sped-esocial)[netgen/information-collection-bundle

Information collection alike feature for Ibexa Platform

1945.8k11](/packages/netgen-information-collection-bundle)

PHPackages © 2026

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