Product support

Get help in the plugin support forum.


  • Developer Tools
  • Utility

API Generator is plugin to build RESTful APIs. See the demo here https://youtu.be/WketEhx-xSQ


  • Auto generate routes
  • Auto Generate Controller (CRUD)
  • Support relationship restful API

Demo Video

These plugin(s) are required for the plugin:

form create data



  • API Name : Name of your API module
  • Base Endpoint : Base endpoint of your API, ex : api/v1/modulename
  • Short Description : Describe your API
  • Model : select model that will be created API
  • Custom Condition : Build customer response using JSON modeling

Custom Condition Example

    'fillable': 'id,title,content',
    'relation': [{
        'name': 'user',
        'fillable': 'id,first_name'
    }, {
        'name': 'categories',
        'fillable': 'id,name

* please replace single quote with quote

  • Found the plugin useful on 30 Aug, 2017

    Nice plugin, one question, what would be the best way to implement JWT or some other kind of authentication before API usage?

  • author

    Replied on 31 Aug, 2017

    I have never tried it, but you can try this one : https://luketowers.ca/blog/how-to-use-laravel-packages-in-october-cms-plugins/

    You can try to use JWT auth in API Generator. Thank you

  • Found the plugin useful on 28 Aug, 2017

    I installed and created an api endpoint, but always get this error:

    Class AhmadFatoni\ApiGenerator\Controllers\API\booksController does not exist /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php line 741

    I checked the generated source code there is such file: [email protected]:/data/webroot/october/src/plugins/ahmadfatoni/apigenerator$ ls controllers/API/ booksController.php readme.txt

  • author

    Replied on 28 Aug, 2017

    Please update your API Generator. Thanks

  • Found the plugin useful on 4 Jun, 2017

    how can you make it without Set-Cookie in the header? Thanks

  • author

    Replied on 6 Jun, 2017

    What do you mean "Set-Cookie in the header" ?

  • Found the plugin useful on 27 Mar, 2017

    Just started to use it. Nice plugin! Simple and effective. Thanks Ahmad. BTW, please check pull request I sent you with some fix for custom backend url.

  • author

    Replied on 29 Mar, 2017

    Thanks, I has been approved your pull request

  • Found the plugin useful on 31 Jan, 2017

    Thanks for very useful plugin. How to combine two models.

  • author

    Replied on 1 Feb, 2017

    Thanks, You can use "custom condition" feature. You can see an example in the documentation.

  • Found the plugin useful on 29 Jan, 2017

    does it support POST methods?

  • author

    Replied on 29 Jan, 2017

    Yes, its support post method

  • Found the plugin useful on 26 Dec, 2016

    Very useful plugin :*


fixing bug on PHP 7

Aug 28, 2017


add builder plugin on requirements

Apr 10, 2017


Created table ahmadfatoni_apigenerator_data

Nov 30, 2016


Initialize plugin.

Nov 30, 2016