for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Models\Eloquent\Tool;
class Socialite
{
protected static $config=['github','aauth'];
public static function getAvailable(){
$ret=[];
foreach(self::$config as $conf){
if(config("services.$conf.enable")){
$ret[]=$conf;
}
return $ret;