2017 © Pedro PelĂĄez
 

library tacowordpress

WordPress custom post types that feel like CRUD models

image

tacowordpress/tacowordpress

WordPress custom post types that feel like CRUD models

  • Friday, June 16, 2017
  • by brianhaveri
  • Repository
  • 5 Watchers
  • 16 Stars
  • 1,219 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 13 Open issues
  • 11 Versions
  • 2 % Grown

The README.md

Taco

WordPress custom post types that feel like CRUD models, (*1)

See the wiki for complete documentation., (*2)

Setup

  1. Add Taco and Util to composer.json, (*3)

    {
    "require": {
      "tacowordpress/tacowordpress": "dev-master"
    }
    }
    
  2. Include Composer’s autoload in wp-config.php, (*4)

    // Composer autoloader
    // Add to the top of wp-config.php
    require_once realpath(__DIR__.'/../vendor/autoload.php');
    
  3. Initialize Taco in functions.php, (*5)

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

Usage

Once you have Taco setup, you can start creating your custom post types. Follow the getting started instructions for a simple example., (*6)

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:, (*7)

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

If you want to login to the WordPress admin UI for the test suite, you need to:, (*8)

  1. Create a hosts entry:, (*9)

    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., (*10)

    <VirtualHost *:80>
      DocumentRoot "/path/to/taco/tests/lib/wordpress"
      ServerName taco-phpunit-test.vera
      <Directory /path/to/taco/tests/lib/wordpress>
        AllowOverride All
        Order allow,deny
        Allow from all
      </Directory>
    </VirtualHost>
  3. Visit http://taco-phpunit-test.vera/wp-admin/, (*11)

    u: admin
    p: admin

Changelog

v1.0

  • Updating to work with PHP 7

v0.9

  • Tagging last version of Taco to run on PHP 5

The Versions

16/06 2017

dev-master

9999999-dev https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

15/06 2017

dev-static-methods

dev-static-methods https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

05/06 2017

1.0

1.0.0.0 https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

30/12 2016

dev-php7

dev-php7 https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

14/12 2016

dev-namespace-support

dev-namespace-support https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

29/11 2016

dev-prevent-duplicate-loading

dev-prevent-duplicate-loading https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

08/02 2016

dev-cache-fields

dev-cache-fields https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

18/09 2015

dev-fallback-wysiwyg

dev-fallback-wysiwyg https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

17/09 2015

dev-uses-frontend-loader

dev-uses-frontend-loader https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

03/02 2015

dev-term-static-methods

dev-term-static-methods https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms

01/02 2015

dev-testhtml

dev-testhtml https://tacowordpress.github.io/tacowordpress/

WordPress custom post types that feel like CRUD models

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

wordpress custom post type taco tacowordpress custom terms