shyammakwana.me
Laravel - How to override vendor class file? - Shyam Makwana
Easily override vendor classes using composer.json in Laravel or any other PHP framework.