PHPackages                             tkj/posttype - 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. tkj/posttype

ActiveLibrary

tkj/posttype
============

1.0.1(12y ago)016MITPHPPHP &gt;=5.3.0

Since May 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/tkjaergaard/Wordpress-Posttype)[ Packagist](https://packagist.org/packages/tkj/posttype)[ RSS](/packages/tkj-posttype/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Wordpress Posttype
==================

[](#wordpress-posttype)

Easy API to create Wordpress posttypes.

Installation
------------

[](#installation)

To install this package you have a couple of options.

#### Install through composer

[](#install-through-composer)

```
require {
    "tkj/posttype": "1.*"
}

```

#### Manual install through git

[](#manual-install-through-git)

Clone the git repository into your prefered destination in your theme directory and require the `Posttype.php` in your `functions.php`

```
git clone git@github.com:tkjaergaard/Wordpress-Posttype.git

```

Usage
-----

[](#usage)

The API of this package is quite simple. Simply create a new instance of `Tkj\Posttype` or use the facade `Tkj\Posttype::make()`

```
