From time to time I have to develop custom WordPress plugins and because I’m used to modern PHP (Laravel/Symfony), I created my own plugin scaffolding that has a service container with dependency injection, an internal (modern style) router, and common non-WordPress database drivers. It works well for me and lets me use my common workflow even in WordPress.
What I’m looking for is a proper WordPress API abstraction that is OOP based. So instead of calling all those special functions all over the place, I’d like to use a class that provides access to all the different WordPress functions. The goal for me is to inject the WordPress dependency as needed and never call a WP-Core function directly. Does anyone here know about a composer package that provides an OOP interface to the WordPress API?