Acorn Provider using Sage 10

If you google “wp acorn make:provider” there’s almost none results.

Can someone make a detailed explanation on how to make a Provider? Starting with a clean installation of Sage 10 and Acorn as a Plugin. Without using Bedrock.

wp acorn make:provider TestProvider

on public function boot() or register() nothing happens.

Adding on setup.php after_setup_theme the line
\Roots\app()->register(\App\Providers\TestProvider::class); is deprecated. But works. I don’t think it’s the right way.

Publish the Acorn configs and add your provider to config/app.php (same as Laravel)