set api instead local tables on streams - modules
Created 6 years ago by cmanriqueHi everybody, I am trying to change the CRUD generated by module/streams with external api instead local database table on my stream - modules, what is the best practice to do it? changing the stream controller at Http/Admin/StreamController.php on every method (get,create,edit.delete ) or through php artisan commands? am beginner in PyroCMS so am sorry my lack information. thanks
For the most part - with classes like builders in packages/core addons you can bind them in a service provider with your own class.
The streams module has some configuration in place where you can publish the addon and define tables / forms for to be used for each stream if that helps you with anything down the road.