I am using a composer's package available at packagist that is https://packagist.org/packages/phpmailer/phpmailer . so my question is that how can we use such composer based packages in Laravel which don't have service providers like Laravel packages have?
I know we can use require autoload file of this package but isn't it bad approach to use require for one package when everything else is autloaded using composer autoload mechanism ? or if I need to conver into Laravel's package first then what are basic steps to do that? Is there any guide available for that purpose?