You can use class_exists to check if a model exists. You can inject the class instance or name into the controller.
juanadamuz liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community