Skip to content

leandroschabarum/api-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApiModel

REST API based models

GitHub release (latest by date) Packagist Downloads GitHub issues GitHub

Extendable class for REST API based models that integrates common Laravel's Model class functionalities.


Usage

After running the artisan command to generate your ApiModel, it is necessary to add your endpoints to the respective API class that is generated along with the model.

This is the interface used to manipulate API resources over HTTP requests and is critical for the inner workings of your model. The ApiModel should behave similar to the Model class from Laravel.

Artisan Command

php artisan make:apimodel <name>

Status

Currently in development. Any bugs or feature requests can be opened under Issues (templates are available).

About

Extendable class for REST API based models - instead of the traditional Database based one - that integrates common Laravel's Model class functionalities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages