2017 © Pedro Peláez
 

library api-generator-bundle

Generates REST Api from Doctrine Entities

image

lube/api-generator-bundle

Generates REST Api from Doctrine Entities

  • Friday, February 10, 2017
  • by Lube
  • Repository
  • 1 Watchers
  • 3 Stars
  • 333 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 13 Versions
  • 3 % Grown

The README.md

ApiGeneratorBundle

WARNING! Bundle now in development, not for use in production environment!, (*1)

Latest Stable Version Total Downloads License, (*2)

The ApiGeneratorBundle bundle allows you to generate JSON CRUD APIs for your doctrine entities, with json schemas derived from Doctrine Metadata, Annotations and the Symfony Validator component., (*3)

Documentation

For documentation, see:, (*4)

Resources/doc/

Read the documentation, (*5)

Installation

Install through composer:, (*6)

First step: require bundle, (*7)

composer require lube/api-generator-bundle

Second step: enable bundle, (*8)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new JMS\AopBundle\JMSAopBundle(),
        new JMS\SerializerBundle\JMSSerializerBundle(),
        new JMS\DiExtraBundle\JMSDiExtraBundle($this),

        new Knp\JsonSchemaBundle\KnpJsonSchemaBundle(),
        new HadesArchitect\JsonSchemaBundle\JsonSchemaBundle(),

        new Nelmio\ApiDocBundle\NelmioApiDocBundle(),
        new Lube\GeneratorBundle\LubeGeneratorBundle(),
    );
}

Usage

$ app/console api:generate:json
$ app/console api:generate

API endpoints are now available, check the generated controllers and test the endpoints!, (*9)

Contributing

See CONTRIBUTING file., (*10)

Credits

The design is heavily inspired by the Doctrine CRUD Generator., (*11)

This bundle relies on JMSSerializer, JMSDiExtraBundle, NelmioApiDocBundle, JsonSchemaBundle., (*12)

License

This bundle is released under the MIT license. See the complete license in the bundle:, (*13)

Resources/meta/LICENSE

The Versions

10/02 2017

dev-master

9999999-dev https://github.com/Lube/api_generator

Generates REST Api from Doctrine Entities

  Sources   Download

MIT

The Requires

 

by Sebastian Luberriaga

api json rest crud doctrine abm

07/12 2016
17/11 2016
11/10 2016
11/10 2016
11/10 2016
07/07 2016
03/07 2016
03/07 2016
03/07 2016
03/07 2016
03/07 2016
03/07 2016