Skip to content

Releases: BinarCode/laravel-restify

1.1.1

09 Jan 16:19
b05b320
Compare
Choose a tag to compare
  • Allow dependency injection in the Repository class

1.1.0

06 Jan 19:04
e27d7f6
Compare
Choose a tag to compare
  • Added core Repository class
  • Added Field as an attribute
  • Added validations
  • Added stubs
  • Improved RestController
  • Using Laravel Resource API for a better response generator
  • Expose all CRUD methods from the repository for the developer extension
  • Custom middleware per resource
  • Custom prefix per resource

1.0.0

23 Dec 17:57
7b4ceac
Compare
Choose a tag to compare

Added

  • RestController - abstract controller to be extended by your API controllers
  • RestResponse - a convenient response handler/generator
  • RestifyHandler - a global exception handler which transforms many types of generic exceptions into a standard repose with appropriate code for a consistent API
  • AuthService - full support for JWT authentication based on Laravel Passport client token
  • Passport installation checker command: restify:check-passport
  • Passportable - contract used for implementation by the authenticated entity
  • RestifySearchable - contract used for search support by the API (should be used along with InteractWithSearch)
  • A bunch of generic exceptions which may be used into your project
  • Unit and Integration tests