laravel-restify

The fastest way to make a powerful JSON:API compatible Rest API with Laravel.

MIT License

Downloads
321.1K
Stars
600
Committers
20

Bot releases are hidden (Show)

laravel-restify - 3.0.1

Published by binaryk over 4 years ago

Fixed

  • Setup command UserRepository file
laravel-restify - 3.0.0

Published by binaryk over 4 years ago

Added

  • Global Search
  • Search configuration at the repository level
  • Match attribute
  • Custom filters
  • Related entities CRUD
  • Query performance improvements

Removed

  • Support for Laravel 6 (because laravel/ui requires Laravel 7.x)
laravel-restify - 2.4.0

Published by binaryk over 4 years ago

Added

  • Support for Laravel 7.x

  • Wrap routes with the default Restify middlewares:
    Before:

    public static function routes(Router $router, $options, $wrap = false)
    {
        $options['namespace'] = 'Binaryk\LaravelRestify\Tests';

        $router->group($options, function ($router) {
            $router->get('custom-namespace', 'HandleController@sayHello')->name('namespace.route');
        });
    }

After:

    public static function routes(Router $router, $options = [], $wrap = true)
    {
        $router->get('default-options', '\\'.HandleController::class.'@sayHello')->name('no.group.default.options');
    }
  • Integration tests for updating
  • Integration tests for deleting
  • Unit test for custom exception handler injector
laravel-restify - 2.3.0

Published by binaryk over 4 years ago

Added

  • Allow instance of a repository with undefined model
  • Route clear when restify:refresh command
laravel-restify - 2.2.0

Published by binaryk over 4 years ago

Added

  • Added restify:refresh command
laravel-restify - 2.1.2

Published by binaryk over 4 years ago

Added

  • Authorization policy to showEvery entity for the index call
laravel-restify - 2.1.1

Published by binaryk over 4 years ago

Added

  • Injecting Handler only when restify request (thought the RestifyInjector)
laravel-restify - 2.1.0

Published by binaryk over 4 years ago

Added

  • Support for Laravel Airlock
  • Bug fixing
laravel-restify - 2.0.2

Published by binaryk over 4 years ago

Fixes

  • Patch fix for Throwable in dump
laravel-restify - 2.0.1

Published by binaryk over 4 years ago

Added

  • dumpLocal and dump methods in the RestResponse
  • Added showCallback on Field
  • hideFromDetail and hideFromIndex on Field
  • Replace create with store policy.
laravel-restify - 2.0.0

Published by binaryk almost 5 years ago

Deletions

  • Removed Eloquent API Resource from dependencies since this was a blocker for future development
  • Removed unused authorization
  • Changed naming convention from view to show as it's a REST convention

Additions

  • Ability to customize your own routes (with custom group attributes)
  • Added show policy
  • Added model RestResponse helper
  • Fixed show response (according to JSON:API structure)
laravel-restify - 1.1..4

Published by binaryk almost 5 years ago

Added

  • Custom routes method, for adding extra route definitions
  • Custom prefix for routes
  • Custom middleware for routes
  • Custom namespace for routes
laravel-restify -

Published by binaryk almost 5 years ago

Added

  • Aligning the response from repositories and controller (meta links naming)
  • Adding exceptionHandler Restify interceptor
  • Making RestResponse a Responsable class
laravel-restify - 1.1.2

Published by binaryk almost 5 years ago

  • Expose CRUD methods
  • Resolve relatable entities as relationships
  • Dynamically load exception handler
  • Setup commands
laravel-restify - 1.1.1

Published by binaryk almost 5 years ago

  • Allow dependency injection in the Repository class
laravel-restify - 1.1.0

Published by binaryk almost 5 years ago

  • 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
laravel-restify - 1.0.0

Published by binaryk almost 5 years ago

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
Package Rankings
Top 6.09% on Packagist.org
Related Projects