PHPackages                             tacowordpress/tacowordpress - 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. tacowordpress/tacowordpress

ActiveLibrary

tacowordpress/tacowordpress
===========================

WordPress custom post types that feel like CRUD models

1.0(8y ago)232.2k↓100%8[12 issues](https://github.com/tacowordpress/tacowordpress/issues)[1 PRs](https://github.com/tacowordpress/tacowordpress/pulls)MITPHPPHP &gt;=7.1.0CI failing

Since Feb 1Pushed 7y ago4 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (11)Used By (0)

Taco
====

[](#taco)

WordPress custom post types that feel like CRUD models

[See the wiki for complete documentation.](https://github.com/tacowordpress/tacowordpress/wiki)

Setup
-----

[](#setup)

1. Add Taco and [Util](https://github.com/tacowordpress/util) to `composer.json`

```
{
  "require": {
    "tacowordpress/tacowordpress": "dev-master"
  }
}
```

2. Include Composer’s autoload in `wp-config.php`

```
// Composer autoloader
// Add to the top of wp-config.php
require_once realpath(__DIR__.'/../vendor/autoload.php');
```

3. Initialize Taco in `functions.php`

```
// Initialize Taco
\Taco\Loader::init();
```

Usage
-----

[](#usage)

Once you have Taco setup, you can start creating your custom post types. Follow the [getting started](https://github.com/tacowordpress/tacowordpress/wiki/1.1-Getting-started) instructions for a simple example.

PHPUnit tests
-------------

[](#phpunit-tests)

If you want to contribute, you should create corresponding PHPUnit tests for your functionality or fix. You will need to create a database and configure db-config.php with your database credentials. Then pull down the latest Composer updates which includes PHPUnit, and run the PHPUnit tests:

```
$ composer update
$ cd tests
$ ../vendor/bin/phpunit

```

If you want to login to the WordPress admin UI for the test suite, you need to:

1. Create a hosts entry:

    ```
     127.0.0.1 taco-phpunit-test.vera

    ```
2. Create an Apache vhosts entry, modifying the path as necessary. If you are having trouble, make sure that your vhost file is being loaded by Apache.

    ```

       DocumentRoot "/path/to/taco/tests/lib/wordpress"
       ServerName taco-phpunit-test.vera

         AllowOverride All
         Order allow,deny
         Allow from all

    ```
3. Visit

    ```
     u: admin
     p: admin

    ```

Changelog
=========

[](#changelog)

### v1.0

[](#v10)

- Updating to work with PHP 7

### v0.9

[](#v09)

- Tagging last version of Taco to run on PHP 5

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

3263d ago

### Community

Maintainers

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

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

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

---

Top Contributors

[![jasand-pereza](https://avatars.githubusercontent.com/u/1744041?v=4)](https://github.com/jasand-pereza "jasand-pereza (43 commits)")[![a-dg](https://avatars.githubusercontent.com/u/2132519?v=4)](https://github.com/a-dg "a-dg (38 commits)")[![brianhaveri](https://avatars.githubusercontent.com/u/201194?v=4)](https://github.com/brianhaveri "brianhaveri (18 commits)")[![bcueto1](https://avatars.githubusercontent.com/u/18249720?v=4)](https://github.com/bcueto1 "bcueto1 (14 commits)")[![a-d-g](https://avatars.githubusercontent.com/u/9513371?v=4)](https://github.com/a-d-g "a-d-g (2 commits)")[![phpfour](https://avatars.githubusercontent.com/u/171715?v=4)](https://github.com/phpfour "phpfour (1 commits)")

---

Tags

wordpresscustom-post-typetacocustom termstacowordpress

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tacowordpress-tacowordpress/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/packages/szepeviktor-phpstan-wordpress)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)

PHPackages © 2026

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