laravelista / comments

Native comments for your Laravel application.
MIT License
744 stars 142 forks source link

Extract logic to CommentService in order to allow for creating custom ApiCommentController #176

Closed maartenderie closed 2 years ago

maartenderie commented 2 years ago

I've ran into this when using laravelista/comments in my own project; It doesn't work great when using it for building an API.

By extract most of the work to a Service-class, I aim to allow for easier usage when integrating on an api. Opposed to when using this lib for web/blade.

Let me know what you think!

mabasic commented 2 years ago

This makes sense. Thank you for contributing!