CyberKingYash
11 months ago

Add a global method to all eloquent models.

Posted 11 months ago by CyberKingYash

I want to add a method to all eloquent model without adding the method to models manually. I don't want to use any traits.

Thanks for help.

Please sign in or create an account to participate in this conversation.