October CMS plugin to build RESTful APIs.
- Auto generate routes
- Auto Generate Controller (CRUD)
- Support relationship restful API
composer require AhmadFatoni.ApiGenerator
- 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
{
'fillable': 'id,title,content',
'relation': [{
'name': 'user',
'fillable': 'id,first_name'
}, {
'name': 'categories',
'fillable': 'id,name
}]
}
- please replace single quote with quote
Pull Requests accepted.
You can communicate with me using linkedin
The OctoberCMS platform is open-sourced software licensed under the MIT license.