WordPress API build with Symfony 3

Open source project to have a more powerful and secure API than the basic API in WordPress. The idea is to plug this project on WordPress data.

This project has as its skeleton: API Platform

Requirements

  • PHP 7

How use ?

  • composer install
  • Launch server with : php bin/console server:run

Configures your database

  • Modify all prefix table entities in src/WordPressBundle/Entity

    Example : @ORM\Table(name="wp_commentmeta" by @ORM\Table(name="MYPREFIX_commentmeta"

  • Build database : php bin/console doctrine:schema:update --force

Running tests

Running tests on an other database !

  • Build fixtures : php bin/console doctrine:fixtures:load
  • Execute bin/behat