Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.72 KB

ROADMAP.md

File metadata and controls

43 lines (33 loc) · 1.72 KB

Roadmap

7.x

Fixes & Improvements

  • Clean up controllers
  • Reduce the main Repository class by using traits
  • Revisit the InteractWithRepositories trait and clean model queries accordingly
  • Clean up all tests using AssertableJson [x]
  • Make sure the include matches array key firstly, and secondly the relationship name
  • Improve performance for queries and relationships

Features

  • Adding support for custom ActionLogs (ie ActionLog::register("project marked active by user Auth::id()", $project->id))
  • Ensure $with loads relationship in show requests
  • Make sure any action isn't permitted unless the Model Policy exists
  • Having a helper method that allow to return data using the repository from a custom controller PostRepository::withModels(Post::query()->take(5)->get())->include('user')->serializeForShow()
  • Serialize nested relationships
  • Ability to make an endpoint public using a policy method
  • Load specific fields for nested relationships
  • Load nested for relationships with a nested level higher than 2
  • Shorter definition of Related fields

8.x

Fixes

  • Adding Larastan support
  • Drop Psalm
  • Adding PestPHP support
  • Adding support for PHPStan and configure the level 4
  • Request validations should be rewritten

Features

  • Adding a command that lists all Restify registered routes php artisan restify:routes
  • UI for Restify
  • Support for Laravel 10
  • Custom namespace and base directory for repositories
  • Deprecate show and use view as default policy method for show requests
  • Deprecate store and use create as default policy method for store requests so it's Laravel compatible